feat(render): add --prd — one standalone PRD per functional requirement#10
Closed
maxgfr wants to merge 1 commit into
Closed
feat(render): add --prd — one standalone PRD per functional requirement#10maxgfr wants to merge 1 commit into
maxgfr wants to merge 1 commit into
Conversation
render --prd also emits requirements/prd/: one PRD-FR-NNN-<slug>.md per FR (product context, Given/When/Then acceptance criteria, linked NFRs resolved to their statements, touched entities/interfaces, [E#] grounding citations) plus a README.md index. Rendered from the same SRD.json — FUNCTIONAL.md stays canonical — and the subtree is cleared on re-render, same hygiene as the decisions and design dirs. Off by default; additive, check does not gate on it. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Owner
Author
|
Superseded: the --prd per-FR export landed on main via 57c556d (feat: modules mode + --prd), released in v1.7.0. Closing without merge. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
construct render --out <run> --prdnow also emitsrequirements/prd/:PRD-FR-NNN-<slug>.mdper functional requirement — product context, the FR description, Given/When/Then acceptance criteria, linked NFRs resolved to their statements, touched entities/interfaces, and the[E#]grounding citations;README.mdindex table (file · priority · title).Everything is rendered from the same
SRD.json—FUNCTIONAL.mdstays the canonical requirement list — so a single feature can be handed whole to a tracker or an implementation agent.Design notes
checkdoes not gate on it; no schema change.requirements/prd/subtree is cleared on every re-render (filenames are id+title-derived), same hygiene as thedecisions/anddesign/dirs — no stale per-feature PRDs.--no-designpattern (BOOL_FLAGS + render opts); SKILL.md documents the flag.Tests
TDD (red first): 3 new render tests (per-FR files + index, content incl. resolved NFR statements + citations, default-off + stale-subtree cleanup) and 1 CLI parse test.
vitest258/258,tsc --noEmit,biome ci,check:buildall green.🤖 Generated with Claude Code