prd-clean
Archive merged and invalid stories from prd.json to prd.archived.json, keeping only active work in the main PRD. Triggers on: clean prd, archive merged stories, clean up prd, move merged stories.
SKILL.md.claude/skills/prd-clean/SKILL.md
GitHubPRD Clean - Archive Completed Stories
Run the following command and display its output to the user:
python3 scripts/archive-prd.py ./data/prd.json
The script handles everything: reading prd.json, archiving merged/invalid stories to prd.archived.json, updating prd.json in-place, and printing a full recap. If there are errors they will be printed to stderr.