session-handoff
Fungsinya
Alat ini membuat ringkasan terstruktur dari pekerjaan Anda saat ini. Alat ini mencatat apa yang sudah Anda kerjakan, keputusan yang diambil, dan hal yang masih perlu dilakukan, sehingga Anda atau orang lain dapat melanjutkan pekerjaan tanpa kehilangan informasi.
Kapan dipakai
- ✓Saat Anda akan berhenti mengerjakan sebuah proyek.
- ✓Sebelum membersihkan (clear) atau memulai ulang sesi kerja Anda.
- ✓Saat berpindah tugas atau ketika orang lain akan melanjutkan pekerjaan.
Link skill
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/session-handoff/SKILL.mdSalin 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
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
“Buatkan ringkasan pekerjaan saya agar bisa dilanjutkan nanti.”
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Alat ini menganalisis kondisi proyek Anda saat ini, mencatat keputusan penting dan langkah yang masih tertunda. Hasilnya disusun menjadi dokumen yang jelas untuk tahap berikutnya.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.
Session Handoff Skill
Purpose
Large context windows degrade in instruction adherence, reasoning precision, and tool accuracy as token counts accumulate. Long sessions fill with superseded plans, aborted scratchpads, and repetitive error traces. Resetting to a fresh session restores performance, but discarding context blindly introduces state loss, hallucinated progress, and repeated mistakes.
The session-handoff skill standardizes how an agent snapshots active state. It translates ephemeral working memory into an actionable, verifiable bridge document for the next session.
When to Use This Skill
- Context usage approaches capacity (roughly >60%) and a reset is coming.
- Before running
/clearor/compactin Claude Code, Cursor, or Codex. - When switching tasks mid-session, or ending a coding session that another session (or agent) will continue.
Workflow: Ending a Session (6 Steps)
Run this sequence when an agent session reaches operational limits or when halting work:
Audit Git and Workspace State Run
git status -sandgit diff --statto establish grounded reality. Never rely on chat memory for what was modified. Identify modified, untracked, and staged files.Capture Goal State vs. Implemented Reality Define the original objective in one sentence. Document precisely what has been verified as working (with passing test commands or runtime checks) versus what remains partial or unverified.
Record Decisions Made and Discarded Paths List architectural and design choices committed during the session, along with the concrete rationale. Explicitly record negative decisions (approaches tried and discarded) to prevent the next agent from re-attempting failed solutions.
Catalog Files Touched and Relevant Symbols List key file paths, functions, classes, and schema definitions modified or referenced. Include line references where relevant.
Isolate Open Loops with Owners and Checks List all unaddressed edge cases, failing tests, deferred tasks, and environment constraints. Every open loop must specify who resolves it (Human or Agent) and how completion is verified.
Specify the Immediate Next Action Draft a single, atomic, unambiguous instruction for the next agent to execute on turn one. Do not provide a broad list; specify the exact command to run or file to edit first.
Operating Rules
- Separate Facts from Speculation: A test that passed is a fact; assuming code works because it compiled is speculation. Label untested assumptions explicitly as
[UNVERIFIED]. - Mandate Owners and Verifications for Open Loops: Every open loop must state an owner (
HumanorAgent) and a deterministic verification criteria (e.g.,pytest tests/auth/test_token.py:test_refresh_rotation passes). - Ban Vague Continuations: Never write "continue working on auth" or "finish frontend components." State the exact symbol, file, and failure mode.
- Reference Real Workspace Identifiers: All references to code must use exact file paths and symbol names. Do not use generalized pseudocode descriptions.
Worked Example: Session Handoff Note
# Session Handoff: JWT Rotation Implementation
### Goal & Current State
- **Target Goal**: Implement refresh token rotation and revocation in the FastAPI auth service.
- **Current State**: Refresh token database migration applied and rotation endpoint created. Token generation and database persistence work. Revocation blacklist cache is not yet wired into the dependency validator.
- **Verification**: `pytest tests/test_auth_tokens.py` passes (4/4 tests).
### Decisions Made (With Reasons)
- **Used Redis for Token Revocation List**: Selected Redis over Postgres lookups for revoked JTI tokens to keep latency under 5ms on protected routes.
- **Rejected Stateless Refresh Tokens**: We initially evaluated sliding expiration in JWT claims without persistence, but discarded it because compromised tokens could not be revoked before natural expiry.
- **Token Format**: Chose UUIDv4 for `jti` claim to maintain compatibility with existing session storage schemas.
### Files Changed
- `src/services/auth.py`: Added `rotate_refresh_token(old_token: str)` function and Redis invalidation call.
- `src/models/tokens.py`: Added `RefreshTokenRecord` SQLModel table for tracking token families.
- `alembic/versions/20261005_add_token_families.py`: Migration creating `token_records` table.
…
Pertanyaan umum
Mengapa saya membutuhkan ini jika saya bisa melanjutkan dari tempat terakhir saya berhenti?
Sesi yang panjang bisa membuat AI bingung, sehingga ia lupa detail penting atau mengulangi kesalahan. Ringkasan ini memastikan progres tetap terjaga dan pekerjaan selanjutnya lebih efisien.
Apa yang terjadi jika saya tidak menggunakan ini sebelum membersihkan sesi?
Anda bisa kehilangan progres, AI bisa lupa apa yang sudah dikerjakan, dan Anda harus mengulang pekerjaan atau memperbaiki error yang sebenarnya sudah diselesaikan.
Apakah ringkasan ini mencakup semua kode yang saya tulis?
Tidak. Ringkasan ini berfokus pada aspek yang paling penting: tujuan utama, apa yang sudah berfungsi, apa yang belum, keputusan krusial, dan langkah berikutnya yang tepat, bukan catatan lengkap.
Detail
Deskripsi asli dari pembuat
Use when context approaches capacity, before /clear or /compact, when switching tasks, or when ending a coding session: produces a structured handoff artifact for the next session.
Popularitas
- Bintang GitHub
- 48k
- Peringkat
- #5764
- Lisensi
- MIT
- Diperbarui
- 15/10/2026
Komentar
- …
Skill lain dari repositori ini
00-andruia-consultant
48kMembantu agent Anda memulai atau meningkatkan proyek AI. Agent menganalisis kode, menyarankan tools, dan membuat rencana aksi dalam bahasa Spanyol.
007
48kMemungkinkan agent Anda melakukan audit keamanan dan threat modeling. Berguna untuk melindungi proyek dari serangan dan celah keamanan.
10-andruia-skill-smith
48kMembantu agent Anda membuat atau meningkatkan tools AI. Agent mendefinisikan cara kerja tools, menulis dokumentasi, dan memvalidasi strukturnya.
20-andruia-niche-intelligence
48kMemungkinkan agent Anda membuat ringkasan industri tertentu. Berguna untuk memahami konteks, aturan, pola penggunaan, dan risiko proyek dengan sumber terpercaya.
Skill serupa
knowledge-capture
394kMengajari agent Anda menyimpan keputusan, preferensi, dan fakta penting ke Knowledge vault sebagai catatan singkat dengan atribusi sumber.
knowledge-claim-consolidation
394kMembantu agent Anda merapikan Knowledge vault dengan menggabungkan klaim duplikat, memindahkannya ke halaman subjek yang tepat, dan menonaktifkan klaim yang sudah usang.
knowledge-correct
394kMemungkinkan agent Anda memperbaiki atau menarik kembali klaim atau halaman Knowledge tertentu atas permintaan Anda, dengan menyimpan catatan perubahan.