catchup

Featured

Restore context after /clear by summarizing recent work and project state

AI & Automation 5,772 stars 755 forks Updated today CC-BY-SA-4.0

Install

View on GitHub

Quality Score: 96/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Context Catchup Restore context after `/clear` - summarize recent work and project state. ## Purpose After clearing context with `/clear`, use this command to quickly rebuild understanding of: - What was recently modified - Current project state - Outstanding TODOs and issues - Where to resume work ## Instructions ### Step 1: Git History Analysis ```bash # Recent commits (last 10) git log --oneline -10 # Files modified in last 5 commits git diff --stat HEAD~5 2>/dev/null || git diff --stat $(git rev-list --max-parents=0 HEAD) # Current branch and status git branch --show-current git status --short ``` ### Step 2: Recent Changes Summary ```bash # What changed today git log --oneline --since="midnight" --author="$(git config user.name)" 2>/dev/null # Uncommitted work git diff --name-only git diff --cached --name-only ``` ### Step 3: TODO/FIXME Scan ```bash # Find outstanding work markers in recently modified files git diff --name-only HEAD~5 2>/dev/null | head -20 | xargs grep -n "TODO\|FIXME\|XXX\|HACK" 2>/dev/null | head -30 ``` ### Step 4: Project State Check ```bash # Check for common state indicators [ -f "package.json" ] && echo "๐Ÿ“ฆ Node project: $(jq -r '.name // "unnamed"' package.json)" [ -f "Cargo.toml" ] && echo "๐Ÿฆ€ Rust project: $(grep '^name' Cargo.toml | head -1)" [ -f "pyproject.toml" ] && echo "๐Ÿ Python project" [ -f "go.mod" ] && echo "๐Ÿน Go project: $(head -1 go.mod | cut -d' ' -f2)" # Active branch purpose (from branch name) BRANCH=$(git br...

Details

Author
FlorianBruniaux
Repository
FlorianBruniaux/claude-code-ultimate-guide
Created
7 months ago
Last Updated
today
Language
Python
License
CC-BY-SA-4.0

Integrates with

Similar Skills

Semantically similar based on skill content โ€” not just same category