Skip to content

Add repo-rules-agent integration to /unblock skill - #11

Draft
cancelself wants to merge 1 commit into
mainfrom
feat/repo-rules-integration
Draft

Add repo-rules-agent integration to /unblock skill#11
cancelself wants to merge 1 commit into
mainfrom
feat/repo-rules-integration

Conversation

@cancelself

Copy link
Copy Markdown

Summary

Integrates repo-rules-agent into the /unblock skill so that rules extracted from CLAUDE.md, AGENTS.md, copilot-instructions.md, etc. are used during planning and code review.

Changes

Phase 1 (Hydrate):

  • Fetch rules relevant to the task via repo-rules-agent rerank before planning
  • Build a rules index if none exists
  • Add "Repo rules" to the "Collect and carry forward" checklist

Phase 6 (Review Code):

  • Re-rerank rules against generated code summary to catch violations the plan missed
  • Add "Repo rule violations" to the review checklist

Why

Without this, the /unblock skill gathers org context (PRs, Slack, Jira) but ignores the repo's own coding rules. Adding rules to both the planning and review gates catches rule violations early — before they become code review comments.

Test plan

  • Used the updated skill on itself to validate the workflow end-to-end
  • repo-rules-agent rerank CLI tested against unblocked repo index (116 rules → 10 relevant)

🤖 Generated with Claude Code

Adds rules-aware planning and code review to the Unblocked dev workflow:

- Phase 1 (Hydrate): fetch repo rules via `repo-rules-agent rerank` to get
  concrete coding constraints before planning; build index if none exists
- Phase 6 (Review Code): re-rerank rules against generated code summary to
  catch rule violations before full code review cycle

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant