From groundwork
Merge time-series PRDs and child PRDs into a single time-neutral document that reads as if the system always worked this way. Use after PRD iterations, before handoff, or when cleaning up docs.
How this skill is triggered — by the user, by Claude, or both
Slash command
/groundwork:consolidate-docsThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
- After multiple PRD iterations on the same feature
The consolidated document is time-neutral: it describes the current state of the system as if it always existed this way. No "previously", "we changed", "originally we planned", or "as of this iteration" language.
Time-series history belongs in git or an archive folder — not in the live spec.
Steer Log entries from master PRDs are consumed during consolidation — the final state they describe is folded into the relevant sections, and the log itself is not carried forward. Consolidated docs describe what is, not how it got there.
List all PRD directories in docs/prds/. Each directory containing a PRD.md is a PRD. Recursively list child PRD directories. Group by feature area.
For each group, determine:
Create: docs/prds/<feature-area>-current.md
Rules for this document:
type: consolidated with feature_area, date, sources, and status fields (see create-prd/reference.md for schema)Move source PRD directories to docs/prds/archive/, preserving the nested structure:
mkdir -p docs/prds/archive
mv docs/prds/YYYY-MM-DD-<feature> docs/prds/archive/
This moves the entire directory tree (master + children + grandchildren) in one operation.
Update status: archived in frontmatter of the master PRD only. Child PRDs inherit archived status from their parent.
Keep the consolidated document as the single source of truth.
Search codebase for references to archived PRD paths and update them to point to the consolidated document.
grep -r "docs/prds/YYYY-MM-DD" . --include="*.md"
Invoke advisor-gate completion gate to confirm consolidation is accurate and nothing was lost.
Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.
npx claudepluginhub inizio/groundwork --plugin groundwork