refactor(bugfix): migrate commands to skills-only architecture#78
Merged
jwm4 merged 1 commit intoambient-code:mainfrom Mar 23, 2026
Merged
Conversation
Commands in Claude Code are now unified with skills. The eight thin stub commands that just dispatched to the controller were pure boilerplate, and speedrun was the only command with real logic. - Delete .claude/commands/ directory (9 files) - Convert speedrun command to .claude/skills/speedrun/SKILL.md - Add Dispatch section to each phase skill so it reads the controller when invoked directly (not via controller or speedrun) - Update return-path references from commands/speedrun to skills/speedrun - Trim ambient.json: remove unused greeting field, simplify systemPrompt - Update README, CLAUDE.md, and WORKFLOW_DEVELOPMENT_GUIDE examples Made-with: Cursor
WalkthroughThe bugfix workflow system was refactored from using thin command wrapper files at Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 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 |
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
.claude/commands/directory — the 8 thin stub commands (assess through pr) were pure boilerplate that just dispatched to the controller skill; speedrun was the only command with real logic.claude/skills/speedrun/SKILL.mdwith updated self-referencesambient.json— remove unusedgreetingfield, trimsystemPromptfrom ~500 chars to ~170 chars (workspace layout and artifact paths are already covered by the controller and individual skills)Motivation
Commands in Claude Code are now unified with skills — skills are directly invocable via
/and support frontmatter options that commands lack. The command files were redundant indirection that added no value.Test plan
/assessdirectly and confirm it reads the controller first/speedrunand confirm it runs phases in sequenceambient.jsonparses correctly (validated locally withpython3 -m json.tool)Made with Cursor