archive
Skill2 starsChanged 5 days agoMITView on GitHub
Close a PASS-reviewed feature or bug: kf status / kf sync close it once its PR is merged, kf archive is the explicit idempotent form. Features require a completion report (written at review PASS) and canonical docs; bug docs are updated in review and the close changes none. Use at review PASS for the feature report, or when completing closure in done.
22 other projects use a version of this.
Adopted by
Most recently taken up by
- egregore-labs/egregoretheir own version, first seen Nov 6, 2026
- myowinthein/claude-helmtheir own version, first seen Nov 1, 2026
- serbanghita/plan-critique-skillstheir own version, first seen Nov 1, 2026
- kirkchen/beattheir own version, first seen Nov 1, 2026
- matthewdigiuseppe/MStacktheir own version, first seen Nov 1, 2026
- bks-lab/open-bridgetheir own version, first seen Oct 30, 2026
Used with
Projects with it also use distill, status and 1 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
HK-hubSkilldistill
Strip designs to their essence by removing unnecessary complexity. Great design is simple, powerful, and clean. Use when the user asks to simplify, declutter, reduce noise, remove elements, or make a UI cleaner and more focused.
Also in 3 projects that use this
AnthropicSkillstatus
Case status summary by audience — client-facing (plain language), internal (for the professor), or court-ready (formal caption format per local rules). Same facts, different framing and depth. Use when a student needs to update the client, brief the professor, or prepare a court status report.
Also in 3 projects that use this
MicrosoftSkillhandoff
Compact the current conversation into a handoff document for another agent to pick up.
Also in 3 projects that use this
Other versions22 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 22
- ReScienceLab/opc-skills★ 1.9ksame name
- egregore-labs/egregore★ 293same name
- matthewdigiuseppe/MStack★ 17same name
- bks-lab/open-bridge★ 13same name
- serbanghita/plan-critique-skills★ 13same name
- kirkchen/beat★ 9same name
- philippe-desplats/second-brain★ 6same name
- codebycorey/delta-spec★ 4same name
- grasscaograss/AwesomeWeldoneSkills★ 2same name
- jcordon5/archive-skill★ 2same name
12 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
We split this skill into the rules it gives an agent
1 rule. 0 are common, 0 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 18 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 28
Write the feature report at review PASS (kf:review step 10): the close validates the item as done and refuses without it.
“Common” is measured: kept by at least 6 in 10 of the 18 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Kanban Phase 6 — Artifact (Autonomous)
Argument: <feature_name>.
Close the work item with traceable results and the appropriate documentation.
Closing is internal — nobody is asked for it. Once the human merges a review-PASS item's recorded PR on GitHub, kf status --change {feature_name} (or kf status --all), kf sync or kf archive closes it; a landing: none item closes when its branch has 0 commits ahead of its base. kf archive is the explicit form of the same transaction: it refuses while a recorded pr is not verifiably merged (exit 1, no side effects, no --force escape). Until the merge, the item waits in review, listed under Waiting to merge in kf status --all. The close moves it to done, syncs canonical docs, closes the issue, moves the board and stamps delivered — all idempotent, so a re-run reconciles.
1. Prepare closure artifacts
kf status --change {feature_name}
kf status --change {feature_name} --jsonRequire current PASS testing and review reports. Read kind before choosing closure work:
- Feature: use
kf instruct feature-report --change {feature_name}and writephase-6-feature-report.mdin the review folder. Include actual changes, test/review evidence, documentation manifest, limitations and accepted follow-ups. - Bug: no feature report or feature planning artifacts are required. Read the bug report and review result; confirm the verified fix, regression evidence and docs impact.
Write the feature report at review PASS (kf:review step 10): the close validates the item as done and refuses without it. If already in done, complete only missing closure work and validate; never reimplement.
2. Sync docs
For a feature, let the close copy requirement, UC index/files/diagram and test plan/current result into canonical docs. The requirement under docs/requirement/ is written here, from the Phase 1 artifact; brainstorm writes nothing under docs/. Every canonical copy except the test result is stamped status: archived, and the UC index rows flip from planned to implemented. Do not manually copy the UC index/files, diagram or test plan before archive, and do not change approved source artifacts during closure.
2b. Reconcile superseded docs (mandatory, in review)
docs/ must describe the system as it is after this feature, not as each older feature left it. This runs in review, not at the close — the close is silent inside kf status / kf sync and loads no skill: kf:review step 2b reads reconcile.md and follows it in the item worktree before the code-reviewer dispatch, commits the edits on the item branch (the reviewers see them and they go into the PR), and writes the result to reviews/<execution-id>/docs-reconciled.md, which the feature report written at step 10 copies into ## Docs Reconciled (None — <reason> when nothing is affected). The procedure: find earlier canonical docs and docs/workflow/* that describe behavior this feature changes, mark contradicted snapshots with a Superseded by banner, bring workflow docs up to date. Never rewrite another feature's snapshot body. Refreshing an item already in done whose ## Docs Reconciled is missing or empty: run it now, in the place section 4 names.
For a bug, the same review step updates related feature docs and the changelog entry, or records No documentation update required — <reason> in the review report (reconcile.md, "A bug"). The close changes no bug docs and creates no canonical feature docs.
3. Close and validate
kf status --change {feature_name} # closes a review-PASS item whose PR merged
kf archive {feature_name} # the explicit form of the same close; idempotent
kf validate --change {feature_name}The close requires current PASS reports, verifies the recorded PR is merged (or, with landing: none, that the branch has 0 commits ahead of its base), refuses while the item worktree is dirty, runs the done hook — which closes the issue and moves the board to statusMap.done — removes the item worktree, deletes the merged branch locally and on origin, syncs canonical docs for a feature, moves review → done and stamps delivered/deliveredAt last. Bugs skip canonical docs. If it refuses on an unmerged PR, the item is not done — the human merges it first. Other refusals:
- PR closed without merge — the item stays in review: report it and ask. The human reopens the PR, or opens a new one and records it with
kf issues link {feature_name} <new PR URL> --pr --replace(--replaceis allowed only when the recorded PR was closed unmerged). - Done hook refused — unticked acceptance criteria on the linked issue stop the close. Report which, and ask the human: they tick them, or approve
kf archive {feature_name} --skip-hooks, a recorded bypass. - Local branch past the merged head — the item branch has commits the merged PR does not; the close refuses rather than delete them. Report the commits and ask.
kf sync closes a landing: none item even when .kf/config.json sets no repository. Validate after archive and check reported canonical destinations for a feature. Do not report completion if validation fails.
When refreshing an item already in done, canonical docs may include later bug fixes. If the CLI reports changed canonical docs, preserve them with --skip-specs; do not use --force to restore an older snapshot without explicit user direction — a forced overwrite is recorded as a bypass.
4. Git handoff
git statusThe close runs after the change merged, so its output is a docs-only change, written to exactly one place and printed: the working tree when the repository has no origin or origin/HEAD is not set (the output says so), or when the primary checkout is on the default branch, not behind origin, with no uncommitted changes to tracked files (untracked files do not count); otherwise an unpushed docs/<context>-<feature> branch cut from origin/<default> (meta.docsBranch), leaving the primary working tree untouched. The reconciled docs of step 2b already merged with the PR; only a reconcile run late for an item already in done goes to the same place — for a docs branch, git worktree add <tmp> docs/<context>-<feature>, edit and commit there, then remove the temporary worktree. Push the docs branch and open its PR only when the user requested it or project instructions require it; until then kf status --all lists it under Waiting to merge. Commit messages:
- Feature:
docs({context}): sync canonical docs for {feature_name}— the canonical copies (plus a late step 2b reconcile, when one ran here). - Bug: none — its related-docs update was the review-time reconcile commit, merged with the PR.
In the working-tree case, commit on its own branch and PR when the user requested it or project instructions require it. Include only this work item's changes, respect ignored .works directories and preserve unrelated working-tree changes. Otherwise report that changes are uncommitted.
Done
Pipeline complete. Deliver the final report:
## Pipeline Complete: {context}/{feature_name}
1. ✓ Confirm — requirement or bug triage
2. ✓ Plan — approved feature contract or lightweight bug contract
3. ✓ Implement — {M}/{M} tasks
4. ✓ Test — {N}/{N} passed
5. ✓ Review — PASS, PR {url or landing: none}, ci {green|none}
6. ✓ Close — merged on GitHub, done; docs sync/update status ({path or docs branch}), docs reconciled: {list or None}
Artifacts: .works/done/{feature_name}_{timestamp}/
Feature canonical docs:
- docs/requirement/{context}/{feature_name}.md
- docs/use-cases/{context}/{feature_name}/README.md
- docs/use-cases/{context}/{feature_name}/UC-###(-<slug>).md (one file per use case)
- docs/use-cases/{context}/{feature_name}/diagram.md
- docs/testplan/{context}/{feature_name}.md
- docs/testplan/{context}/{feature_name}-result.mdFor bugs, list only related docs actually updated, or state why none were needed. Report the commit SHA only if a commit was made.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

