Langsung ke konten
Skillpedia
Agen29k Β· #9710

session-handoff

Fungsinya

Skill ini menulis ringkasan pekerjaan saat ini, termasuk tujuan, keputusan, dan langkah berikutnya, agar orang lain bisa melanjutkannya. Ini untuk siapa pun yang mengakhiri sesi, berpindah komputer, atau kehabisan ruang di obrolan yang panjang.

Kapan dipakai

  • βœ“Saat Anda mengakhiri sesi dan ingin melanjutkan pekerjaan nanti.
  • βœ“Saat Anda berpindah ke komputer lain atau menyerahkan pekerjaan kepada agent lain.
  • βœ“Saat percakapan panjang terlalu besar dan Anda ingin memulai dari awal dengan ringkasan.

Link skill

https://github.com/alirezarezvani/claude-skills/blob/main/productivity/handoff/skills/session-handoff/SKILL.md

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/alirezarezvani/claude-skills/blob/main/productivity/handoff/skills/session-handoff/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit β†’

Contoh permintaan ke AI

β€œTulis catatan serah terima agar sesi baru bisa melanjutkan dari tempat kita berhenti hari ini.”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Agent merangkum tujuan, kondisi saat ini, keputusan, dan langkah berikutnya. Agent menunjuk file yang sudah ada alih-alih menyalinnya, menghapus rahasia, lalu menyimpan catatan ke folder sementara.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.

Handoff

Write a handoff document summarising the current conversation so a fresh agent can continue the work. Save to the temporary directory of the user's OS β€” not the current workspace.

Include a "suggested skills" section in the document, which suggests skills that the agent should invoke.

Do not duplicate content already captured in other artifacts (PRDs, plans, ADRs, issues, commits, diffs). Reference them by path or URL instead.

Redact any sensitive information, such as API keys, passwords, or personally identifiable information.

If the user passed arguments, treat them as a description of what the next session will focus on and tailor the doc accordingly.

Invocation Triggers

Explicit phrases (any of):

  • "hand this off"
  • "handoff doc"
  • "summarize this for a new session"
  • "compact this conversation"
  • "I'm ending this session"
  • "pick this up later"
  • "wrap this up for tomorrow"
  • "save this for the next session"

Implicit signals (no phrase, but the intent is unmistakable):

  • User announces they're switching machines or stopping for the day mid-task
  • Conversation context is growing long without a natural stopping point
  • User says "let me come back to this" or "I'll continue this later"

When you detect an implicit trigger, propose the handoff before running it: "Want me to write a handoff for the next session?" β€” never run it silently.

First-Run Setup

On first invocation, the skill asks where to save handoffs so the project folder never gets cluttered. Setup is offered once via "Run setup now? (Y/n)" β€” answering N uses OS-temp defaults for this run and never re-prompts. The user can rerun setup any time via /cs-handoff-setup.

See references/configuration.md for the full config field reference.

Output Path

The save location is read from the user's config (~/.config/handoff/config.json, or the project-local .handoff/config.json if present). When no config exists and the user declined setup, fall back to:

mktemp -t handoff-XXXXXX.md

Read the file before you write to it.

Section Template

The handoff doc has five sections. Use these exact headers:

  • Goal of next session β€” from the user's argument, or inferred from the most recent thread of the conversation.
  • State of play β€” what's done, what's in flight, what's blocked. Reference artifacts, do not paste them.
  • Open decisions β€” what the next agent must decide before continuing.
  • Skills to use β€” concrete list of 3-5 skills the next session should invoke, each with a one-line why.
  • Artifacts β€” paths/URLs to PRDs, plans, ADRs, issues, branches, PRs. Do not duplicate their contents.

See references/handoff_structure.md for a worked example.

The Agent's Job

Filling in the five sections is the agent's job, not the script's. Follow references/handoff_prompt.md as a mandatory checklist:

For each topic discussed in the conversation, decide explicitly: include in State of play / log as an Open decision / drop with reason.

Free-handing the summary leads to rosy progress reports and dropped blockers. The checklist prevents that.

Anti-Patterns

Matt's no-duplication discipline made concrete:

  • Do not paste the diff. Reference the branch or PR.
  • Do not retype the PRD. Link to its path.
  • Do not summarise what's already in the commit message. Link to the commit hash.
  • Do not list 20 skills. Pick the 3-5 the next session actually needs.
  • Do not narrate every message in the conversation. Compress to State + Decisions.

See references/deduplication_discipline.md for the full list.

Redaction

Before saving, the linter scans the draft for secrets and PII. In strict mode (default) it blocks save on findings; in warn mode it flags inline and saves anyway.

Redact:

  • API keys, OAuth tokens, JWT tokens
  • Passwords and DB connection strings
  • -----BEGIN ... PRIVATE KEY----- blocks
  • .env-style KEY=value lines containing secrets
  • Email addresses, phone numbers, names of unrelated third parties
  • Internal URLs containing tokens or session IDs

See references/redaction_checklist.md for the full pattern list and manual-review steps for what regex cannot catch.

SessionStart Auto-Load

When the plugin is installed, a SessionStart hook scans the configured save location for the m

Pertanyaan umum

Di mana catatan serah terima disimpan?

Catatan disimpan di folder sementara di komputer Anda, bukan di folder proyek.

Apakah catatan menyimpan kata sandi atau kunci?

Tidak. Skill ini menghapus detail sensitif seperti kunci API dan kata sandi sebelum menyimpan.

Apakah skill ini menyarankan apa yang harus dimuat berikutnya?

Ya. Catatan memuat daftar skill yang disarankan untuk dipakai agent berikutnya.

Detail

Deskripsi asli dari pembuat

Write a handoff document so a fresh session or another agent can pick up exactly where this one left off: goal, current state, decisions, next steps and the skills to load, referencing existing files instead of copying them, with secrets redacted before saving. Use whenever the user is ending a session, switching machines, running low on context, or asks for a handoff, a handoff doc, a 'pick up where we left off' summary, or to compact the conversation for next time. Saves to a location the user picks on first run (OS temp, home folder or per-project .handoff/) and can auto-load the latest han

repo: alirezarezvani/claude-skills

Popularitas

Bintang GitHub
29k
Peringkat
#9710
Lisensi
MIT
Diperbarui
2/11/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa