Brownfield Development FAQ
Quick answers to common questions about brownfield (existing codebase) development in the BMad Method (BMM).
Questions
Section titled âQuestionsâWhat is brownfield vs greenfield?
Section titled âWhat is brownfield vs greenfield?â- Greenfield â New project, starting from scratch, clean slate
- Brownfield â Existing project, working with established codebase and patterns
Do I have to run document-project for brownfield?
Section titled âDo I have to run document-project for brownfield?âHighly recommended, especially if:
- No existing documentation
- Documentation is outdated
- AI agents need context about existing code
You can skip it if you have comprehensive, up-to-date documentation including docs/index.md or will use other tools or techniques to aid in discovery for the agent to build on an existing system.
What if I forget to run document-project?
Section titled âWhat if I forget to run document-project?âDonât worry about it - you can do it at any time. You can even do it during or after a project to help keep docs up to date.
Can I use Quick Spec Flow for brownfield projects?
Section titled âCan I use Quick Spec Flow for brownfield projects?âYes! Quick Spec Flow works great for brownfield. It will:
- Auto-detect your existing stack
- Analyze brownfield code patterns
- Detect conventions and ask for confirmation
- Generate context-rich tech-spec that respects existing code
Perfect for bug fixes and small features in existing codebases.
What if my existing code doesnât follow best practices?
Section titled âWhat if my existing code doesnât follow best practices?âQuick Spec Flow detects your conventions and asks: âShould I follow these existing conventions?â You decide:
- Yes â Maintain consistency with current codebase
- No â Establish new standards (document why in tech-spec)
BMM respects your choice â it wonât force modernization, but it will offer it.
Have a question not answered here? Please open an issue or ask in Discord so we can add it!