Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

Session Handoff

ASecurity

Use when the user wants to hand off, transfer, pause, or continue the current session in a new session or with another agent — asks for a "session handoff", a "prompt para a próxima sessão", to "continuar de onde paramos", or invokes /session-handoff; also when context is running low and in-flight work must survive a session boundary. Produces one self-contained, copy-pasteable prompt.

4 stars
0 votes
0 copies
0 views
Added 9/23/2026
developmentgobashgit

Security Analysis

A100/100

Scanned 9/23/2026

Install to Claude Code

$npx -y skills add will-pagane/claude-superdev-harness --skill session-handoff --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Session Handoff?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Session Handoff
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/will-pagane-session-handoff/badge)](https://www.skillsdirectory.com/skills/will-pagane-session-handoff)

More formats (shields.io, HTML) on the badges page.

Download with Pro
Files
SKILL.md
---
name: session-handoff
description: Use when the user wants to hand off, transfer, pause, or continue the current session in a new session or with another agent — asks for a "session handoff", a "prompt para a próxima sessão", to "continuar de onde paramos", or invokes /session-handoff; also when context is running low and in-flight work must survive a session boundary. Produces one self-contained, copy-pasteable prompt.
---

# Session Handoff

## Overview

The next agent has **zero memory of this session**. The handoff prompt is its only inheritance — it must make that agent fully autonomous from a cold start, built from **fresh evidence, not your recollection**.

**Core principle:** brief on the past, complete on the present and the future. The next agent doesn't need a changelog of how we got here — it needs to know exactly what is true *now* and what to do *next*.

## When to Use

- User asks for a handoff / prompt for the next session / "continuar de onde paramos"
- User invokes `/session-handoff`
- Context is running low and work must cross a session boundary

**Not for:** writing project docs, commit messages, or PR descriptions. Those are artifacts about the work; a handoff is an instruction set for the next agent.

## The Iron Rule: Evidence Before Writing

**Never write the handoff from memory.** Your recollection drifts — commit hashes, file names, and "done" status get fabricated. Gather real evidence first, every time, even for a short session.

Run and read the output of:

```bash
git -C <repo> status              # uncommitted / modified / untracked files — what is NOT saved
git -C <repo> log --oneline -15   # recent commits — confirm hashes & messages, don't guess
git -C <repo> branch --show-current
git -C <repo> diff --stat         # scope of uncommitted changes
```

Then review **this conversation** for: the goal, decisions made and *why*, the task in flight, blockers, and open questions. Check any open TODOs (TaskList / TodoWrite state).

If a fact isn't in the evidence or the conversation, **do not invent it** — either verify it or label it `(a confirmar)`.

## Output Contract

- Emit the handoff as **ONE fenced code block** so the user copies it in a single gesture.
- The block must be **self-contained**: the next agent needs nothing but the repo + this prompt. No "as discussed", no references to *this* chat.
- Outside the block: at most one line ("Pronto — é só copiar o bloco abaixo para a próxima sessão.").
- **Past = a few sentences. Present + Future = exhaustive.**
- State `git`/branch facts exactly as the commands returned them.

## Handoff Template

Emit this structure inside the fenced block. Adapt headings to the project's language (PT-BR for this user's projects).

```
# Handoff — <projeto> / <linha de trabalho em 1 frase>

## De onde viemos (curto — 2 a 4 frases)
<O objetivo desta linha de trabalho e o contexto mínimo necessário. Sem changelog.>

## Estado atual (completo)
- **Tarefa em foco:** <o que estávamos fazendo no momento do corte>
- **Decisões tomadas + porquê:** <cada decisão de design/arquitetura e a razão — para o próximo agente não reabrir o que já foi resolvido>
- **Git:** branch `<branch>`; últimos commits relevantes `<hash msg>`; working tree: <limpo | arquivos modificados/untracked listados>
- **Feito e verificado:** <com a evidência: testes passando, build limpo, EXPLAIN, etc.>
- **Feito mas NÃO verificado:** <o que foi escrito mas ainda não provado>
- **Em andamento (incompleto):** <onde exatamente parou, em qual arquivo/função>

## O que falta (completo)
1. <Próximo passo concreto, acionável, em ordem — com caminho de arquivo (path:linha) quando aplicável>
2. <...>
- **Perguntas em aberto / decisões pendentes:** <o que precisa de input do usuário>
- **Bloqueios e gotchas:** <armadilhas conhecidas, dependências, coisas que quebram silenciosamente>
- **Arquivos-chave:** <path:linha — ponteiros para onde o próximo agente deve olhar primeiro>

## Como retomar
- **Primeiro passo sugerido:** <a primeira ação concreta>
- **Convenções/constraints a respeitar:** <derive do CLAUDE.md e docs do repo — não assuma>
- **Idioma / barra de "concluído":** <ex.: PT-BR; nada é "feito" sem evidência fresca>
```

## Common Mistakes

| Mistake | Fix |
|---------|-----|
| Writing from memory; `tool_uses: 0` | Run the git commands first. Quote real output. |
| Guessing commit hashes / file names | Verify each against `git log` / `git status`. Label unverified as `(a confirmar)`. |
| Long "o que já foi feito" changelog | History is 2–4 sentences. Detail belongs in present/future. |
| Loose markdown, hard to copy | One fenced block, self-contained, nothing referencing this chat. |
| "Done" without distinguishing verified vs unverified | Split into feito-e-verificado / feito-não-verificado / em-andamento. |
| Vague next steps ("continuar o trabalho") | Ordered, actionable, with `path:linha`. |
| Constraints assumed instead of read | Pull conventions from the repo's CLAUDE.md/docs. |

Attribution

will-paganewill-pagane
View sourceMore from will-pagane →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Browser Extension Developer

Use this skill when developing or maintaining browser extension code in the `browser/` directory, including Chrome/Firefox/Edge compatibility, content scripts, background scripts, or i18n updates.

284722 votes

Seo Optimizer

SEO optimization with keyword analysis, readability assessment, technical validation, content quality. Use for search rankings, blog posts, content audits, or encountering keyword density, readability scores, meta tags, schema markup errors.

2192 votes

Google Official Seo Guide

Official Google SEO guide covering search optimization, best practices, Search Console, crawling, indexing, and improving website search visibility based on official Google documentation

1862 votes

Tanstack Start

Build a full-stack TanStack Start app on Cloudflare Workers from scratch — SSR, file-based routing, server functions, D1+Drizzle, better-auth, Tailwind v4+shadcn/ui. Use whenever the user mentions TanStack Start, asks to scaffold a full-stack Cloudflare app with SSR, wants an SSR dashboard, or asks for a React 19 + Cloudflare Workers app with file-based routing and server functions — even if they don't name TanStack Start specifically. No template repo — Claude generates every file fresh per ...

9881 votes

Pentest

PTES-aligned adversarial security audit for backend, frontend, and mobile applications. Produces a CVSS-scored Hacker Report with verified PoCs and phased remediation.

5491 votes
View all in development →