返回 Skill 列表
extension
分类: 开发与工程无需 API Key

"prizmkit-summarize"

将已完成的功能归档到REGISTRY.md。从规范中提取元数据,扫描代码,更新功能索引。在代码审查通过或功能完成后调用。(项目)

person作者: jakexiaohubgithub

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:

  1. Read spec.md, plan.md, data-model.md, contracts/, tasks.md
  2. Analyze tasks.md completion rate — warn if < 100%
  3. Scan actual code directories for core file paths
  4. 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
  5. Append to .prizmkit/specs/REGISTRY.md (create from template ${SKILL_DIR}/assets/registry-template.md if not exists)
  6. Append changelog entry
  7. Output: registry entry summary

KEY RULES:

  • Idempotent: same input MUST produce same output on re-run
  • If tasks.md completion < 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