PrizmKit Summarize
Archive completed features to the feature registry. Extracts metadata from specs and code, generates a registry entry, and appends a changelog record. Idempotent — re-running produces the same output.
Commands
prizmkit.summarize
Archive a completed feature to the registry.
PRECONDITION: spec.md, plan.md, tasks.md exist in .prizmkit/specs/###-feature-name/
STEPS:
- Read
spec.md,plan.md,data-model.md,contracts/,tasks.md - Analyze
tasks.mdcompletion rate — warn if < 100% - Scan actual code directories for core file paths
- Generate REGISTRY entry:
- Feature number and name
- Branch name
- Status (complete/partial)
- Key files and directories
- API endpoints added/modified
- Data model changes
- Completion date
- Append to
.prizmkit/specs/REGISTRY.md(create from template${SKILL_DIR}/assets/registry-template.mdif not exists) - Append changelog entry
- Output: registry entry summary
KEY RULES:
- Idempotent: same input MUST produce same output on re-run
- If
tasks.mdcompletion < 100%, status is "Partial" with warning - REGISTRY.md is append-only — never modify existing entries
- Changelog entries use format:
YYYY-MM-DD | [###] [Feature Name] | [Status] - If REGISTRY.md does not exist, create it from template before appending
HANDOFF: prizmkit.specify (start next feature) or prizmkit.retrospective (extract lessons)
Template
The registry template is located at ${SKILL_DIR}/assets/registry-template.md.
Output
.prizmkit/specs/REGISTRY.md— Updated with new feature entry and changelog record
微信扫一扫