fix: add disable-model-invocation to all generated slash commands#1501
Merged
bmadcode merged 2 commits intobmad-code-org:mainfrom Jan 31, 2026
Merged
Conversation
Prevents Claude from auto-invoking BMad skills without explicit user request. Adds disable-model-invocation: true frontmatter to all command templates and inline generators for Claude Code and Codex.
📝 WalkthroughWalkthroughThis pull request adds a Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Suggested reviewers
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Collaborator
Author
|
@CodeRabbit review |
✅ Actions performedReview triggered.
|
bmadcode
approved these changes
Jan 31, 2026
2 tasks
24 tasks
bmadcode
pushed a commit
that referenced
this pull request
Feb 1, 2026
### 🎁 Features * Add generate-project-context workflow * Shard market research customer analysis ### 🐛 Bug Fixes * Fix npm install peer dependency issues (PR #1476) * Fix leaked source paths in PRD validation report (#1481) * Fix orphaned market research customer analysis (#1486) * Fix duplicate 2-letter brainstorming code (BS → BSP) * Fix tech writer sidecar functionality (#1487) * Fix relative paths in workflow steps (#1497, #1498) * Fix party-mode workflow file extension (#1499) * Fix generated slash commands (#1501) * Fix agent scan and help CSV files * Fix HELP_STEP placeholder replacement (#1437) ### 📚 Documentation * Add exact slash commands to Getting Started guide (#1505) * Remove .claude/commands from version control (#1506) ### 🔧 Maintenance * Update Starlight to 0.37.5 * Add GitHub issue templates
dickymoore
pushed a commit
to dickymoore/BMAD-METHOD
that referenced
this pull request
Feb 6, 2026
…ad-code-org#1501) Prevents Claude from auto-invoking BMad skills without explicit user request. Adds disable-model-invocation: true frontmatter to all command templates and inline generators for Claude Code and Codex. Co-authored-by: Brian <bmadcode@gmail.com>
dickymoore
pushed a commit
to dickymoore/BMAD-METHOD
that referenced
this pull request
Feb 6, 2026
### 🎁 Features * Add generate-project-context workflow * Shard market research customer analysis ### 🐛 Bug Fixes * Fix npm install peer dependency issues (PR bmad-code-org#1476) * Fix leaked source paths in PRD validation report (bmad-code-org#1481) * Fix orphaned market research customer analysis (bmad-code-org#1486) * Fix duplicate 2-letter brainstorming code (BS → BSP) * Fix tech writer sidecar functionality (bmad-code-org#1487) * Fix relative paths in workflow steps (bmad-code-org#1497, bmad-code-org#1498) * Fix party-mode workflow file extension (bmad-code-org#1499) * Fix generated slash commands (bmad-code-org#1501) * Fix agent scan and help CSV files * Fix HELP_STEP placeholder replacement (bmad-code-org#1437) ### 📚 Documentation * Add exact slash commands to Getting Started guide (bmad-code-org#1505) * Remove .claude/commands from version control (bmad-code-org#1506) ### 🔧 Maintenance * Update Starlight to 0.37.5 * Add GitHub issue templates
This was referenced Feb 13, 2026
This was referenced Feb 22, 2026
This was referenced Mar 5, 2026
Open
2 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
disable-model-invocation: trueto YAML frontmatter in all generated slash commands (agents, workflows, tasks/tools)task-tool-command-generator.js,codex.js,_config-driven.js)Testing
Test plan
npm run test— all tests passdisable-model-invocation: truedisable-model-invocation: true