Skip to content
🤖 Consolidated, AI-optimized BMAD docs: llms-full.txt. Fetch this plain text file for complete context.

Commands

Slash commands are pre-built prompts that load agents, run workflows, or execute tasks inside your IDE. The BMad installer generates them from your installed modules at install time. If you later add, remove, or change modules, re-run the installer to keep commands in sync (see Troubleshooting).

BMad offers two ways to start work, and they serve different purposes.

MechanismHow you invoke itWhat happens
Slash commandType /bmad-... in your IDEDirectly loads an agent, runs a workflow, or executes a task
Agent menu triggerLoad an agent first, then type a short code (e.g. DS)The agent interprets the code and starts the matching workflow while staying in character

Agent menu triggers require an active agent session. Use slash commands when you know which workflow you want. Use triggers when you are already working with an agent and want to switch tasks without leaving the conversation.

When you run npx bmad-method install, the installer reads the manifests for every selected module and writes one command file per agent, workflow, task, and tool. Each file is a short markdown prompt that instructs the AI to load the corresponding source file and follow its instructions.

The installer uses templates for each command type:

Command typeWhat the generated file does
Agent launcherLoads the agent persona file, activates its menu, and stays in character
Workflow commandLoads the workflow engine (workflow.xml) and passes the workflow config
Task commandLoads a standalone task file and follows its instructions
Tool commandLoads a standalone tool file and follows its instructions

The installer writes command files into an IDE-specific directory inside your project. The exact path depends on which IDE you selected during installation.

IDE / CLICommand directory
Claude Code.claude/commands/
Cursor.cursor/commands/
Windsurf.windsurf/workflows/
Other IDEsSee the installer output for the target path

All IDEs receive a flat set of command files in their command directory. For example, a Claude Code installation looks like:

.claude/commands/
├── bmad-agent-bmm-dev.md
├── bmad-agent-bmm-pm.md
├── bmad-bmm-create-prd.md
├── bmad-editorial-review-prose.md
├── bmad-help.md
└── ...

The filename determines the slash command name in your IDE. For example, the file bmad-agent-bmm-dev.md registers the command /bmad-agent-bmm-dev.

Type /bmad in your IDE and use autocomplete to browse available commands.

Run /bmad-help for context-aware guidance on your next step.

Agent commands load a specialized AI persona with a defined role, communication style, and menu of workflows. Once loaded, the agent stays in character and responds to menu triggers.

Example commandAgentRole
/bmad-agent-bmm-devAmelia (Developer)Implements stories with strict adherence to specs
/bmad-agent-bmm-pmJohn (Product Manager)Creates and validates PRDs
/bmad-agent-bmm-architectWinston (Architect)Designs system architecture
/bmad-agent-bmm-smBob (Scrum Master)Manages sprints and stories

See Agents for the full list of default agents and their triggers.

Workflow commands run a structured, multi-step process without loading an agent persona first. They load the workflow engine and pass a specific workflow configuration.

Example commandPurpose
/bmad-bmm-create-prdCreate a Product Requirements Document
/bmad-bmm-create-architectureDesign system architecture
/bmad-bmm-dev-storyImplement a story
/bmad-bmm-code-reviewRun a code review
/bmad-bmm-quick-specDefine an ad-hoc change (Quick Flow)

See Workflow Map for the complete workflow reference organized by phase.

Tasks and tools are standalone operations that do not require an agent or workflow context.

Example commandPurpose
/bmad-helpContext-aware guidance and next-step recommendations
/bmad-shard-docSplit a large markdown file into smaller sections
/bmad-index-docsIndex project documentation
/bmad-editorial-review-proseReview document prose quality

Command names follow a predictable pattern.

PatternMeaningExample
bmad-agent-<module>-<name>Agent launcherbmad-agent-bmm-dev
bmad-<module>-<workflow>Workflow commandbmad-bmm-create-prd
bmad-<name>Core task or toolbmad-help

Module codes: bmm (Agile suite), bmb (Builder), tea (Test Architect), cis (Creative Intelligence), gds (Game Dev Studio). See Modules for descriptions.

Commands not appearing after install. Restart your IDE or reload the window. Some IDEs cache the command list and require a refresh to pick up new files.

Expected commands are missing. The installer only generates commands for modules you selected. Run npx bmad-method install again and verify your module selection. Check that the command files exist in the expected directory.

Commands from a removed module still appear. The installer does not delete old command files automatically. Remove the stale files from your IDE’s command directory, or delete the entire command directory and re-run the installer for a clean set.