AgentSkillsCN

recap

从已保存的检查点、Git状态与项目文件中恢复工作上下文。

SKILL.md
--- frontmatter
name: recap
description: Recover working context from saved checkpoints, git state, and project files
invocation: user
user_invocation: /recap

Context Recap

Recover working context after compaction or when starting a new session.

Steps

  1. Read CLAUDE.md for project overview, build commands, conventions
  2. Read key entry point files:
    • packages/backend/src/index.ts
    • packages/agent-runtime/src/index.ts
    • packages/shared/src/index.ts
    • docs/BUILD-PLAN.md
  3. Check .claude/agentic-rig/context/ for saved session context files
    • Read the most recent context file (or last 2-3 if recent)
    • Extract: current task, key decisions, progress, notes
  4. Run git status to identify modified/staged files
  5. Run git log --oneline -10 for recent commit history
  6. Run git diff --name-only HEAD~3..HEAD to see recently changed files
  7. If context files reference specific files, read those for deeper context

Output Format

Project Context

  • Project name, type, key frameworks (from CLAUDE.md)

Saved Session Context

  • Last checkpoint date and summary (from .claude/agentic-rig/context/)
  • Current task and progress
  • Key decisions that should inform continued work

Current State

  • Branch name and recent commits (last 5)
  • Modified files and what they relate to
  • Current milestone status

Suggested Next Steps

  • Based on checkpoint progress + modified files, what to continue
  • Most relevant files to read to pick up where you left off

Keep under 60 lines. Goal is quick context recovery, not repeating everything.