closeout
Skill2 starsChanged 7 months agoMITView on GitHub
Use at the END of a work session -- before compacting context, before declaring work done, or via /architect-team:closeout. Reviews the changes against the requirement and updates any lax doc in the currency inventory itself. Fires via the PreCompact hook too; works from the working-tree diff, outside a full run.
12 other projects use a version of this.
Adopted by
Most recently taken up by
- jaywedgeworth22/BotFleettheir own version, first seen Nov 29, 2026
- Simple-With-Us/BotFleettheir own version, first seen Nov 29, 2026
- chrislacey89/skillstheir own version, first seen Nov 19, 2026
- Jorgut/skill-atlastheir own version, first seen Nov 1, 2026
- leek/agent-skillstheir own version, first seen Nov 1, 2026
- siarhei-belavus/agent-smitttheir own version, first seen Nov 1, 2026
Used with
Projects with it also use prototype, research and 10 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.
GoogleSkillprototype
Build a throwaway prototype to answer a design question. Use when the user wants to sanity-check whether a state model or logic feels right, or explore what a UI should look like.
Also in 4 projects that use this
NVIDIASkillresearch
Before designing a feature, research how comparable libraries solve the problem, check best practices, known pitfalls, and upstream changes. Use when starting a new feature, investigating an unfamiliar area, or the user asks to research something.
Also in 4 projects that use this
MicrosoftSkillhandoff
Compact the current conversation into a handoff document for another agent to pick up.
Also in 5 projects that use this
GoogleSkillteach
Teach the user a new skill or concept, within this workspace.
Also in 3 projects that use this
AWSSkillretro
Conduct a retrospective on a coding session.
Also in 3 projects that use this
MicrosoftSkillgrill-with-docs
Grilling session that challenges your plan against the existing domain model, sharpens terminology, and updates documentation (CONTEXT.md, ADRs) inline as decisions crystallise. Use when user wants to stress-test a plan against their project's language and documented decisions.
Also in 3 projects that use this
- +5 more from google
Other versions12 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 12
- kriegcloud/beep-effect★ 80same name
- dannys-code-corner/incan★ 75same name
- HaipingShi/coderail★ 8same name
- chrislacey89/skills★ 7same name
- leek/agent-skills★ 5same name
- jaywedgeworth22/BotFleet★ 4same name
- Jorgut/skill-atlas★ 4same name
- siarhei-belavus/agent-smitt★ 4same name
- Simple-With-Us/BotFleet★ 4same name
- aylee/agent-os★ 0same name
2 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.
In this repository64 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- openspec-apply-changeSkill
- openspec-archive-changeSkill
- openspec-exploreSkill
- openspec-proposeSkill
- api-design-from-frontendSkill
- architect-team-pipelineSkill
- bug-fix-pipelineSkill
- cartographer-teamSkill
- claude-design-importSkill
- claude-md-efficiencySkill
- common-pipeline-conventionsSkill
- contract-first-parallelismSkill
- coverage-mappingSkill
- ct6-agent-coreSkill
- data-annotationsSkill
- data-dictionarySkill
- data-engineering-explorationSkill
- data-eng-pipelineSkill
- data-lineage-mappingSkill
- delivery-manifestSkill
- design-fidelity-mappingSkill
- dev-api-integration-testingSkill
- diagnostic-research-teamSkill
- documentation-currencySkill
- domain-research-teamSkill
- dynamic-value-discoverySkill
- editability-completenessSkill
- email-testingSkill
- endpoint-trace-mappingSkill
- expensive-verification-debuggingSkill
- frontend-route-mappingSkill
- helpdeskSkill
- intake-and-mappingSkill
- interaction-completenessSkill
- interaction-intuitionSkill
- interactive-mockup-discoverySkill
- intuition-map-lifecycleSkill
- mcp-output-contract-designSkill
- mempalace-integrationSkill
- mini-architect-team-pipelineSkill
- page-publishingSkill
- phenotype-absorptionSkill
- phenotypesSkill
- playwright-suite-builderSkill
- playwright-user-flowsSkill
- project-homepageSkill
- project-principlesSkill
- proposal-refinerSkill
- readme-stylingSkill
- reuse-first-designSkill
- root-cause-test-failuresSkill
- structure-optimizationSkill
- team-spawning-and-review-gatesSkill
- test-prod-safety-classifierSkill
- test-run-monitorSkill
- token-compressionSkill
- ux-test-builderSkill
- verification-planningSkill
- verified-agent-outputSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 4 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 12 edited versions we read keep these.
4
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
- Distinctive: line 30
At any end-of-work boundary: Before you tell the user the work is done, run the closeout review.
- Distinctive: line 45
Run the engine to get the advisory staleness signals:
- Distinctive: line 63
Read the working-tree diff (git diff + git status) — what did this session change?
- Distinctive: line 75
If any doc is stale or incomplete, perform the update — do not merely suggest it.
- Very specific: line 81
When the closeout is run as an isolated/heavy pass, spawn the closeout-agent to do Steps 1-3 (it carries the bounded doc-write scope).
“Common” is measured: kept by at least 6 in 10 of the 12 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
Closeout (CO-1 … CO-3)
Work is not done when the code is done — it is done when the code AND the documentation reflect what changed. The closeout is the last-mile double-check that closes that gap: before context is compacted or work is declared finished, review what changed against the requirement, confirm every affected document is current, and update any that are stale — yourself, now, not as a deferred follow-up.
This skill is the contract. The deterministic staleness detector is
hooks/closeout_check.py (stdlib-only); the automatic trigger is the
PreCompact hook hooks/precompact-closeout.py. The actual review-and-update
work reuses the documentation-currency discipline (the canonical inventory
- per-doc rules) and the
doc-updaterwhole-file-rewrite pattern. Do not re-implement those — follow them.
When this fires (CO-1)
- Automatically, before compaction. The
PreCompacthook runscloseout_check.pyagainst the working tree and, when docs look stale, injects a reminder to run this skill BEFORE the compaction proceeds. The hook is a non-blocking double-check — it never blocks compaction; performing the update is your job, prompted by the reminder. - At any end-of-work boundary. Before you tell the user the work is done, run the closeout review.
- On demand via
/architect-team:closeout(read-only with--check).
The closeout is distinct from the pipeline's Phase-8 doc-currency gate: that gate
runs inside a full /architect-team run with a coverage-map + run ledger; the
closeout runs at ANY session's end (often with no pipeline artifacts at all),
working from the git working-tree diff. That is why it has its own engine + agent
(closeout-agent) rather than reusing doc-updater directly — doc-updater
depends on pipeline artifacts the closeout context may not have.
Workflow
Step 1 — Assess (deterministic signals)
Run the engine to get the advisory staleness signals:
$(command -v python3 || command -v python) hooks/closeout_check.py --repo . --jsonIt classifies the working-tree changes into code / docs / version /
new_surfaces and emits signals such as code-changed-no-doc,
version-bumped-no-changelog, source-changed-no-changelog, and
new-surface-undocumented. docs_appear_current: true with no signals means the
deterministic check is clean — but still do Step 2 (the engine catches structural
staleness, not semantic staleness).
Step 2 — Review against the requirement (CO-2)
Independently review the session's changes against the requirement / mandate (what the user actually asked for), not just against the engine signals:
- Read the working-tree diff (
git diff+git status) — what did this session change? - For each change, ask: which docs in the
documentation-currencyinventory does it affect? (README, CHANGELOG, CLAUDE.md, AGENTS.md,docs/CODEBASE_MAP.md,docs/INTEGRATION_MAP.md, per-codebase*_MAP.md, and — when present —phenotypes/README.md/SCHEMA.md.) - Is each affected doc current with what shipped? Counts, version strings, new surfaces (skills/agents/commands), new external integrations, the CHANGELOG entry, the map note ledgers.
Step 3 — Update if lax, do not just flag (CO-3)
If any doc is stale or incomplete, perform the update — do not merely suggest
it. Apply the documentation-currency per-doc rules and the doc-updater
discipline: whole-file rewrites that touch ONLY the currency inventory (never
source, tests, openspec/*, or the version source-of-truth — the version bump is
the orchestrator's job). Every update must cite the triggering change.
When the closeout is run as an isolated/heavy pass, spawn the closeout-agent
to do Steps 1-3 (it carries the bounded doc-write scope). For an inline closeout
at the end of a normal session, do the review-and-update directly per this skill.
Step 4 — Confirm
State plainly what was reviewed and what was updated (or that docs were already current). Then it is safe to compact / declare done. If you updated docs, the changes are part of the session's work — commit them with it, do not leave a stale doc and a fixed code in the same state.
Honest boundary
The engine's signals are heuristics — code-changed-no-doc can fire when the
docs genuinely needed no change (e.g. a pure refactor), and a clean engine result
does not prove semantic currency. The engine narrows where to look; the
review (Step 2) is judgment. Never silence a signal by editing a doc you did not
actually need to change, and never claim docs are current without having looked.
Cross-references
hooks/closeout_check.py— the deterministic staleness engine (the machine).hooks/precompact-closeout.py— the PreCompact trigger (CO-1).skills/documentation-currency— the canonical currency inventory + per-doc rules this skill applies.agents/closeout-agent— the spawnable worker for an isolated closeout pass.agents/doc-updater— the in-pipeline (Phase 8) counterpart + the whole-file-rewrite pattern this skill reuses.
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.

