feat(commands): make dispatch files active command handlers
All 25 dispatch files now have name: in frontmatter with Workflow section that displays sub-commands and prompts for selection. Bare /noun invocation is now useful instead of a dead end. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1,17 +1,26 @@
|
||||
---
|
||||
description: Documentation management and drift detection
|
||||
name: doc
|
||||
description: Documentation management and drift detection — type /doc <action> for commands
|
||||
---
|
||||
|
||||
# /doc
|
||||
|
||||
Documentation management, drift detection, and synchronization.
|
||||
|
||||
## Sub-commands
|
||||
When invoked without a sub-command, display available actions and ask which to run.
|
||||
|
||||
| Sub-command | Description |
|
||||
|-------------|-------------|
|
||||
## Available Commands
|
||||
|
||||
| Command | Description |
|
||||
|---------|-------------|
|
||||
| `/doc audit` | Full documentation audit - scans for doc drift |
|
||||
| `/doc sync` | Synchronize pending documentation updates |
|
||||
| `/doc changelog-gen` | Generate changelog from conventional commits |
|
||||
| `/doc coverage` | Documentation coverage metrics by function/class |
|
||||
| `/doc stale-docs` | Flag documentation behind code changes |
|
||||
|
||||
## Workflow
|
||||
|
||||
1. Display the table above
|
||||
2. Ask: "Which command would you like to run?"
|
||||
3. Route to the selected sub-command
|
||||
|
||||
Reference in New Issue
Block a user