Commit 3572b8a
feat: add disable-model-invocation to workflow commands (#138)
## Summary
Add `disable-model-invocation: true` to the workflow commands to prevent
the SlashCommand tool from programmatically invoking these complex
8-phase workflows.
## Problem
Fixes #135
The `/plugin-dev:create-plugin` and `/plugin-dev:create-marketplace`
commands are complex 8-phase guided workflows designed for intentional
user initiation. Without `disable-model-invocation: true`, Claude could
accidentally invoke these commands via the SlashCommand tool during
conversation.
## Solution
Added `disable-model-invocation: true` to both command frontmatters,
ensuring these workflows can only be initiated by explicit user
invocation.
### Alternatives Considered
- **Leave as-is**: Would not address the issue and could lead to UX
confusion
- **Document expected behavior**: Less effective than preventing the
behavior
## Changes
- `plugins/plugin-dev/commands/create-plugin.md`: Added
`disable-model-invocation: true`
- `plugins/plugin-dev/commands/create-marketplace.md`: Added
`disable-model-invocation: true`
## Testing
- [x] Markdownlint passes
- [x] Changes are minimal and targeted
- [x] Frontmatter syntax is correct
---
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude <noreply@anthropic.com>1 parent 4ac66c4 commit 3572b8a
2 files changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
0 commit comments