Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Use for continuing, resuming, or closing substantial multi-session work; chained AI sessions; blind-AI handoff; living docs; roadmap/spec/progress/session-handoff/CHANGELOG updates; next slash goal or next-session prompt; Git/PR/worktree closeout. NOT for trivial one-off edits or urgent one-command ops.
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-07 | ✗→✓ | ▲ Improved | 196% | 0% |
| case-10 | ✗→✓ | ▲ Improved | 126% | 0% |
| case-17 | ✗→✓ | ▲ Improved | 248% | 0% |
| case-18 | ✗→✓ | ▲ Improved | 28% | 0% |
| case-22 | ✗→✓ | ▲ Improved | 89% | 0% |
Use this as the reusable handoff loop for substantial work that spans sessions, agents, branches, or PRs. The goal is continuity without ceremony: a future blind AI should be able to reopen the repo, read the living docs, verify current state, and continue without relying on chat memory.
Run the full loop when the task changes project state, code, config, business status, roadmap, spec, evidence, branch/PR state, or the next session's work.
Skip the full loop for trivial one-off work: a single command, short translation, small answer, read-only check with no durable decision, or urgent one-command operation. If in doubt, do the smallest useful version: verify reality, work, and leave a brief handoff note only if future work needs it.
new-projectUse new-project before this skill when starting a new project, repo, feature, build, or phase kickoff. new-project is the foundation gate that consults the engineering and business standards.
Use this skill after the project already exists, when continuing work or closing a session. If the continuity pass discovers missing charter, spec, ADR, metrics, roadmap, or engineering gates for a new phase, invoke new-project or the specific missing standard instead of duplicating that checklist here.
AGENTS.md, CLAUDE.md, GEMINI.md, andany repo-local workflow file such as docs/ai-workflow.md.
candidates: session-handoff.md, SESSION-HANDOFF.md, PROGRESS.md, README.md, CHANGELOG.md, docs/roadmap.md, docs/SPEC.md, docs/specs/, docs/adr/, docs/engineering-gates.md, and docs/launch/.
git status --short --branch,git status --porcelain, current branch, latest commit, and remotes.
open PRs before editing.
state, current PR state, and freshly verified external sources win.
ambiguous, or explicitly requested review. Do not turn model consensus into a replacement for tests, CI, source code, or primary docs.
unrelated dirty work from another agent or the owner.
material in docs, prompts, commits, PRs, or logs.
Before saying the session is done, update the smallest living-doc set that lets a future blind AI continue:
PROGRESS.md: current status, metrics, lanes, blockers, and next milestone.CHANGELOG.md: durable shipped or user-visible change.what not to do.
chat/session.
When work should continue in a fresh chat, the final chat response must also include both handoff launch artifacts, not only point to a file:
/goal ... command with the next concreteobjective, hard boundaries, validation gates, and closeout requirements.
history. It must be paste-ready, not a pointer to context. It must name the workspace path, read order, source-of-truth ranking, reality-verification commands, current known state as hypothesis, Git/PR state, validation gates, living docs to update, next execution objective, first safe actions, and explicit "do not do" boundaries.
Self-containedness is a quality gate, not a nice-to-have. The next-session prompt should be as self-contained as practical: include enough current state, evidence, commands, constraints, open blockers, next actions, and forbidden actions for a blank-session AI to execute without inferring intent from the previous chat. It should still tell the next AI to read and verify the living docs first, because prompt state is a bootstrap hypothesis, not authority. The trade-off is a longer prompt; accept that cost when the work spans sessions, PRs, product phases, credentials, external gates, or multi-agent coordination.
Minimum next-session prompt contract:
give the absolute workspace path.
living docs beat chat memory; old plans are hypotheses.
upstream, remotes, PR list/view, test/build gates, and any required external primary-source check.
clean/dirty status, last successful/failed validations, blocker, and what is known only as a hypothesis.
start yet.
merge rules, external services, and any project-specific no-go condition.
should run after verification, with expected evidence.
to organize, and requirement to produce the next slash goal and prompt.
Final-session prompts must be instantiated, not skeletal templates. Do not leave unresolved placeholders such as <branch>, <PR_NUMBER>, <repo>, <objective>, or "fill this in" in the prompt the next agent will paste. If a value is truly unknown, write a concrete unknown marker plus the exact verification command, for example: PR: unknown - run gh pr list --author "@me" --state open --json number,title,headRefName,baseRefName,url. Reusable documentation templates may use placeholders only when they are explicitly labeled as templates and are not being presented as the actual next-session prompt.
Anti-patterns:
self-contained.
not self-contained.
time" is not self-contained.
tokens, private keys, or collected private datasets is unsafe and must be rewritten.
Before finalizing, run the blank-session test: could a different AI paste this prompt into a new session and know the repo, what to read, what to verify, what is currently blocked, what to do first, what not to do, what proves success, and how to close the next session? If not, rewrite the prompt.
Do this after the living docs are updated and after Git/PR state is organized. If the session is trivial or no chained continuation is useful, say that no next-session prompt is needed instead of producing ritual boilerplate.
Run validation proportionate to the change. For docs-only work, use grep, manifest checks, markdown checks, or repo-specific validation. For code, run the project's test/build gates. Then do Git/PR hygiene:
available.
If a repo will be multi-session and has no workflow config, create or update docs/ai-workflow.md from assets/ai-workflow-template.md. Keep it specific: living docs, read order, validation commands, branch/PR policy, model review policy, and what counts as a substantive session.
Use this handoff shape in docs or final reports:
session should continue the chain. If the final answer also links to a file, the chat prompt must still stand on its own as a bootstrap artifact.
reality.
decision-oriented.
branch locally.
Other measured skills in the registry, with their headline benchmark lift.