Share E-Book
Scan to open this page

Scan with your phone to open this page

Author: Marlon Vidal Ferreira

Rating No ratings yet

Learn Spec-Driven Development with the Breakthrough Method for Agile AI-Driven Development (BMAD) and use specialized AI agents to analyze, architect, implement, and test software for both new and existing projects. Key Features Master BMAD + TEA complete agentic workflow, from upstream planning to downstream code delivery Apply Spec-Driven Development to both new and existing projects using BMAD v4 and v6 Build reliable AI-assisted software by engineering context with specs and architecture docs Book Description Most developers using AI assistants struggle not because of the tool, but because of poor context. When agents receive vague instructions, they produce unreliable code. Spec-Driven Development (SDD) solves this by requiring structured specifications before a single line of code is written. BMAD is an open-source agentic framework that organizes development into two phases: upstream (analysis, planning, and solutioning) and downstream (implementation and testing). Each phase is handled by specialized AI agents working in sequence, with clear inputs and outputs. You'll learn how BMAD v6 extends earlier versions through concepts such as Progressive Disclosure, improved context management, TEA integration, and the project-context.md file, which provides a persistent source of truth throughout development. You'll build complete features by orchestrating multiple agents and workflows, applying BMAD to both existing codebases and greenfield projects while running full sprint cycles from planning through implementation and retrospective. By the end, you'll have a repeatable, structured process for building software with AI that produces consistent, production-ready results regardless of project size or complexity. What you will learn Master BMAD's upstream-to-downstream agentic workflow Use Analyst, PM, and Architect agents to create specs Implement and test code using the Dev and QA agents Plan sprints and perform retrospectives with the Scrum Master agent Build n

AI Reading Assistant

Whole-book reading guide from stratified index samples; jump to passages in the text

