archive-feature
Installation
SKILL.md
Archive Feature
Close finished features and move them out of .scratch/ so they survive the periodic wipe. Works from the files only. Never ticks a checkbox, never edits ticket content other than the Status: line.
Input
Optional. Either one feature, as a folder name (.scratch/<feature-slug>/) or a path to its SPEC.md (resolve both to the feature folder), or nothing.
- One feature: if the folder has no
SPEC.md, it is not a feature: say so and stop. Then run steps 1 to 7 for it. - No argument: run the no-argument run after step 1. Do not ask which feature to archive.
1. Tracker check
If docs/agents/issue-tracker.md exists and names a tracker other than local markdown (GitHub, GitLab, Linear, ...), say this skill does not apply to a remote tracker and stop. Touch nothing.
2. Check readiness
Read the spec and every file in .scratch/<feature-slug>/tickets/.