afc-resume
Restore previous session state
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Menu
Restore previous session state
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Baseado na classificação ocupacional SOC
Code and component analysis — analyze code, trace flows, audit consistency, inspect components
Architecture analysis and design review
Full auto pipeline — run spec-to-clean cycle automatically for new features
Save session state for later resumption
Resolve spec ambiguities with clarifying questions
Pipeline artifact cleanup and codebase hygiene
| name | afc:resume |
| description | Restore previous session state |
| argument-hint | [no arguments] |
| model | sonnet |
| allowed-tools | ["Read","Glob","Bash"] |
Restores the previous session state from .claude/afc/memory/checkpoint.md and resumes work.
$ARGUMENTS — (optional) none!cat .claude/afc/memory/checkpoint.md 2>/dev/null || echo "[NO_CHECKPOINT]"
Use the pre-fetched checkpoint above. If it shows [NO_CHECKPOINT]:
~/.claude/projects/{ENCODED_PATH}/memory/checkpoint.mdIf checkpoint data was pre-fetched successfully: parse the full contents (extract branch, commit hash, pipeline feature, task progress, modified files).
Compare the checkpoint state against the current environment:
git rev-parse --verify HEAD 2>/dev/null
git log {checkpoint hash}..HEAD --oneline## Session Restore
### Previous Checkpoint
- **Saved at**: {time}
- **Message**: {checkpoint message}
- **Branch**: {branch} {(matches current ✓ / differs ⚠)}
### Active Features
| Feature | Status | Progress |
|---------|--------|----------|
| {name} | {status} | {progress} |
### Changes Since Checkpoint
{list of new commits if any, or "No changes"}
### Incomplete Work
{incomplete work list from checkpoint.md}
### Recommended Next Steps
{recommended commands based on state}
- Tasks in progress → resume `/afc:implement`
- Plan complete → `/afc:implement` (tasks generated automatically at start)
- Spec only → `/afc:plan`
Session restored
├─ Checkpoint: {time}
├─ Feature: {name} ({status})
├─ Progress: {completed}/{total}
└─ Recommended: {next command}