fix(commands): wire dispatch files to real sub-command names via Skill tool #455

Merged
lmiranda merged 2 commits from fix/dispatch-routing into development 2026-02-09 02:08:34 +00:00
Owner

Summary

All dispatch files referenced display names (e.g., /doc audit) that don't correspond to real slash commands. Claude Code resolves commands by filename, so /doc audit loads doc.md with $ARGUMENTS but never routes to doc-audit.md.

Changes

  • Updated 24 dispatch files with explicit Skill tool routing
  • Added "Command to Invoke" column with plugin-prefixed names
  • Added $ARGUMENTS matching for automatic routing
  • RFC dispatch file uses inline handling (no separate command files)
  • Updated COMMANDS-CHEATSHEET.md with invocation methods
  • Updated MIGRATION-v9.md with command name mapping explanation

Affected Files

27 files changed: +566 insertions, -316 deletions

Dispatch files updated (25): doc, sprint, adr, labels, rfc, project, projman, sentinel, gitflow, pr, clarity, claude-config, cv, hygiene, cmdb, data, viz, api, db-migrate, react, test, seed, release, deploy, debug-mcp

Verification

  • Zero files with old "Route to the selected sub-command" pattern
  • All plugin-prefixed names correctly formatted
  • Marketplace validation passed for all 20 plugins
  • Pre-commit hook validation passed

Testing

After merge, test commands like:

  • /doc audit → should route to /doc-guardian:doc-audit
  • /sprint plan → should route to /projman:sprint-plan
  • /pr review → should route to /pr-review:pr-review

🤖 Generated with Claude Code

## Summary All dispatch files referenced display names (e.g., `/doc audit`) that don't correspond to real slash commands. Claude Code resolves commands by filename, so `/doc audit` loads `doc.md` with `$ARGUMENTS` but never routes to `doc-audit.md`. ## Changes - ✅ Updated 24 dispatch files with explicit Skill tool routing - ✅ Added "Command to Invoke" column with plugin-prefixed names - ✅ Added `$ARGUMENTS` matching for automatic routing - ✅ RFC dispatch file uses inline handling (no separate command files) - ✅ Updated COMMANDS-CHEATSHEET.md with invocation methods - ✅ Updated MIGRATION-v9.md with command name mapping explanation ## Affected Files 27 files changed: +566 insertions, -316 deletions **Dispatch files updated (25):** doc, sprint, adr, labels, rfc, project, projman, sentinel, gitflow, pr, clarity, claude-config, cv, hygiene, cmdb, data, viz, api, db-migrate, react, test, seed, release, deploy, debug-mcp ## Verification - ✅ Zero files with old "Route to the selected sub-command" pattern - ✅ All plugin-prefixed names correctly formatted - ✅ Marketplace validation passed for all 20 plugins - ✅ Pre-commit hook validation passed ## Testing After merge, test commands like: - `/doc audit` → should route to `/doc-guardian:doc-audit` - `/sprint plan` → should route to `/projman:sprint-plan` - `/pr review` → should route to `/pr-review:pr-review` 🤖 Generated with [Claude Code](https://claude.com/claude-code)
lmiranda added 2 commits 2026-02-09 02:08:16 +00:00
- DEBUGGING-CHECKLIST: gitea test uses gitea_mcp.server (not mcp_server)
- debug-mcp skills: generic module placeholder, gitea exception noted
- Removed orphan .doc-guardian-queue from projman

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
All dispatch files referenced display names (e.g., `/doc audit`) that don't
correspond to real slash commands. Claude Code resolves commands by filename,
so `/doc audit` loads `doc.md` with $ARGUMENTS but never routes to `doc-audit.md`.

Changes:
- Updated 24 dispatch files with explicit Skill tool routing
- Added "Command to Invoke" column with plugin-prefixed names
- Added $ARGUMENTS matching for automatic routing
- RFC dispatch file uses inline handling (no separate command files)
- Updated COMMANDS-CHEATSHEET.md with invocation methods
- Updated MIGRATION-v9.md with command name mapping explanation

Affects: 25 dispatch files across 12 plugins (core, data, saas, ops, debug)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
lmiranda merged commit 826f0ec674 into development 2026-02-09 02:08:34 +00:00
lmiranda deleted branch fix/dispatch-routing 2026-02-09 02:08:34 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: personal-projects/leo-claude-mktplace#455