RE
repo-state-recovery
Recover where repo work stood after an interruption by combining recent context, git state, tests, plan files, and ignored-file auditing. Use when the user asks what was happening before a crash or wants the current repo situation reconstructed reliably.
Install
mkdir -p .claude/skills/repo-state-recovery && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/13576" && unzip -o skill.zip -d .claude/skills/repo-state-recovery && rm skill.zipInstalls to .claude/skills/repo-state-recovery
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Recover where repo work stood after an interruption by combining recent context, git state, tests, plan files, and ignored-file auditing. Use when the user asks what was happening before a crash or wants the current repo situation reconstructed reliably.254 chars✓ has a “when” triggerlonger than Claude Code's old 250-char listing cap (fine on current versions)
About this skill
Repo State Recovery
Use this skill when the user cares about what is true now, not what chat folklore says was probably true before the interruption.
Procedure
- Recover recent context
- use available session/thread context if it exists
- read repo handoff files, plans, and state artifacts
- Inspect git state
git status --short --branch- recent commits
git diff --stat
- Verify current health
- run the repo's declared tests or gates
- if the repo has no clear test entrypoint, say so explicitly
- Audit local-only risk
- inspect untracked files
- inspect ignored files if anything looks suspicious
- Reconstruct the workstream
- identify the last meaningful increment
- identify what is committed, what is local, and what is ambiguous
Output
Give the user:
- where work had reached
- current test or gate status
- committed vs local-only state
- likely next actions
- any recovery-risk findings
Pitfalls
- Do not rely only on git history.
- Do not rely only on prior conversation.
- Do not skip ignored-file checks when source files seem to be missing.
- Do not say the repo is probably fine if you can verify it.