بنقرة واحدة
checkpoint
Save current session state mid-session — faster than /whats-next, designed for crash recovery
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Save current session state mid-session — faster than /whats-next, designed for crash recovery
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Apply engineering principles to code or design — DRY, KISS, SRP, YAGNI, phased delivery
Surface assumptions collaboratively before proceeding — beginner's mind, invoked depth
Analyze the current conversation and create a handoff document for continuing this work in a fresh context
Gather requirements through adaptive questioning before executing any task
Evaluate decisions across three time horizons
Drill to root cause by asking why repeatedly
| name | checkpoint |
| description | Save current session state mid-session — faster than /whats-next, designed for crash recovery |
| allowed-tools | Read Write Shell |
Run this:
From the context above, identify:
If there is no in-progress work and nothing was just completed, the checkpoint is trivial — note that clearly ("No active work — clean state") and write the file anyway so the timestamp is current.
Overwrite whats-next.md (project-scoped) (project root) with the following compact format:
# Checkpoint — [YYYY-MM-DD HH:MM]
**Session:** [harness / model — from kit/HARNESS-DETECTION.md; omit if undetectable]
**In progress:** [One sentence: what we're working on right now — or "Nothing in flight, clean state"]
**Just completed:** [1-3 bullet points: what finished since the last checkpoint]
**Next step:** [One sentence: what would happen next if this session continued]
**Key decision (if any):** [One sentence, or "None" — captures anything that would be re-litigated without knowing it was settled]
**Git state:** `[short hash]` — [last commit message, truncated to ~60 chars]
**Uncommitted work:** [None / Yes — brief description of what's staged or modified]
**Open threads (stack):** *(optional — omit if only one active thread)*
- `[bottom]` Parent topic — status
- `[open]` Subtopic — what's waiting
---
*Checkpoint — not a full session summary. See git log for full history.*
Keep it short. Five minutes to write, thirty seconds to read.
Before logging the checkpoint, ask: would a spar be beneficial right now?
Score the current session output against these triggers. If two or more fire, surface a recommendation before saving the checkpoint:
| Trigger | Signal |
|---|---|
| Argumentative output | An essay, proposal, brief, or plan was drafted or significantly revised |
| Decision with trade-offs | A non-trivial technical or design choice was made (architecture, tool, scope) |
| External-facing output | Work is being prepared to share, publish, or submit |
| Unchallenged direction | The session has produced only agreeable outputs — no pushback, no alternatives explored |
| Load-bearing claim | A claim is being made that the rest of the work depends on, but wasn't verified |
| Scope expansion | The work broadened mid-session beyond the original request |
If two or more triggers fire:
"Spar conditions detected: [list which triggers fired]. Want me to run
/sparon [specific target — the document, claim, or decision] before closing?"
Do not run the spar automatically. Always ask first — the user may be in a "getting things done" mode where interruption costs more than the value.
If zero or one trigger fires: skip this step entirely.
After writing, report:
Checkpoint saved to whats-next.md (project-scoped)
In progress: [brief]
Next step: [brief]
Git state: [hash]
Do NOT commit the checkpoint file automatically. The user can commit it alongside their next commit, or leave it uncommitted so it stays current.
<success_criteria>
whats-next.md (project-scoped) updated with current timestamp