1.6 KiB
1.6 KiB
| title | description | sidebar | ||
|---|---|---|---|---|
| Monorepo / Multi-Project Setup | Run multiple independent projects within a single BMAD installation |
|
Monorepo / Multi-Project Setup
BMAD supports running multiple independent projects within a single installation. This is useful for monorepos, multi-app repositories, or any workspace where you want isolated artifact directories per project.
How It Works
A .current_project file in your _bmad/ directory stores the active project name. When set, all artifact output paths are redirected to project-specific subdirectories.
Quick Start
- List existing projects by invoking
skill:bmad-project-list - Create a new project by invoking
skill:bmad-project-newwith a project name - Switch to an existing project by invoking
skill:bmad-project-switchwith a project name - Clear project context by invoking
skill:bmad-project-switchand enteringCLEAR
Directory Structure
When a project context is active, for example my-app:
_bmad-output/my-app/planning-artifacts/for PRDs, briefs, UX designs_bmad-output/my-app/implementation-artifacts/for sprint plans and stories_bmad-output/my-app/knowledge/for long-term project knowledge
Inline Overrides
Temporarily target a different project without changing the global context:
#project:my-app#p:my-app
Precedence:
- Inline override (
#p:NAME) — highest priority - Global context file (
.current_project) - Default config paths
Security
- Path traversal (
..) is rejected - Absolute paths are rejected
- Only alphanumeric characters, dots, dashes, underscores, and forward slashes are allowed