/ops:handoffSession Handoff
Note tout ce qu'il faut savoir sur ta session en cours dans un document daté : ce que tu cherches à faire, les décisions prises, où tu en es, les prochaines étapes, les fichiers modifiés et les questions en suspens. Une nouvelle session repart de là sans devoir tout redécouvrir. Règle d'or : on pointe vers les fichiers et les liens, on ne recopie pas leur contenu. Ce n'est pas une mémoire permanente, c'est une photo du travail en cours, datée du jour, utile le temps de reprendre la main.
Pour qui, et quand
Pour qui mène des sessions Claude Code longues ou étalées sur plusieurs jours et perd le fil entre deux. Pratique avant d'effacer la conversation, en fin de journée, ou quand elle devient trop chargée. Peu utile pour une tâche rapide qui se termine d'un coup.
En situation
/ops:handoff avant un /clearLe Skill lit l'état de la session, écrit une note datée (objectif, décisions, état, prochaines étapes, fichiers, questions ouvertes), et affiche le chemin du fichier pour reprendre plus tard.
Handoff sauvegardé : ~/handoffs/2026-06-06-1530-checkout-redesign.md # Handoff — checkout-redesign — 2026-06-06 1530 ## Objectif Refondre le tunnel de paiement en 3 étapes au lieu de 5. ## Décisions prises - Fusion des étapes adresse et livraison (moins de friction) - Paiement gardé en dernière étape ## État actuel Étapes 1-2 maquettées. Étape 3 (paiement) à câbler. ## Prochaines étapes 1. Brancher le composant de paiement sur l'API 2. Tester le retour d'erreur carte ## Fichiers touchés - /src/components/Checkout.tsx — nouveau flow 3 étapes ## Questions ouvertes - Garde-t-on l'option paiement en plusieurs fois ?
Installer
$ mkdir -p ~/.claude/skills/ops:handoff && \
curl -sSL https://letape-dapres.fr/api/skills/ops-handoff/raw \
-o ~/.claude/skills/ops:handoff/SKILL.mdPuis redémarre Claude Code. Test avec /ops:handoff.
Besoin d'installer Claude Code d'abord ? Voir la fiche Claude Code · Télécharger le .md brut
Configuration
ops:handoffReadWriteBashLe skill en entier
ops-handoff
Capture the state of the current session into a dated handoff note, so a new session resumes without re-discovering everything.
Positioning
- A handoff is a task-in-progress transfer: ephemeral and dated. It is NOT long-term memory.
- Long-term, stable facts belong in your persistent memory file. Do not duplicate them here.
- A handoff complements memory: it captures the volatile working state that memory deliberately omits.
Where to save
Save to: ~/handoffs/YYYY-MM-DD-HHmm-[subject].md
subjectis a short kebab-case slug of the current task (e.g.payments-refactor).- Save in a folder that persists and syncs across devices (a notes vault, a synced directory), not OS temp.
- Create the folder if missing:
mkdir -p ~/handoffs. - Generate the timestamp with
date "+%Y-%m-%d-%H%M".
Core principle: reference, never duplicate
If information already lives in another artefact (note, source file, PR, URL), link to it by path or URL. Do not copy its content into the handoff. The handoff is an index of state, not a snapshot of everything.
What to capture
Write these sections in order. Keep each tight.
- Goal — the task in progress, in one or two sentences.
- Decisions made — choices locked in this session, with the reasoning if non-obvious.
- Current state — where things stand right now (what works, what is half-done).
- Next steps — the concrete actions the next session should take, ordered.
- Files & notes touched — absolute paths / links / URLs. Do not paste their contents.
- Open questions — unresolved points, blockers, things needing the user's input.
- Suggested skills — which skills to invoke next session to continue (e.g.
/product-prd-write,/skill-create). List only relevant ones.
Redaction
Never copy secrets, credentials, tokens, or private keys into the handoff. Reference where they live instead (e.g. "API key in the password manager / .env"). If a touched file contains secrets, link the file but redact the values.
Template
# Handoff — [subject] — YYYY-MM-DD HHmm
## Goal
...
## Decisions made
- ...
## Current state
...
## Next steps
1. ...
## Files & notes touched
- `/abs/path/to/file` — what changed / why it matters
- [link or note reference]
## Open questions
- ...
## Suggested skills
- `/skill-name` — why
After writing
Print the absolute path of the saved handoff so the user can open or share it. Do not summarise the whole content back; the file is the artefact.
Version publique. 76 lignes. Copie-la dans ~/.claude/skills/ops:handoff/SKILL.md pour l'installer.
Skills voisins