# 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: `majiayu000/prd-clean` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add majiayu000/prd-clean`
- Raw SKILL.md: https://api.skillmd.com/api/skills/majiayu000/prd-clean/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Product & Planning
- Author: majiayu000 (https://skillmd.com/u/majiayu000)
- Updated: 2026-09-21
- Page: https://skillmd.com/skills/majiayu000/prd-clean

---


# PRD Clean - Archive Completed Stories

Run the following command and display its output to the user:

```bash
python3 .claude/skills/prd-clean/clean_prd.py ./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.

