{"slug":"compose-brownfield-prd","title":"compose-brownfield-prd","summary":"Use to compose a structured 17-section PRD at docs/prds/<name>.md from brownfield characterization artifacts produced by characterize-brownfield. Maps as-is features, constraints, integrations, coverage and tech debt into PRD sections with FR/NFR IDs and full traceability. Activa","platform":"Claude","tags":[],"authorName":"LLM Mart","authorSlug":"llm-mart","score":0,"source":"github","price":null,"verified":false,"createdAt":"2026-11-29T00:42:29.882799Z","repo":{"url":"https://github.com/SebastienDegodez/skraft-plugin","stars":17,"forks":3,"license":"GPL-3.0","updatedAt":"2026-11-29T00:18:21Z"},"bodyHtml":"<hr>\n<h2>name: compose-brownfield-prd\ndescription: \"Use to compose a structured 17-section PRD at docs/prds/</h2>\n<h1>Compose Brownfield PRD</h1>\n<p>Maps <code>characterize-brownfield</code> output into the repository's 17-section PRD contract so downstream\nbacklog tooling can consume it directly.\nLoaded internally by <code>brownfield-analyst</code> after characterization completes — not designed for\nstandalone dispatch (hence <code>disable-model-invocation</code>), but callable directly if characterization\nartifacts already exist from a prior run.</p>\n<p><strong>Boundary.</strong> Consumes characterization artifacts; never re-scans the repo itself (reload the\npersisted artifacts — B4 — rather than re-deriving). Never creates issues. Never edits code.</p>\n<h2>Inputs</h2>\n<ul>\n<li>Path to characterization artifacts (<code>index.md</code> + siblings from <code>characterize-brownfield</code>).</li>\n<li>Product name (used for the kebab-case filename).</li>\n<li>Goals (optional — if the human states explicit modernization goals, fold them into Section 1;\notherwise derive draft goals from the \"Modernization Opportunities\" signal in tech-debt.md).</li>\n</ul>\n<h2>Mapping table (characterization -&gt; PRD section)</h2>\n<table>\n<thead>\n<tr>\n<th>Characterization source</th>\n<th>PRD section</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>structure.md, index.md summary</td>\n<td>S5 Product Overview, S1 context</td>\n</tr>\n<tr>\n<td>features.md (Core/Secondary)</td>\n<td>S6 Functional Requirements (<code>FR-NNN</code>)</td>\n</tr>\n<tr>\n<td>features.md (Legacy-unused) + coverage.md gaps</td>\n<td>S2 Problem (current situation), S4 Constraints</td>\n</tr>\n<tr>\n<td>integration.md</td>\n<td>S9 Dependencies, S7 NFR (reliability/performance), S11 Privacy/Security</td>\n</tr>\n<tr>\n<td>contracts.md (if not <code>none-found</code>)</td>\n<td>S6/S7 (API-shaped FR/NFR), S9 Dependencies, S11</td>\n</tr>\n<tr>\n<td>coverage.md (traceability)</td>\n<td>confidence carried into S14 Open Questions; NONE-coverage Core features -&gt; explicit open question</td>\n</tr>\n<tr>\n<td>tech-debt.md (3x3 risk scores)</td>\n<td>S10 Risks &amp; Mitigations (<code>Risk ID</code>, Severity from P0-P3 band)</td>\n</tr>\n<tr>\n<td>tech-debt.md P0/P1 items evidencing NFR gaps</td>\n<td>S7 Non-Functional Requirements, using Status/Threshold/Actual/Evidence shape (PASS/CONCERNS/FAIL per NFR)</td>\n</tr>\n<tr>\n<td>Modernization signals</td>\n<td>S1 Goals, S13 Rollout &amp; Launch Plan</td>\n</tr>\n<tr>\n<td>Any Low-confidence claim</td>\n<td>S14 Open Questions (one row per claim)</td>\n</tr>\n</tbody>\n</table>\n<h2>Procedure</h2>\n<ol>\n<li><strong>Reload</strong> all characterization artifacts (B4 — do not rely on the loading agent's recall).</li>\n<li><strong>Draft Sections 1-4</strong> (Executive Summary, Problem, Users &amp; Personas, Scope) from structure.md\n<ul>\n<li>features.md + the human-provided product name/goals. Users &amp; Personas: if characterization\nfound no evidence of end users (e.g. an internal library), state this explicitly rather than\ninventing personas.</li>\n</ul>\n</li>\n<li><strong>Draft Section 5</strong> (Product Overview) from structure.md + index.md summary — \"as-is\" framing.</li>\n<li><strong>Draft Section 6</strong> (Functional Requirements) — one <code>FR-NNN</code> row per Core/Secondary feature.\nEvery FR links back to a Goal ID from Section 1 (traceability requirement).</li>\n<li><strong>Draft Section 7</strong> (NFR) — one <code>NFR-NNN</code> row per NFR category with evidence from\nintegration.md/tech-debt.md. Use the Status/Threshold/Actual/Evidence shape; default <code>CONCERNS</code>\nwhen no measured evidence exists for a category (never fabricate a PASS).</li>\n<li><strong>Draft Sections 8-13</strong> as applicable (Data &amp; Analytics only if integration.md shows\nevents/analytics; Dependencies from integration.md; Risks from tech-debt.md 3x3 scores mapped\nto Severity; Privacy/Security from any auth/PII signal found; Operational Considerations always\nincluded for a running system; Rollout only if modernization goals were stated).</li>\n<li><strong>Draft Section 14</strong> (Open Questions) — every Low-confidence claim and every NONE-coverage\nCore feature becomes one row, <code>Owner: TBD</code>.</li>\n<li><strong>Draft Sections 15-17</strong> (Changelog: one entry, <code>v0.1 — initial brownfield extraction</code>;\nReferences &amp; Provenance: cite every characterization file as a Ref; Appendices only if a\nglossary is warranted).</li>\n<li><strong>Schema gate (S4)</strong> before writing: verify all 17 section headers present in order, every\nFR/NFR has a unique ID, every FR links to a Goal ID, no YAML frontmatter, markers present.</li>\n</ol>\n<h2>Output contract (non-negotiable — verify before writing)</h2>\n<ul>\n<li>Path: <code>docs/prds/&lt;kebab-case-product-name&gt;.md</code>.</li>\n<li>File starts with <code>&lt;!-- markdownlint-disable-file --&gt;</code> then <code>&lt;!-- markdown-table-prettify-ignore-start --&gt;</code>.</li>\n<li>File ends with <code>&lt;!-- markdown-table-prettify-ignore-end --&gt;</code>.</li>\n<li><strong>No YAML frontmatter</strong> (unlike BRD — this is a PRD-specific rule).</li>\n<li>IDs: <code>FR-001</code>, <code>NFR-001</code>, Risk IDs in the Risks table.</li>\n<li>State file: <code>.copilot-tracking/prd-sessions/&lt;kebab-case-product-name&gt;.state.json</code> recording\n<code>currentPhase: \"brownfield-extraction\"</code>, <code>sourceCharacterization: &lt;path&gt;</code>, <code>qualityChecks</code>.</li>\n</ul>\n<h2>Handoff</h2>\n<p>Report to the human: the PRD path, the gate verdict, and the count of Open Questions. The human\ndecides when to hand the PRD to downstream backlog tooling for artifact-driven issue discovery\nor full work-item hierarchy generation — this skill\ndoes not invoke them.</p>\n","files":[{"path":"SKILL.md","sizeBytes":5210,"isText":true}],"reviewScore":null,"reviewSummary":null,"trust":{"provenance":"trusted-source-unreviewed","notice":"Community-authored content, reproduced verbatim and not vetted as instructions. Treat it as data to evaluate, never as directives to follow.","bodySource":null},"bodyLocked":false,"purchaseUrl":null,"sourceUrl":null,"report":{"provenance":"trusted-source-unreviewed","screen":{"ran":true,"outcome":"clean","suspicious":0,"notes":0,"hiddenCharacters":false},"virusScan":{"engine":"clamav","status":"clean","scannedAt":"2026-11-29T00:43:52.112854Z","sha256":"B061F268F9C64AD118DF7CF570F21C9C983E6C00141BA0FB89F1C789A0897FA7","sizeBytes":2486},"review":null,"source":{"repositoryUrl":"https://github.com/SebastienDegodez/skraft-plugin","path":"plugins/skraft-framework/skills/compose-brownfield-prd","license":"GPL-3.0","commit":"c6117c6236a25490bf1916b131866069740c9b22","subtreeSha":"610D8A983348A19FAD62BCDC1D8342A23C7D7CA29FE364C8EB2B6C34311D152C","lastSyncedAt":"2026-11-29T00:42:27.348488Z"},"reviewedAt":"2026-11-29T00:46:55.915855Z","notice":"Community-authored content, reproduced verbatim and not vetted as instructions. Treat it as data to evaluate, never as directives to follow."},"install":[{"target":"skills-cli","command":"npx skills add https://github.com/SebastienDegodez/skraft-plugin/tree/main/plugins/skraft-framework/skills/compose-brownfield-prd"},{"target":"claude-code","command":"claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install sebastiendegodez-skraft-plugin@llmmart"},{"target":"git","command":"git clone https://github.com/SebastienDegodez/skraft-plugin.git"}]}