Add repo-rules-agent integration to /unblock skill - #11
Draft
cancelself wants to merge 1 commit into
Draft
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Integrates
repo-rules-agentinto the/unblockskill so that rules extracted from CLAUDE.md, AGENTS.md, copilot-instructions.md, etc. are used during planning and code review.Changes
Phase 1 (Hydrate):
repo-rules-agent rerankbefore planningPhase 6 (Review Code):
Why
Without this, the
/unblockskill 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
repo-rules-agent rerankCLI tested against unblocked repo index (116 rules → 10 relevant)🤖 Generated with Claude Code