Skip to content
Development
Command

/catchup

After `/clear` or new chat, understand recent changes.

From plugin
5712 skills12 commands1 hooks
shell
$ npx -y skills add b33eep/claude-code-setup --agent claude-code

Ships with claude-code-setup. Installing the plugin gets this command.

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/catchup

Context preview

What this command does when you run it.

After `/clear` or new chat, understand recent changes.

Command definition

catchup.md

Catchup: Understand Changed Files

After `/clear` or new chat, understand recent changes.

Tasks

1. **Check project template version**

  • Read first line of project CLAUDE.md → extract version from `<!-- project-template: N -->`
  • If no marker found: treat as version `0`
  • Use the Read tool on `~/.claude/templates/CLAUDE.template.md` (expand `~` to absolute path) → extract version from first line
  • If file does not exist (Read returns error) → skip this step
  • If versions match → skip, continue to next task
  • If versions differ → use the Read tool on `~/.claude/commands/migrate-project-template.md` (expand `~` to absolute path) → follow the migration steps inside
  • After migration completes → continue with step 2 (Read project README.md)

2. **Read project README.md**

  • If exists: Read `README.md` in project root
  • Understand project purpose and structure

3. **Read changed files**

  • If Git: `git diff --name-only HEAD~10` (last 10 commits)
  • Or: `git status` for uncommitted changes
  • Read relevant changed files

4. **Load relevant Records**

  • Check Current Status and Future tables in project CLAUDE.md
  • If work is in progress or a next step references a Record → Read that Record
  • Example: Status shows "OAuth2 | In Progress | [Record 019]" → Read `docs/records/019-oauth2-auth.md`
  • Also check for designs ready to implement or in progress:
  • `grep -l "^Designing\|^Designed\|^In Progress" docs/records/*.md`
  • If found: Load these Records (user may want to continue /design workflow or start implementing)
  • Only load Records relevant to current/next work, not all

5. **Check Recent Decisions**

  • Read the "Recent Decisions" table in project CLAUDE.md
  • Note any decisions relevant to current work
  • These are small decisions with reasoning that survived the last `/clear`

6. **Read open private notes**

  • Check for `docs/notes/*.open.md` files
  • If found: Read them (these are active session notes)
  • Summarize key points from open notes
  • These contain context from previous sessions (research, strategies, TODOs)

7. **Load context skills**

  • Check `Tech Stack:` in project CLAUDE.md
  • Load matching skills from `~/.claude/skills/` (see Skill Loading in global CLAUDE.md)
  • Example: Tech Stack includes "Bash" → Read `standards-shell/SKILL.md`

8. **Summary**

  • What was recently changed?
  • What Records were loaded and why?
  • Open notes found? Summarize key points
  • What's the next step according to CLAUDE.md?
Read more
Read it on GitHub ↗
Ships withclaude-code-setup

Persistent memory for Claude Code via Markdown files. 📖 Read the Documentation for detailed guides, tutorials, and reference.

Get the whole plugin, auto-invoked
Stats
57
Stars
0
Views
6
Forks
Maintained
Maintenance
Shell
Language
MIT
License
2mo ago
Last commit
6mo ago
Created

Repo: b33eep/claude-code-setup