Generate docs and mark feature as archived
Generates feature documentation and changelog entries, then marks the feature as archived.
/plugin marketplace add adeonir/claude-code-extras/plugin install spec-driven@claude-code-extrasIDGenerate documentation from the completed feature and mark it as archived.
[ID] - Feature ID (optional if branch is associated)Arguments received: $ARGUMENTS
If ID provided:
If no ID:
.specs/*/spec.md for matching branch: in frontmatterRead .specs/{ID}-{feature}/spec.md frontmatter.
Check status:
done: proceedto-review: suggest running /spec-driven:validate firstRead from .specs/{ID}-{feature}/:
spec.md - Overview and feature descriptionplan.md - Architecture decisionstasks.md - Count completed tasksDetermine target path from feature name (e.g., add-2fa -> docs/features/auth.md or new file).
If docs/features/{relevant}.md exists:
If not:
Create/update docs/features/{feature}.md (NO changelog section - just permanent docs):
# {Feature Title}
## Overview
{from spec.md Overview section}
## Architecture Decisions
{from plan.md Architecture Decision section}
Update docs/CHANGELOG.md (create if not exists):
# Changelog
## {YYYY-MM-DD}
### Added
- {New capabilities from this feature}
### Changed
- {Modified behaviors}
### Removed
- {Deprecated/removed items}
## {previous date}
...
Rules for changelog:
Update .specs/{ID}-{feature}/spec.md frontmatter:
status: archivedInform user:
docs/features/{file}.mddocs/CHANGELOG.md.specs/{ID}-{feature}/ manually if desired/spec-driven:validate first