close-loop
// End-of-session workflow for shipping changes, consolidating memory, applying self-improvements, and preparing publishable outputs with safety gates.
$ git log --oneline --stat
stars:1,933
forks:367
updated:March 4, 2026
SKILL.mdreadonly
SKILL.md Frontmatter
nameclose-loop
descriptionEnd-of-session workflow for shipping changes, consolidating memory, applying self-improvements, and preparing publishable outputs with safety gates.
licenseMIT
metadata[object Object]
Close Loop
Use this skill when the user says "wrap up", "close session", "end session", "close out this task", or invokes /wrap-up.
Run four phases in order and return one consolidated inline report.
Modular structure
This skill is split into components for maintainability:
components/01-design-principles.mdcomponents/02-phase-1-ship-state.mdcomponents/03-phase-2-memory.mdcomponents/04-phase-3-4-and-output.md
Follow these components in order.
Quick run order
- Apply execution policy and action gates (
01-design-principles.md) - Execute Ship State (
02-phase-1-ship-state.md) - Consolidate Memory (
03-phase-2-memory.md) - Run improvements + publish queue + output contract (
04-phase-3-4-and-output.md)
Required output
Return:
- Artifact A: human-readable report sections exactly as defined in component 04
- Artifact B: machine-readable JSON block exactly as defined in component 04
Resources
references/memory-frameworks.mdassets/templates/wrap-report-template.md