Commit 045d418
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
| 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