Repository navigation
docs: add explicit skill discovery routing map - #19
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthroughAdds a "Skill Discovery Map" section to the adaptive-routing directive mapping situations/intents to workflow paths and canonical ChangesSkill Discovery Map Routing
Sequence Diagram(s)sequenceDiagram
participant TestRunner
participant AdaptiveRoutingDirective
participant Agent
participant SkillLoader
participant SkillFiles
TestRunner->>Agent: failing-test prompt (refactor-induced test failure)
Agent->>AdaptiveRoutingDirective: request routing (situation/intent)
AdaptiveRoutingDirective->>Agent: selected workflow path(s) (e.g., Debugging, Boundary)
Agent->>SkillLoader: load skills for selected paths (canonical `skills/**/SKILL.md` list)
SkillLoader->>SkillFiles: fetch `skills/systematic-debugging/SKILL.md`, `skills/architecture-boundary-reviewer/SKILL.md`, ...
SkillLoader->>Agent: loaded skill modules
Agent->>TestRunner: report routing results (named canonical skill paths)
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested reviewers
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Pull request overview
Adds an explicit “Skill Discovery Map” to the adaptive routing directive and a companion eval scenario to validate that routing selects canonical specialist skill paths based on explicit situation/intent matches (rather than inference).
Changes:
- Document a Skill Discovery Map in
directives/adaptive-routing.mdto map common situations to required skill files. - Add a new eval scenario (
skill-discovery-map-routing) to exercise Debugging + Boundary skill selection behavior.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| evals/scenarios/skill-discovery-map-routing.md | Adds an eval scenario asserting Debugging + Boundary skill selection and canonical skill-path disclosure. |
| directives/adaptive-routing.md | Introduces a Skill Discovery Map table mapping situations/intents to required specialist skill files. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| | Vague feature idea, product request, or unclear requirement needs a PRD/spec | Exploration | `skills/product-requirements-writer/SKILL.md` | | ||
| | PRD, issue, spec, or acceptance criteria needs implementation tasks | Exploration | `skills/implementation-task-planner/SKILL.md` | |
| | Reviewing a PR, branch, diff, or local changes | Review | `skills/code-reviewer/SKILL.md` | | ||
| | Writing, changing, or reviewing tests/eval scenarios | Full / Review | `skills/test-reviewer/SKILL.md` | | ||
| | Implementation must be checked against a written spec/PRD | Full / Review | `skills/spec-reviewer/SKILL.md` | | ||
| | Imports, exports, package boundaries, folders, services, shared utilities, or dependency direction change | Boundary | `skills/architecture-boundary-reviewer/SKILL.md` | |
| | Implementation must be checked against a written spec/PRD | Full / Review | `skills/spec-reviewer/SKILL.md` | | ||
| | Imports, exports, package boundaries, folders, services, shared utilities, or dependency direction change | Boundary | `skills/architecture-boundary-reviewer/SKILL.md` | | ||
| | TypeScript/JavaScript refactor, cleanup, shared utilities, dead-code, duplication, complexity, or static-analysis health concern | Full / Review | `skills/codebase-health-reviewer/SKILL.md` | | ||
| | Persistence, external services, async jobs, auth/security/privacy, infra/config/deploy, critical user paths, performance/scale, or cross-service compatibility | Full / Review | `skills/production-readiness-reviewer/SKILL.md` | |
Review feedback addressedReviewed Copilot's 3 inline comments and found all were valid consistency issues in the new Skill Discovery Map:
Verification
|
Summary
directives/adaptive-routing.mdVerification
npm run checkgit diff --checknpm run eval:scenario -- --print-only skill-discovery-map-routingSummary by CodeRabbit