İçeriğe atla

Skill dosyaları ·

Devir notu

Uzun oturum bitmeden ya da iş başka bir ajana geçmeden önce tek sayfalık, sınırlı bir devir dosyası yazdırır; sonraki oturum hikâyeden değil olgulardan başlar.

İNDİR

Ne işe yarar

  • Bağlam sınırına gelmeden yazdırır
  • 'Bekliyor' denen her maddeyi canlı kaynağa karşı doğrulatır
  • Sır değerini değil adını yazdırır

Kurulum

Dosyayı projenin .claude/skills/<ad>/SKILL.md yoluna (ya da kişisel kullanım için ~/.claude/skills/<ad>/SKILL.md) koy. Claude Code açıklamadaki tetikleyiciyi görünce dosyayı kendisi yükler; Codex ve benzeri araçlarda içeriği AGENTS.md'ye ekleyebilirsin.

Dosya önizlemesi

---
name: handoff-note
description: Use when a long session is about to end, hit its context limit, or pass work to another agent or person. Writes a short, bounded handoff file so the next session starts from facts instead of a retold story.
---

# Handoff note

Context loss is the most expensive failure in long agent work. The next session should not need the previous conversation, and the human should not have to explain anything twice.

## When

- The context window is close to its limit. Write the note before compaction, not after.
- A multi-phase task finishes a phase.
- Work moves to another tool, model or person.

## Where

One file in the project's temp or handoff folder, named with the date and topic. Not in the home directory, not only in chat.

## Format (keep it under one page)

```
# Handoff - <topic> - <date, time>

## Goal
One or two sentences. What "finished" looks like.

## State now (verified)
- What is live or merged, with ids: commit, PR, version, URL.
- What was checked, and how.

## Open items (in order)
1. Next safe step.
2. ...
At most five. Each one says who or what it is waiting on.

## Decisions made
- Decision, who made it, when. Only the ones the next session must not reopen.

## Traps
- Things that look wrong but are intentional.
- Things that failed, and why, so they are not tried again.

## Not verified
- Claims in this note that were not checked against a live source.

## Pointers
- Files, branches, dashboards, logs. Paths, not descriptions.
```

## Rules

- **Facts, not story.** No "first I tried...". The next reader needs the state, not the journey.
- **Verify before you write "pending".** A note that says "22 items waiting" when 21 are already closed sends the next session in the wrong direction. Check each open item against the live source.
- **No secrets.** Name the variable or the vault entry, never the value.
- **Dates are absolute.** "Thursday" means nothing next week.
- **One note per topic.** Update it; do not start a second one beside it.

## Starting from a handoff

Read the note, then check two or three "state now" lines against the live system before acting. Notes go stale quickly; the system is the truth.

---
From The Kai · thekai.co/library · Free to use and adapt.