handoff
O que ela faz
Esta skill escreve um resumo compacto de como o trabalho está, incluindo commits, itens em aberto, bloqueios e decisões. É para quem passa o trabalho para outra sessão ou para um colega.
Quando usar
- ✓Quando uma sessão está terminando e você quer retomar o trabalho depois.
- ✓Quando você quer passar o trabalho para um colega ou para uma nova sessão de IA.
- ✓Quando uma tarefa longa precisa de um ponto de controle claro antes de você se afastar.
Link da skill
https://github.com/codewhale-hq/Codewhale/blob/main/crates/skills/assets/skills/handoff/SKILL.mdCopie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.
Como usar
O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.
Mensagem pronta para colar
Para Claude Code, Codex ou Cursor: rode na pasta do projeto e a skill fica instalada.
Baixe o SKILL.md e coloque na pasta de skills do seu agente.
Exemplo do que pedir para a IA
“Escreva uma passagem desta sessão para eu continuar o trabalho de lançamento amanhã.”
5 skills novas por semana. 1 minuto de leitura.
Como funciona
A IA coleta o estado real a partir de ferramentas, como git status, branches e pull requests abertos, e depois escreve uma nota curta e pronta para decisão que a próxima sessão possa usar.
Conteúdo técnico (SKILL.md original)
Texto original do autor, em inglês, direto do GitHub.
Handoff
Write a compact, decision-ready handoff so the next session (or the user) can continue without reconstructing the current one. Use when the session is ending, context is running low, the user asks for a handoff / "pass the baton" / "hand off", or a long-running operation needs a durable state checkpoint. The goal: the durable artifact survives, the context does not need to.
Invocation: model+user
When to use
- The user says "handoff", "hand off", "pass the baton", "takeover prompt", "write me a handoff", or the session is about to end / compact.
- A long operation (multi-turn, multi-workstream) has state that must survive context loss: commits, branches, PRs, CI, blockers, decisions.
- You are switching to a fresh session and want the new session to start from evidence instead of reconstructing the old one.
What to do
Gather the truth from tools, not memory. Run/collect:
git branch --show-current,git status --short,git log --oneline origin/<default>..HEAD(what is local-only),git log --oneline -5(recent context).- Live remote state where relevant (
gh pr list --state open,gh pr checks <n>,gh run list) — only what the user's operation actually depends on; do not pad the handoff with a full GitHub dump. - Any in-flight work: dirty files, uncommitted slices, partial worktrees, running background jobs/workers, queued CI.
Write a compact markdown handoff (aim under ~60 lines; the user may also ask for a "short text-only" variant — then aim under ~15 lines):
# Handoff — <operation/session name> — <date> - **State:** <one-line: what is done vs in-flight vs blocked> - **Landed/committed:** <exact SHAs + one-line what> - **Branches/PRs:** <names + states; which are ours vs community> - **CI:** <what is green, what is waiting, what is broken> - **Blockers:** <exact blocker + what would unblock> - **Decisions made:** <the WHY that a fresh session must not re-litigate> - **Next step:** <the single next action, one line> - **Continuation records:** <pointers to partial work that must be preserved (worktrees, uncommitted files, receipts)>Persist it. Always write
.codewhale/handoff.mdin the workspace — that is the only path the runtime reads back. On the next session's first turn it is injected as the "## Previous Session Relay" block (HANDOFF_RELATIVE_PATH,crates/engine/src/prompts.rs:85; loader atprompts.rs:301-315). A handoff written anywhere else is never picked up, so the next session starts cold no matter how good the note is.Optionally also write a human-discoverable copy:
- If the workspace has an ops/notes convention (e.g.
codewhale-ops/notes/with a living handoff file), update the living handoff's dated facts and snapshot, or create<topic>-handoff-<date>.mdnext to it. - Otherwise the repo root as
HANDOFF.mdordocs/handoff/<topic>-<date>.md. These are for people; nothing in the runtime reads them. Never overwrite someone else's uncommitted handoff without reading it first.
- If the workspace has an ops/notes convention (e.g.
Clear the way for the new session ("clears context"). A skill cannot delete the current context, but it can make the context disposable:
- Ensure nothing is left only in memory: dirty work is either committed (WIP is fine with a real body), stashed with a note, or recorded in the handoff with its exact location.
- Kill or record background work that would outlive the session (background jobs, sub-agents) — record what is still running and its task id.
- Close with the one-line "next step" so the fresh session has an unambiguous first action.
Deliver. Give the user the compact handoff text in your reply (the persisted file is the durable copy; the reply is the readable one).
Constraints
- Facts only from tool output; never invent SHAs, check states, or blockers.
- Keep claims narrower than evidence: distinguish landed/committed, verified locally, CI-verified, and pending.
- Preserve other people's uncommitted work: read before touching, archive before overwriting.
- The handoff is orientation, not law: tell the next session to refresh live state before acting on it.
- If the user asks for a "short text-only" handoff, give exactly that in the reply and skip the full markdown file unless asked.
Perguntas frequentes
Ele depende da memória do chat?
Não. A skill diz para obter a verdade a partir das ferramentas, e não da memória.
Ele inclui todos os detalhes do GitHub?
Não. A skill diz para incluir apenas o estado remoto do qual a operação depende.
O que torna uma passagem útil?
A skill busca uma nota durável, para que a próxima sessão comece a partir de evidências, e não de reconstruções.
Detalhes
Descrição original do autor
Write a compact, decision-ready handoff so the next session (or the user) can continue without reconstructing the current one. Use when the session is ending, context is running low, the user asks for a handoff / 'pass the baton' / 'hand off', or a long-running operation needs a durable state checkpoint.
repo: codewhale-hq/Codewhale
Popularidade
- Estrelas no GitHub
- 41 mil
- Posição no ranking
- #6536
- Licença
- MIT
- Atualizada em
- 02/11/2026
Comentários
- …
Mais skills deste repositório
best-of-n
41 milAjuda seu agente a produzir várias respostas independentes para um problema difícil, avaliá-las com uma mesma régua e aplicar apenas a que passar nas verificações.
dataviz
41 milAjuda seu agente a escolher um gráfico ou painel adequado para seus dados, com rótulos claros, notas sobre as fontes e verificações de eixos e valores ausentes.
debug
41 milAjuda seu agente a encontrar a causa real de um bug, reproduzindo-o, restringindo o problema e corrigindo somente quando você aprovar, em vez de adivinhar.
delegate
41 milEnsina seu agente a dividir uma tarefa grande em auxiliares paralelos e focados, mantendo o planejamento, a integração e a verificação final sob seu próprio controle.
Skills parecidas
knowledge-capture
394 milEnsina seu agente a salvar decisões, preferências e fatos importantes no seu Knowledge vault como notas curtas, com a indicação da fonte.
knowledge-claim-consolidation
394 milAjuda seu agente a organizar um Knowledge vault unindo afirmações duplicadas, movendo-as para as páginas de assunto certas e aposentando as desatualizadas.
knowledge-correct
394 milPermite que seu agente corrija ou retire uma afirmação ou página específica do Knowledge vault quando você pedir, mantendo um registro do que mudou.