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:
22
plugins/project-hygiene/commands/hygiene.md
Normal file
22
plugins/project-hygiene/commands/hygiene.md
Normal file
@@ -0,0 +1,22 @@
|
||||
---
|
||||
name: hygiene
|
||||
description: Project hygiene checks — type /hygiene <action> for commands
|
||||
---
|
||||
|
||||
# /hygiene
|
||||
|
||||
Manual project hygiene checks for file organization and cleanup.
|
||||
|
||||
When invoked without a sub-command, display available actions and ask which to run.
|
||||
|
||||
## Available Commands
|
||||
|
||||
| Command | Description |
|
||||
|---------|-------------|
|
||||
| `/hygiene check` | Run project hygiene checks (temp files, misplaced files, empty dirs) |
|
||||
|
||||
## 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