Remove commands/ indirection layer, route directly through SKILL.md#13
Remove commands/ indirection layer, route directly through SKILL.md#13
Conversation
The commands/ directories contained thin wrapper files that added a needless indirection hop — each one just said "read the controller and dispatch phase X," which SKILL.md and the controller already handle. This removes all 24 command files across 4 workflows and updates SKILL.md to be the single entry point for all platforms (Cursor, Claude Code, Gemini CLI). Routing now goes SKILL.md → controller → skill, or SKILL.md → skill for workflows without a controller. Key changes: - Delete bugfix/commands/ (11), docs-writer/commands/ (6), skill-reviewer/commands/ (1), triage/commands/ (6) - Update SKILL.md routing: bugfix special-cases /unattended before loading controller; skill-reviewer folds guidelines loading into numbered steps; docs-writer adds "Activated by phases" to frontmatter - Update all READMEs, CONTRIBUTING.md, and INSTALL.md to remove commands/ references and document the direct routing model - Standardize frontmatter to "Activated by phases" across all workflows - Update Cursor usage examples to the AI-agnostic @workflow pattern Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
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 (36)
💤 Files with no reviewable changes (24)
WalkthroughThis pull request removes the thin-wrapper Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes 🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 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 |
amir-yogev-gh
left a comment
There was a problem hiding this comment.
Needs further discussion
Summary
commands/wrapper files across 4 workflows (bugfix, docs-writer, skill-reviewer, triage) — they added a needless indirection hop that duplicated routing logic already in SKILL.md and the controller/unattendedrouting to bypass the controller (it's a separate orchestrator), fold skill-reviewer guidelines loading into numbered steps, and standardize frontmatter to "Activated by phases"Test plan
@bugfixin Cursor, invoke/assess,/diagnose,/unattended— confirm SKILL.md routes correctly@docs-writerin Cursor, invoke/gather— confirm controller dispatches@triage, invoke/scan— confirm direct skill routing works/review bugfix— confirm guidelines load before review skillcommands/references remain (only intentional one in skill-reviewer/skills/review.md for reviewing arbitrary skill dirs)🤖 Generated with Claude Code
Summary by CodeRabbit
Release Notes