agentleFS
BappozBappoz/My-Claude-Skills/skills/agent-orchestration/handoff/SKILL.md

handoff

Skill1 starsChanged 4 months agoMITView on GitHub

Transfere contexto entre agentes ou sessões sem perda: o que incluir num handoff, como serializar estado, decisões e próximos passos para que quem recebe continue sem re-descobrir nada. Use quando o usuário mencionar: "handoff", "passar o contexto", "continuar em outra sessão", "transferir para outro agente", "resumo para continuar", "onde paramos", "context handoff", "retomar trabalho".

191 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use decision-mapping, setup-ts-deep-modules 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.
  • FabienDehopreSkill

    decision-mapping

    Turn a loose idea into a sequenced map of investigation tickets, then drive them to resolution one at a time.

    Also in 8 projects that use this

  • liufeng1976Skill

    setup-ts-deep-modules

    Wire dependency-cruiser into a TypeScript repo so each package is a deep module — implementation hidden in subfolders, reachable only through its entry-point files. User-invoked.

    Also in 42 projects that use this

  • AWSSkill

    to-questionnaire

    Turn a decision you can't fully answer into a questionnaire for someone else to fill in.

    Also in 93 projects that use this

  • GoogleSkill

    ask-matt

    Ask which skill or flow fits your situation. A router over the skills in this repo.

    Also in 87 projects that use this

  • RoentekSkill

    loop-me

    Grill me about specs for the workflows I want to build, within this workspace.

    Also in 51 projects that use this

  • LesaniSkill

    writing-beats

    Shape an article as a journey of beats, choose-your-own-adventure style. The user picks a starting beat from the raw material, you write only that beat, then offer options for where to pivot next, beat by beat, until the article reaches a natural end. Use when the user has raw material and wants to assemble it as a narrative rather than an argument.

    Also in 54 projects that use this

The file

Files
SKILL.md

Handoff

Você atua como quem prepara a passagem de bastão. Objetivo: escrever um handoff que permita a outro agente (ou você mesmo numa sessão nova, ou um humano) continuar do ponto exato sem re-derivar contexto. Um bom handoff é a diferença entre retomar em 1 minuto e refazer meia hora de descoberta.

Princípios

  1. Quem recebe começa do zero — não assuma memória compartilhada. Se importa para continuar, está no documento.
  2. Estado > narrativa — o que está feito, o que falta, o que decidimos e por quê. Menos história, mais fatos acionáveis.
  3. Decisões com razão — registre não só o "o quê" mas o "porquê", senão o próximo agente reverte suas escolhas.
  4. Próximo passo inequívoco — a primeira coisa a fazer deve estar explícita, com o caminho de arquivo/comando.
  5. Ponteiros, não cópias — aponte para arquivos/PRs/linhas (path:line) em vez de colar tudo.

Template de handoff

# Handoff — <tópico> — <data>

## Objetivo
<o que estamos tentando alcançar, 1 frase>

## Estado atual
- Feito: <bullets do que já funciona, com caminhos>
- Em andamento: <o que está no meio, onde exatamente>
- Falta: <o que ainda não foi feito>

## Decisões tomadas (e por quê)
- <decisão> → <razão> → <alternativa descartada>

## Arquivos-chave
- `path/to/file.ts:120` — <o que é / por que importa>

## Próximo passo (fazer primeiro)
1. <ação concreta com comando/caminho>

## Armadilhas / o que NÃO fazer
- <erro já cometido e evitado; suposição que parece certa mas não é>

## Como verificar
- <comando de teste / o que observar para saber que está certo>

Quando fazer handoff

  • Fim de sessão com trabalho incompleto.
  • Passar uma fatia para um subagent (ver [[task-distributor]] — o "pacote de tarefa" é um handoff enxuto).
  • Trocar de contexto/janela e querer retomar depois.
  • Escalar para um humano (inclua o que você tentou e onde travou).

Anti-padrões

  • Narração cronológica ("primeiro fiz X, depois Y…") em vez de estado final acionável.
  • Decisões sem razão — o próximo agente desfaz sem saber.
  • Colar contexto gigante — ruído afoga o sinal; use ponteiros.
  • Omitir armadilhas — o próximo repete o erro que você já pagou para descobrir.
  • Próximo passo vago ("continuar o trabalho") — diga o arquivo e a ação.

Recursos externos

RecursoO que pegar
Anthropic — Context engineeringO que colocar/deixar de fora do contexto de um agente.
Google SRE — Handover / on-callPrática de passagem de plantão (o que transferir).
ADR (Architecture Decision Records)Registrar decisão + razão + alternativas de forma durável.

Do / Don't

DoDon't
Estado acionávelDiário cronológico
Decisão + razãoSó "o quê"
Ponteiros path:lineColar arquivos inteiros
Próximo passo concreto"Continuar"
Listar armadilhasDeixar o próximo repetir o erro

Checklist

  • Objetivo em 1 frase
  • Feito / em andamento / falta
  • Decisões com razão e alternativas
  • Arquivos-chave com path:line
  • Primeiro próximo passo inequívoco
  • Armadilhas registradas
  • Como verificar incluído

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.