Troubleshooting Guide
Solutions for common issues when using BMAD Method for Claude Code.
Quick Fixes
Before diving into specific issues, try these common fixes:
- Restart Claude Code - Skills load on startup
- Check file locations - Ensure files are in correct directories
- Validate YAML - Use a YAML linter
- Run /workflow-status - See current state and recommendations
Installation Issues
Commands Not Recognized
Symptom: /workflow-init returns “command not found” or similar
Causes & Fixes:
-
Didn’t restart Claude Code
Skills and commands load on startup. Close and reopen your terminal:
# Close terminal, then: claude -
Installation failed silently
Re-run installer with verbose output:
# Bash ./install-v6.sh # PowerShell .\install-v6.ps1 -Verbose -
Files in wrong location
Verify installation:
# Check skills ls ~/.claude/skills/bmad/ # Should see: bmb/ bmm/ cis/ core/ # Check commands ls ~/.claude/commands/bmad/ # Should see: workflow-init.md, prd.md, etc. -
Claude Code not using default config location
Check if you have a custom Claude Code config:
cat ~/.claude/config.jsonEnsure skill/command paths match your setup.
PowerShell Installer Errors
Symptom: Errors when running .\install-v6.ps1
“Script cannot be loaded because running scripts is disabled”
Fix: Enable script execution:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
“File cannot be loaded” or permission errors
Fix: Run as Administrator or check permissions:
# Check current policy
Get-ExecutionPolicy
# Run with bypass (one-time)
PowerShell -ExecutionPolicy Bypass -File .\install-v6.ps1
“Function not found” errors in WSL
This was fixed in v6.0.3. Update to latest version:
git pull origin main
./install-v6.sh
Bash Installer Errors
Symptom: Errors when running ./install-v6.sh
“Permission denied”
Fix: Make executable:
chmod +x install-v6.sh
./install-v6.sh
“No such file or directory”
Fix: Ensure you’re in the correct directory:
cd claude-code-bmad-skills
ls install-v6.sh # Should exist
./install-v6.sh
Commands not installed (v6.0.2 fix)
Earlier versions had missing command installation. Update:
git pull origin main
./install-v6.sh
Command Errors
“Project not initialized”
Symptom: Commands fail with “run /workflow-init first”
Fix: Initialize BMAD in your project:
/workflow-init
This creates bmad/config.yaml in your project root.
“Cannot find product-brief.md”
Symptom: /prd fails because it can’t find the product brief
Causes & Fixes:
-
Product brief not created
Create it first:
/product-brief -
Product brief in wrong location
Check your output folder:
# bmad/config.yaml output_folder: "docs" # Product brief should be hereMove file if needed:
mv product-brief.md docs/product-brief.md -
Different output folder than expected
Check where BMAD is looking:
/workflow-statusThis shows the expected file paths.
“Cannot find architecture.md”
Symptom: /sprint-planning fails because architecture is missing
Fix: Create architecture first:
/architecture
Or if you’re Level 0-1, you don’t need architecture. Check your project level:
# bmad/config.yaml
project_level: 1 # No architecture needed
YAML Parse Errors
Symptom: “YAML parse error” or “invalid syntax”
Common causes:
- Bad indentation
# Wrong bmm: workflow_status_file: "docs/status.yaml" # Correct bmm: workflow_status_file: "docs/status.yaml" - Unquoted special characters
# Wrong project_name: My Project: v2 # Correct project_name: "My Project: v2" - Tabs instead of spaces
# Wrong (tabs) bmm: workflow_status_file: "..." # Correct (2 spaces) bmm: workflow_status_file: "..."
Fix: Validate your YAML:
# Online validator
# https://yamlvalidator.com
# Or use yamllint
pip install yamllint
yamllint bmad/config.yaml
Workflow Issues
Wrong Workflow Recommended
Symptom: /workflow-status recommends the wrong next step
Causes & Fixes:
-
Project level incorrect
Level affects what’s required:
# bmad/config.yaml project_level: 2 # Requires PRD, architecture project_level: 1 # Only tech spec needed -
Status file out of sync
Manually check status:
cat docs/bmm-workflow-status.yamlUpdate if needed:
workflows: - name: "Product Brief" status: "complete" file: "docs/product-brief.md"
Documents Not Saving
Symptom: Command completes but file not created
Causes & Fixes:
- Output directory doesn’t exist
mkdir -p docs/stories - Permission issues
chmod 755 docs - Incorrect output_folder
# bmad/config.yaml output_folder: "docs" # Must exist
Sprint Planning Shows Wrong Stories
Symptom: Sprint plan doesn’t match PRD stories
Fix: Regenerate sprint plan:
/sprint-planning
Or manually sync docs/sprint-status.yaml with your PRD.
/dev-story Can’t Find Story
Symptom: /dev-story STORY-001 says story doesn’t exist
Causes & Fixes:
-
Story file not created
Run sprint planning first:
/sprint-planning - Wrong story ID format
# Wrong /dev-story Story-001 /dev-story story-001 # Correct /dev-story STORY-001 -
Story in wrong directory
Check paths:
# bmad/config.yaml paths: stories: "docs/stories" # Stories should be here
Configuration Issues
Global Config Not Applied
Symptom: Settings from ~/.claude/config/bmad/config.yaml ignored
Causes & Fixes:
-
Project config overrides global
Project settings take precedence. Check both files.
-
Didn’t restart Claude Code
Global config loads on startup.
-
File in wrong location
# Should be: ~/.claude/config/bmad/config.yaml # Not: ~/.claude/bmad/config.yaml
Modules Not Available
Symptom: /brainstorm not recognized (CIS module)
Fix: Enable module in global config:
# ~/.claude/config/bmad/config.yaml
modules_enabled:
- core
- bmm
- cis # Add this line
Then restart Claude Code.
Custom Agents Not Loading
Symptom: Created agent with /create-agent but can’t use it
Causes & Fixes:
-
Didn’t restart Claude Code
Agents load on startup.
- Agent in wrong directory
# Should be in: ls ~/.claude/skills/bmad/custom/ # Move if needed mv my-agent ~/.claude/skills/bmad/custom/ -
Invalid SKILL.md format
Check that SKILL.md has required sections:
- Skill ID
- Module
- Purpose
- Responsibilities
- Commands
Performance Issues
Commands Running Slowly
Symptom: Commands take longer than expected
Causes & Fixes:
-
Large context
BMAD loads previous documents. Reduce by:
- Using lower project level
- Splitting large documents
-
Verbose mode enabled
# ~/.claude/config/bmad/config.yaml verbose_mode: false # Turn off if not debugging
Claude Code Hanging
Symptom: Claude Code stops responding during command
Fixes:
- Press Ctrl+C to cancel
- Check for infinite loops in custom agents
- Reduce document size
- Restart Claude Code
Platform-Specific Issues
Windows Path Issues
Symptom: Files not found on Windows
Fix: Use forward slashes in config:
# Works on all platforms
output_folder: "docs"
workflow_status_file: "docs/status.yaml"
# Not this
output_folder: "docs\\"
workflow_status_file: "docs\\status.yaml"
WSL Issues
Symptom: Commands work in Linux but not WSL
Causes & Fixes:
-
Using Windows Claude Code for WSL project
Install Claude Code inside WSL:
# Inside WSL curl -fsSL https://claude.ai/code/install | bash - File permission issues
chmod -R 755 ~/.claude/ - Line ending issues
# Convert if needed sed -i 's/\r$//' install-v6.sh
macOS Issues
Symptom: “Operation not permitted” errors
Fix: Allow terminal full disk access:
- System Preferences → Security & Privacy → Privacy
- Full Disk Access
- Add your terminal app
Common Error Messages
“No active project found”
Meaning: BMAD can’t find bmad/config.yaml
Fix:
/workflow-init
Or ensure you’re in the project root directory.
“Workflow status file not found”
Meaning: docs/bmm-workflow-status.yaml doesn’t exist
Fix: Create by running any workflow command, or manually:
touch docs/bmm-workflow-status.yaml
“Invalid project level”
Meaning: Level must be 0-4
Fix:
# bmad/config.yaml
project_level: 2 # Must be 0, 1, 2, 3, or 4
“Template not found”
Meaning: Missing template file
Fix: Reinstall BMAD:
./install-v6.sh
Or manually copy template from repository.
“Helper reference not found”
Meaning: Command references missing helper section
Fix: Reinstall to get latest helpers.md:
./install-v6.sh
Debugging Tips
Enable Verbose Mode
# ~/.claude/config/bmad/config.yaml
verbose_mode: true
Restart Claude Code to see detailed logs.
Check File Contents
# View configs
cat ~/.claude/config/bmad/config.yaml
cat bmad/config.yaml
# View status
cat docs/bmm-workflow-status.yaml
Validate All YAML Files
# Install yamllint
pip install yamllint
# Check all YAML
find . -name "*.yaml" -exec yamllint {} \;
Test Individual Commands
Before complex workflows, test simple commands:
/workflow-status # Should work after init
Reset Project State
If things are broken, start fresh:
# Backup your docs
cp -r docs docs.bak
# Remove BMAD state
rm bmad/config.yaml
rm docs/bmm-workflow-status.yaml
rm docs/sprint-status.yaml
# Re-initialize
/workflow-init
Getting Help
Check Documentation
- Getting Started - Installation and first steps
- Commands Reference - All command details
- Configuration - All config options
Report Issues
If you’ve tried the fixes above and still have problems:
-
GitHub Issues: github.com/aj-geddes/claude-code-bmad-skills/issues
-
Include in your report:
- BMAD version (check config.yaml)
- Operating system
- Claude Code version
- Error message (full text)
- Steps to reproduce
- Relevant config files
Example Issue Report
**Environment:**
- BMAD: 6.0.2
- OS: macOS 14.0
- Claude Code: 1.0.0
**Issue:**
/prd fails with "Cannot find product-brief.md"
**Steps:**
1. /workflow-init (Level 2)
2. /product-brief (completed, saved)
3. /prd
**Error:**
"Cannot find product-brief.md in docs/"
**Config:**
output_folder: "docs"
**Files present:**
docs/product-brief.md (exists)
Version History Fixes
v6.0.3
- Fixed PowerShell function scoping in WSL
v6.0.2
- Added missing slash commands installation to Bash installer
v6.0.1
- Rewrote PowerShell installer for compatibility
If you’re on an older version, update:
git pull origin main
./install-v6.sh