docs/how-to/established-projects.md
Use BMad Method effectively when working on existing projects and legacy codebases.
This guide covers the essential workflow for onboarding to existing projects with BMad Method.
:::note[Prerequisites]
npx bmad-method install)If you have completed all PRD epics and stories through the BMad process, clean up those files. Archive them, delete them, or rely on version history if needed. Do not keep these files in:
docs/_bmad-output/planning-artifacts/_bmad-output/implementation-artifacts/:::tip[Recommended for Existing Projects]
Generate project-context.md to capture your existing codebase patterns and conventions. This ensures AI agents follow your established practices when implementing changes.
:::
Run the generate project context workflow:
bmad-generate-project-context
This scans your codebase to identify:
You can review and refine the generated file, or create it manually at _bmad-output/project-context.md if you prefer.
Learn more about project context
Your docs/ folder should contain succinct, well-organized documentation that accurately represents your project:
For complex projects, consider using the bmad-document-project workflow. It offers runtime variants that will scan your entire project and document its actual current state.
Run bmad-help anytime you're unsure what to do next. This intelligent guide:
bmad-help I have an existing Rails app, where should I start?
bmad-help What's the difference between quick-flow and full method?
bmad-help Show me what workflows are available
BMad-Help also automatically runs at the end of every workflow, providing clear guidance on exactly what to do next.
You have two primary options depending on the scope of changes:
| Scope | Recommended Approach |
|---|---|
| Small updates or additions | Run bmad-quick-dev to clarify intent, plan, implement, and review in a single workflow. The full four-phase BMad Method is likely overkill. |
| Major changes or additions | Start with the BMad Method, applying as much or as little rigor as needed. |
When creating a brief or jumping directly into the PRD, ensure the agent:
You can guide the agent explicitly, but the goal is to ensure the new feature integrates well with your existing system.
UX work is optional. The decision depends not on whether your project has a UX, but on:
If your changes amount to simple updates to existing screens you are happy with, a full UX process is unnecessary.
When doing architecture, ensure the architect:
Pay close attention here to prevent reinventing the wheel or making decisions that misalign with your existing architecture.