From an approved PRD to BMAD contracts
Turn an approved PRD into traceable contracts before building: map every requirement to features, acceptance ids and tests, refuse a PRD that isn't approved or consistent, then compile BMAD behaviour, model and architecture contracts per requirement linked to the PRD revision. Use for spec-driven development, PRD to tasks, acceptance criteria traceability, BMAD contracts or 'are these requirements ready to build'.
At a glance
- Kind
- Skill · Ananke
skill - Reference
neo-pragnya-mcp/prd-to-bmad·ananke://skill/neo-pragnya-mcp/prd-to-bmad@1.0.0- Files
- 1 · 1.8 KB
- How it's used
- Skills load on demand: the agent sees this skill's name and description, and opens SKILL.md (and any bundled references or scripts) when a task matches.
Where it fits
- Task
- Design architectureElicit requirementsWrite a specificationWrite tests
- Methodology
- Spec-driven development
- Lifecycle phase
- DesignRequirementsTestingVerification
- Role
- ArchitectProduct managerQA engineer
- Platform
- Ananke PlexusClaude CodeGitHub Copilot
- Needs
- Nothing (text only)
Facets suggested from the item's own text and tags, not yet reviewed. Facets say where an item is relevant, not that it will run in your setup. How facets work
Checked by Dex
Verified, not self-reported: dex-trove 0.3.16 installed this item into each layout and checked that the tool can load it. Dex collects no download or usage data.
- Claude Code ✓ loads
- GitHub Copilot ✓ loads
Documentation
View upstream ↗Uses Ananke Plexus (ananke spec map, ananke spec compile) on the PRD format Dev Guru’s dev spec new writes.
Steps
- Write or update the PRD with
dev spec new "Name": requirements as- **R1** ...(optionally under### Featureheadings) and acceptance lines as- R1: how a reviewer sees it works. - After review, set
status: approvedin its front matter (andapproved_by). - Map it:
uvx --from ananke-plexus ananke spec map docs/prd.md. Each criterion gets an id (AC-R1-1), the test that will be generated for it and the tests that already mention it. Exit 1 means it isn’t consistent: fix what the findings say (a requirement with no criterion, a repeated id, a criterion naming no requirement). - Optionally describe the API first:
ananke triage api-contract --out contract. - Compile:
ananke spec compile docs/prd.md --out .ananke/specs/bmad --api-contract contract/model-contract.yaml. Requirements that name an operation (POST /orders,/orders/{id}) get its schemas in their model contract. - Build against the behaviour tests, name
AC-R1-1in the test that checks it, and after implementation runananke spec map docs/prd.md --require-tests.
Rules
- Don’t compile a draft for real work;
--draftis for previewing. bmad-index.jsonlinks every file to the PRD’s sha256: change the PRD, and compile again.