Langsung ke konten
Skillpedia
Otomatisasi101k Β· #1271

handoff

Fungsinya

Alat ini membuat file bernama `HANDOFF.md`. File ini berisi ringkasan tentang apa yang ingin Anda capai, apa yang sudah berhasil, apa yang gagal, dan langkah selanjutnya. Anggap saja ini seperti catatan serah terima, supaya orang lain (atau Anda sendiri di kemudian hari) bisa melanjutkan pekerjaan persis dari titik terakhir.

Kapan dipakai

  • βœ“Ketika percakapan dengan AI sudah terlalu panjang dan membingungkan.
  • βœ“Ketika AI terus mencoba solusi yang sama padahal tidak berhasil.
  • βœ“Ketika Anda perlu berhenti dulu dan melanjutkan pekerjaan nanti.

Link skill

https://github.com/thedotmack/claude-mem/blob/main/plugin/skills/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/thedotmack/claude-mem/blob/main/plugin/skills/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

β€œBuatkan file ringkasan untuk melanjutkan pekerjaan ini.”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Alat ini menganalisis tujuan utama, kondisi proyek saat ini (apa yang sudah berjalan dan apa yang belum), file yang diubah, percobaan yang gagal, dan langkah selanjutnya. Semua informasi ini kemudian disusun menjadi satu dokumen yang mudah dilanjutkan.

Konten teknis (SKILL.md asli)

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

Handoff

Generate a structured HANDOFF.md file that gives a fresh Claude session everything it needs to continue this work without dragging the current degraded context forward.

claude-mem already injects recent observations into every new session, so the fresh agent starts with a timeline of what happened. The handoff adds what that timeline cannot: the goal, the failed attempts and why they failed, the current theory, and exact next steps, plus pointers into memory for deeper recall.

When to Use

  • The session is long and Claude feels confused or repetitive
  • Claude keeps trying the same failing solution over and over
  • The user wants to step away and resume later
  • /compact ran but Claude still lacks clear direction
  • The user says "handoff", "generate a handoff", "I want to start fresh", or "write a handoff doc"

What to Capture

Think hard about the full arc of this conversation before writing. The handoff must be useful to a Claude instance that has never seen this conversation.

Required Sections

  1. Goal β€” One paragraph. What is the user actually trying to accomplish? State the end state, not the current sub-task. Be specific enough that a fresh agent can orient immediately.

  2. Current State β€” What is working right now? What is broken? What is the exact symptom of the problem? Include error messages verbatim if relevant.

  3. Files in Play β€” List every file that has been read, edited, or created during this session that is relevant to the current task. Use absolute or repo-relative paths. Include a one-line note on why each file matters.

  4. What Has Been Tried (and Why It Failed) β€” This is the most important section. List every approach attempted that did not work, and explain WHY it failed (not just that it failed). A fresh agent that skips this section will repeat the same mistakes.

  5. Current Best Theory β€” What do you currently believe is the right path forward, even if you haven't proven it yet? Include any evidence or reasoning that supports it.

  6. Next Steps β€” Concrete, ordered actions for the fresh agent to take. Be specific: file paths, function names, commands to run. The fresh agent should be able to start on step 1 immediately.

  7. Key Constraints and Context β€” Any non-obvious constraints: environment specifics, user preferences expressed during this session, things the user explicitly said NOT to do, external dependencies, performance requirements, etc.

  8. Memory Pointers β€” If claude-mem's search tools are available, run search for this task's key terms and list the few observation IDs that matter most (a decision, the root cause, a failed approach), so the fresh agent can pull full details with get_observations. Also list one or two search queries worth re-running. Skip this section if the tools are not available.

Writing Rules

  • Write the handoff for a fresh Claude, not for the user. The user knows what happened; the fresh Claude does not.
  • Be ruthlessly specific. Vague next steps are useless. "Fix the auth" is bad. "In src/auth/middleware.ts:47, the token expiry check uses Date.now() but should use req.timestamp β€” change the comparison on line 52" is good.
  • Include exact error messages, stack traces, or test output that captures the failure mode.
  • Do not pad. Every sentence should be load-bearing information for the fresh agent.
  • Do not write the handoff from the user's perspective. Write it as a briefing document addressed to the incoming agent.

Output

Write the handoff to HANDOFF.md in the current working directory (the project root).

Use this structure:

# Handoff

> Generated: [timestamp]  
> Project: [project name or directory]  
> Session summary: [one sentence describing what this session was about]

## Goal

[What the user is trying to accomplish β€” the actual end state]

## Current State

**Working:**
- [list what is confirmed working]

**Broken:**
- [exact symptom, error message, or failure mode]

## Files in Play

| File | Why It Matters |
|------|---------------|
| `path/to/file.ts` | [one line] |

## What Has Been Tried (and Why It Failed)

### Attempt 1: [short name]
- **What:** [what was done]
- **Why it failed:** [root cause, not just "it didn't work"]

### Attempt 2: [short name]
...

## Current Best Theory

[What you currently believe is the correct approach and why]

## Next Steps

1. [Specific, actionable step with file path or command]
2. [Next step]
3. ...

## Key Constraints


…
Pertanyaan umum

Mengapa saya perlu file ini?

File ini memastikan siapa pun (termasuk sesi AI baru) dapat dengan cepat memahami perkembangan pekerjaan dan melanjutkannya tanpa kehilangan informasi penting atau mengulangi kesalahan yang sama.

Apa yang harus saya lakukan setelah file `HANDOFF.md` dibuat?

Mulai sesi baru dengan AI, lalu minta AI untuk membaca file `HANDOFF.md` agar pekerjaan bisa dilanjutkan.

Apakah saya perlu menyimpan file `HANDOFF.md` di proyek saya?

Tidak perlu. File ini biasanya bersifat sementara. Anda bisa menghapusnya setelah sesi AI baru membacanya dan melanjutkan pekerjaan, atau menambahkannya ke `.gitignore` agar tidak tersimpan secara permanen.

Detail

Deskripsi asli dari pembuat

Generate a HANDOFF.md that captures goal, current state, files touched, failed attempts, and next steps β€” so a fresh Claude session can continue exactly where this one left off. Use when sessions are getting long, Claude keeps retrying the same broken solution, or the user wants to step away and resume later.

repo: thedotmack/claude-mem

Popularitas

Bintang GitHub
101k
Peringkat
#1271
Lisensi
Apache-2.0
Diperbarui
15/10/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa