agentleFS
ziffanziffan/auto-continue-cli-agent/.claude/skills/session-end/SKILL.md

session-end

Skill1 starsChanged 4 months agoApache-2.0View on GitHub

Ritual tutup sesi — update CONTEXT.md, ISSUES.md, GOTCHAS.md, CHANGELOG, evaluasi perlu-tidaknya naik versi HANDOFF_CONTEXT_v{n}.md, lalu commit dengan hygiene yang benar. Jalankan di AKHIR setiap sesi kerja bermakna, saat user bilang "tutup sesi", "selesai dulu", "sampai sini dulu", "buat handoff", "update context", atau saat konteks sesi mendekati batas (±300K token) dan kerja akan dilanjutkan di sesi baru.

  • Reads credentials

28 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use ship.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • AWSSkill

    ship

    Finalize dev work on an issue branch — update docs, push, and open a PR.

    Also in 3 projects that use this

The file

Files
SKILL.md

Session End — Handover Out

Kenapa ritual ini ada: sesi berikutnya (atau agent lain) hanya tahu apa yang tertulis. Sesi yang ditutup tanpa update docs mewariskan status palsu — CONTEXT.md yang bohong lebih berbahaya daripada yang kosong.

Step 1 — Update dokumen status

  1. docs/CONTEXT.md — timpa dengan status jujur hari ini: apa yang dikerjakan + hasilnya · milestone aktif + progress · blocker · next step konkret (1-3 langkah yang bisa langsung dieksekusi sesi berikutnya).
  2. docs/ISSUES.md — tutup issue yang selesai (tulis solusinya), buka issue baru yang ditemukan tapi tidak dikerjakan hari ini (dengan prioritas P0-P3).
  3. docs/GOTCHAS.md — jebakan yang ditemukan hari ini ditulis HARI INI. Pelajaran yang tidak ditulis akan dibayar ulang oleh sesi berikutnya.
  4. docs/DECISIONS.md — keputusan yang dibuat di sesi ini tercatat? Pending baru punya owner + deadline? Keputusan yang dibatalkan masuk Change Log, bukan dihapus.
  5. CHANGELOG.md — hanya bila ada perubahan user-facing atau milestone selesai (format Keep a Changelog).

Step 2 — Evaluasi handoff versioning

Naikkan HANDOFF_CONTEXT_v{n}.md → v{n+1} HANYA bila scope atau keputusan fundamental berubah di sesi ini (ganti arah arsitektur, scope MVP berubah, stack di-supersede). Progress normal cukup di CONTEXT.md. Versi lama TIDAK dihapus.

Isi handoff baru: status ringkas · keputusan fundamental yang berubah + alasan · pending decisions (owner + deadline) · pointer ke ADR/dokumen terkait · apa yang TIDAK berubah (supaya sesi berikutnya tidak curiga semuanya baru).

Step 3 — Commit hygiene

  1. git status + git diff --stat — pastikan tidak ada file liar ikut (.env, dump DB, artefak build, data DDS).
  2. Pesan commit berprefix milestone: M{n}: {ringkasan perubahan}.
  3. DILARANG: commit secret · force push ke main · merge ke main tanpa CI hijau.
  4. Kerja belum layak commit → simpan di branch/worktree-nya, catat statusnya di CONTEXT.md secara eksplisit ("WIP di branch X, belum di-commit karena Y").

Step 4 — Laporan penutupan ke user

Maksimal 6 baris: apa yang selesai (+ bukti verifikasi) · apa yang tidak selesai + kenapa · blocker untuk sesi berikutnya · file docs yang di-update · commit yang dibuat · next step pertama untuk sesi berikutnya.

Larangan

  • Jangan menandai selesai sesuatu yang verifikasinya tidak dijalankan.
  • Jangan menulis CONTEXT.md yang lebih optimis daripada kenyataan.
  • Jangan menunda GOTCHAS — "nanti didokumentasikan" = tidak pernah.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.