handoff
Prepare a durable, concise transfer to a fresh context with current records, decision authority, evidence, and the next action.
- License 许可
- MIT
- 最近更新
- 2026-11-11
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- handoff
- metadata
- { "author": "Brenden Bishop", "attribution": "../../../ATTRIBUTION.md" }
- description
- Prepare a durable, concise transfer to a fresh context with current records, decision authority, evidence, and the next action.
- disable-model-invocation
- true
02 资源文件 1
- 参考文档agents/openai.yaml43 B
03 SKILL.md 正文
Handoff
Prepare the next session to continue the work, using the user's stated next phase when supplied. Read workspace access and decision authority. Write artifacts/handoffs/<topic>-<unique-session>.md beneath the owning private workspace. Do not rely on an OS temporary directory for a resumable handoff.
Include only what the receiver needs:
- Goal, active phase, next action, and explicit exclusions.
- Decision owner and exact scope of any delegation, with its grant/confirmation reference. Separate planning permission from implementation or external-delivery permission.
- Owning workspace, project/worktree and branch, relevant commit or dirty-work description, record IDs and read revisions, and accepted spec/answer versions. Identify planning and ticket providers separately.
- Usable selected prototype, launch command, preservation requests, and other artifact references. Keep the selected target available until the receiver can use it.
- Checked evidence, unresolved risks, waits, blockers, and what was only reported or remains unverified.
- The governing router and needed skill paths, plus the proposed model role if configured. Paths and record IDs are the durable pointers; native session IDs are optional locators.
Reference specs, applicable ADR IDs and paths, commits, diffs, and research instead of repeating their bodies. Name any unresolved proposed departure from an ADR; the receiver checks its current status using the shared decision process. Exclude credentials, claim tokens, secrets, and unnecessary personal data. Finish with a short startup instruction naming the immediate action and source records to reread.
A prototype-to-production transition requires a fresh context. Other substantial phase changes benefit from one; avoid restarting a small ongoing step merely because the skill name changes. Write the handoff before launching or relinquishing the current context. Release the current claim when pausing or transferring ownership; the receiver must acquire its own.
Use native fresh-session and model selection only when supported and authorized. Verify configured model availability; do not guess a substitute. If launch is unavailable, return the handoff path and the exact action the user must take to start a fresh session and read it. That is a prepared handoff, not a completed transfer. Explicit unattended work requiring automatic launch must report that capability gap in preflight, before starting the dependent workflow.
The receiver reads the governing skills and current records, compares revisions/sources and authority, checks blockers, then acquires its own claim. Stale records trigger reconciliation before work resumes. A handoff is a guide to authoritative records, not permission to ignore newer decisions.
04 同仓库更多 Skills
why
Use for 'why does X work this way', 'why we picked Y', design rationale, regressions, postmortems, or data-backed thresholds. Discovers available MCPs and queries each evidence category (source control, issue tracker, long-form docs, real-time chat, infrastructure observability, error tracking, product analytics warehouse) in parallel, then returns a cited read on decisions and tradeoffs. Use how for runtime behavior.
unslop
Cut AI tells from any writing. Must always apply.
typescript-best-practices
TypeScript best practices. Use when reading or editing any .ts or .tsx file.
technical-writing
Layered technical-writing standard: Diátaxis structure, Google developer style sentences, STE instruction rules, Global English syntax. Use for /technical-writing or when writing or reviewing docs, RFCs, readmes, PR descriptions, or commit messages.
teach
Explain a body of work plainly so a person actually understands it. Runs the `how` and `why` skills and weaves what they find into one clear explanation. Use for 'teach me this', 'help me really understand X', 'explain this change or subsystem to me'.
tdd
Use only when the user explicitly asks for TDD, a failing test, or a regression test, OR when the bug has an obvious cheap local test target. Skip when the test path is unclear, expensive, integration-heavy, or not requested.