xiaohongshu
xiaohongshu
crash-recovery
Invoke CRASH_RECOVERY_SPECIALIST for session recovery after crashes or context loss. Creates checkpoints, reconstructs state, and generates handoff notes for seamless recovery.
Full skill instructions
Session continuity and post-crash state reconstruction specialist. Ensures seamless recovery after IDE crashes, context resets, or unexpected terminations.
CRASH_RECOVERY_SPECIALIST ensures session continuity by:
Key Insight: Future you depends on current you leaving breadcrumbs.
Loads: /home/user/Autonomous-Assignment-Program-Manager/.claude/Agents/CRASH_RECOVERY_SPECIALIST.md
INPUT: Current task state before risky operation
OUTPUT: Checkpoint file in .claude/Scratchpad/
1. Snapshot git state (branch, status, recent commits)
2. Capture scratchpad state
3. Document in-progress tasks
4. Create recovery breadcrumbs
5. Save to checkpoint file
Use before: git operations, large refactors, system updates
INPUT: Available artifacts (git status, scratchpad files)
OUTPUT: Session state reconstruction
1. Parse git status for uncommitted work
2. Read scratchpad files for context
3. Identify in-progress tasks from history
4. Reconstruct session timeline
5. Cross-reference multiple sources
6. Generate handoff notes
INPUT: Recovered state
OUTPUT: Resume notes for next session
1. Summarize recovered state
2. List incomplete tasks
3. Provide recommended first action
4. Flag uncertainties
5. Document what couldn't be determined
Incremental work habits that enable recovery:
This protocol makes recovery possible even without explicit checkpoints.
# Recovery Checkpoint: [timestamp]
## Session State
- Branch: [name]
- Last Commit: [hash] [message]
- Uncommitted: [list files]
## Current Task
[What's being worked on]
## Progress
- Completed: [list]
- In Progress: [item]
- Not Started: [list]
## Recent Decisions
[Key choices and rationale]
## Resume Point
[Where to start when recovering]
# Session Recovery: [timestamp]
## Recommended First Action
[Single clear next step]
## Recovered State
- Branch: [name]
- In-progress work: [description]
- Last completed: [task]
## Timeline Reconstruction
[What happened in session]
## Uncertainties
[What couldn't be determined]
## Full Context
[Detailed reconstruction]
Coordination: Recovery findings may inform session narratives
1. CRASH_RECOVERY_SPECIALIST reconstructs session
2. If session was significant, findings passed to HISTORIAN
3. HISTORIAN creates narrative documentation
Coordination: Crash recovery complements normal session handoff
Normal flow: session-end creates structured handoff
Crash flow: crash-recovery reconstructs what session-end would have captured
/recover - Quick recovery invocation/restore - Explicit state restorationUse the crash-recovery skill to create a checkpoint before attempting
a complex git rebase.
## Current State
- Branch: feature/swap-improvements
- Task: Rebasing 15 commits to clean up history
- Progress: All tests passing, ready to rebase
- Recent decisions: Decided to squash related commits
## Output
Save checkpoint to .claude/Scratchpad/checkpoint_[timestamp].md
Use the crash-recovery skill to recover session state after crash.
## Available Artifacts
- Git branch: feature/resilience-dashboard
- Git status:
On branch feature/resilience-dashboard
Changes not staged for commit:
modified: backend/app/resilience/dashboard.py
modified: frontend/components/Dashboard.tsx
Untracked files:
backend/tests/test_dashboard.py
- Scratchpad files:
.claude/Scratchpad/ORCHESTRATOR_ADVISOR_NOTES.md
.claude/Scratchpad/TODO.md
- Last known task: Implementing resilience dashboard endpoints
## Request
1. Reconstruct session timeline
2. Identify in-progress tasks
3. Generate handoff notes
4. Recommend first action to resume work
Use the crash-recovery skill to review what was happening last session.
Context: Starting new session, want to understand where we left off.
Available:
- Git log (last 10 commits)
- Scratchpad files list
- Current branch: main
Return: Brief summary of last session's work and recommended first step.
| Failure Mode | Symptom | Recovery |
|---|---|---|
| Incomplete Checkpoints | Missing key context | Cross-reference multiple artifact sources; ask user |
| Stale Scratchpad | Scratchpad reflects old state | Use git commits as ground truth; flag discrepancies |
| Uncommitted Work Loss | Work vanished after crash | Check IDE autosave, temp files, .git/ objects |
| Context Ambiguity | Multiple interpretations | Present options to user; avoid assumptions |
| Handoff Overwhelm | Too detailed, can't find resume point | Lead with "Recommended First Action" |
Before completing recovery:
.claude/Scratchpad/ORCHESTRATOR_ADVISOR_NOTES.md - Session history.claude/Scratchpad/*.md - Session artifactsCHANGELOG.md - Recent committed changesCheckpoints saved to: .claude/Scratchpad/checkpoint_[timestamp].md
When delegating to CRASH_RECOVERY_SPECIALIST:
For Checkpoint Creation:
For Post-Crash Recovery:
Recovery scope:
Always create checkpoint before:
Implement "Prior You / Current You" protocol:
.claude/Scratchpad/ORCHESTRATOR_ADVISOR_NOTES.mdCHANGELOG.md.claude/Scratchpad/checkpoint_*.md.claude/dontreadme/synthesis/PATTERNS.md"Future you depends on current you leaving breadcrumbs."
xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience