Skip to content

Commit 3572b8a

Browse files
sjnimsclaude
andauthored
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

File tree

plugins/plugin-dev/commands/create-marketplace.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
description: Create plugin marketplaces with guided workflow
33
argument-hint: [marketplace-description]
44
allowed-tools: Read, Write, Edit, Grep, Glob, Bash(mkdir:*), Bash(git init:*), TodoWrite, AskUserQuestion, Skill, Task
5+
disable-model-invocation: true
56
---
67

78
# Marketplace Creation Workflow

plugins/plugin-dev/commands/create-plugin.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
description: Create plugins with guided 8-phase workflow
33
argument-hint: [plugin-description]
44
allowed-tools: Read, Write, Edit, Grep, Glob, Bash(mkdir:*), Bash(git init:*), TodoWrite, AskUserQuestion, Skill, Task
5+
disable-model-invocation: true
56
---
67

78
# Plugin Creation Workflow

0 commit comments

Comments
 (0)