Skip to content

Commit 045d418

Browse files
sjnimsclaude
andauthored
feat: add explicit model specification to workflow commands (#140)
## Summary - Add `model: sonnet` frontmatter field to `/plugin-dev:create-plugin` and `/plugin-dev:create-marketplace` commands - Ensures consistent workflow quality regardless of user's current conversation model ## Problem Fixes #137 Complex 8-phase workflows inherit model from conversation context, causing inconsistent quality. Users on `haiku` would get different results than those on `opus`. ## Solution Explicitly specify `model: sonnet` for workflow commands - a good balance of capability and cost for complex multi-step workflows. ### Alternatives Considered - **Keep inheriting from conversation** (original behavior): Allows user cost/quality control but risks inconsistent results - **Use `opus`**: Maximum quality but higher cost for 8-phase workflows - **Use `haiku`**: Faster but may not handle complex design phases well ## Changes - `plugins/plugin-dev/commands/create-plugin.md`: Added `model: sonnet` to frontmatter - `plugins/plugin-dev/commands/create-marketplace.md`: Added `model: sonnet` to frontmatter ## Testing - [x] Linting passes - [x] No structural changes to command content --- 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude <noreply@anthropic.com>
1 parent efa60cc commit 045d418

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+
model: sonnet
56
disable-model-invocation: true
67
---
78

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+
model: sonnet
56
disable-model-invocation: true
67
---
78

0 commit comments

Comments
 (0)