AI guide
【One-Line Pitch】 A practical field guide for developers already using AI coding assistants who want to replace vague prompting with a repeatable, spec-first workflow built on the BMAD agentic framework. Read it if you're willing to slow down during planning to get more reliable, production-ready code from AI. 【Book Arc】 - **Opening (~0%–15%)**: Frames the core problem — AI assistants fail from poor context, not weak tools — and introduces Spec-Driven Development and the BMAD method as the remedy, contrasting it with unstructured "vibe coding." - **Early (~15%–35%)**: Establishes the conceptual foundation: context engineering (the who/why/what pillars), context drift, and the differences between BMAD v4 and v6 (modular architecture, progressive disclosure, the project-context.md file). Also covers installation and module selection (Core, Agile, TEA) with recommendations for new vs. existing projects. - **Middle (~35%–50%)**: Walks the upstream phase — the Analyst agent (Mary) with optional composable workflows (brainstorming, market/domain/technical research, product brief, PRFAQ), then the Planning phase with the PM agent (John) producing the PRD plus addendum and decision-log files. - **Late (~50%–85%)**: Moves into solutioning and the downstream phase — Architect and Scrum Master agents, epics and stories, sprint planning, then the Dev and QA agents implementing and testing stories, with TEA workflows for test design, ATDD, and automation. - **Ending (~85%–100%)**: Applies the full cycle to real scenarios — greenfield features via PRD, quick specs for smaller changes on existing codebases, retrospectives, and wrapping up the complete workflow. (Excerpts thin out here; exact closing chapters are not fully covered.) 【Key Takeaways】 - **Context, not tooling, is the bottleneck** (Opening): Most AI-assisted projects fail because agents lack the business goals, historical decisions, and implicit constraints a human developer carries. SDD's job is to supply that context explicitly before code is written. - **Context engineering differs from prompt engineering** (Early): Prompt engineering optimizes a single query; context engineering builds a persistent knowledge base — "boundaries of truth" — that agents consult across the whole project. This is the conceptual backbone of the method. - **Too much context causes context drift** (Early): Overloading the model leads it to compact or lose earlier details. BMAD v6's progressive disclosure addresses this by letting agents read only the relevant sections of long documents, saving tokens and keeping focus. - **BMAD splits development into upstream and downstream phases** (Middle): Upstream (analysis, planning, solutioning) produces artifacts; downstream (implementation, testing) consumes them. Each phase has dedicated agents with clear inputs and outputs, so the artifacts from planning pay off during coding. - **Analysis workflows are optional but composable** (Middle): Brainstorming, market research, product brief, and PRFAQ can be run individually or in sequence; context accumulated early carries into every downstream agent, reducing repetition. At minimum, run brainstorming before moving to the PM. - **The PRD is where assumptions get stress-tested** (Middle): John the PM runs a conversational discovery interview rather than a form, producing prd.md plus addendum.md (unresolved decisions) and decision-log.md (reasoning behind choices). Skipping this phase leaves architecture and implementation working from unvalidated assumptions. - **Module choice depends on project type** (Early): New projects benefit from Core + Agile + TEA; existing codebases need at minimum Core + Agile, with TEA optional — and TEA's test tooling centers on Playwright and Cypress, so evaluate fit if your stack differs. - **The method scales down as well as up** (Late): Quick specs handle small changes on existing codebases, while full PRD-driven cycles cover larger features — giving one repeatable process across project sizes. 【Reading Tips】 - **Deep-read the context-engineering and v6 chapters** (Early): The pillars, context drift, and progressive disclosure explain *why* the method works; skimming them makes the later agent choreography feel arbitrary. - **Skim installation/config screenshots** (Early): Setup steps for Cursor integration and the _bmad-output folder are reference material — return to them when configuring, not on first pass. - **Follow one feature end-to-end** (Middle–Late): The book's value is the orchestration sequence (Analyst → PM → Architect → Scrum Master → Dev → QA). Trace a single feature through all agents rather than reading agent chapters in isolation. - **Treat analysis workflows as a menu, not a checklist** (Middle): The author notes they're optional and composable; pick brainstorming plus whichever research fits your uncertainty rather than running all of them. - **Watch for version drift** (throughout): The book covers both v4 and v6; note which version each instruction targets, since commands and structure changed between them. 【Coverage Limits】 These excerpts cover the framing, setup, and upstream phases in detail, with lighter coverage of downstream implementation, TEA testing workflows, and the closing chapters; specific code examples and full sprint-cycle walkthroughs are only partially represented.
Excerpt 1
tion-ready results regardless of project size or complexity. What you will learn Master BMAD's upstream-to-downstream agentic workflow Use Analyst, PM, and A...
View in text
Page 18
ut or output is written as follows: npx install bmad-method Bold: Indicates a new term, an important word, or words that you see on the screen. For instance,...
View in text
Excerpt 3
lity is built on top of that core. Workflows without agents As noted idx_d808d146earlier, you no longer need to activate an agent to run a workflow. The agen...
View in text
Excerpt 4
documented set of requirements that development can act on. To invoke John, trigger /bmad‑agent‑pm or type: Talk to John Chapter 2 38 John begins theidx_9b60...
View in text
Excerpt 5
kip() scaffold waiting. Removing the skip activates the red phase: the test fails because the feature does not exist yet. Implementation proceeds until the t...
View in text
Excerpt 6
project, they can enhance how models execute BMAD workflows. The recommendation is to use those files for company-level information and use the project conte...
View in text
Excerpt 7
initions that BMAD triggers to produce better outputs. Note An improvement over version 4: previously, epics and stories were created inside the create‑prd w...
View in text
Excerpt 8
u will see the power of this framework in practice. To wrap up the recommended workflow using the BMAD and TEA modules during the upstream phase, we will cov...
View in text
Tags
AI categories
AISoftwareProgramming
ISBN: 1808086074
Publisher: Packt Publishing
Publish Year: 2026
Language: English
Pages: 202
File Format: PDF
File Size: 11.3 MB
Text Preview (First 20 pages)
Registered users can read the full content for free

Register as a Gaohf Library member to read the complete e-book online for free and enjoy a better reading experience.

Generating text preview…