Installable skillApache-2.0

Catch Up on Branch Changes

Review branch changes since fork point from main/master. Use when resuming work on a branch or onboarding to existing changes. Triggers on "catch up", "catchup", "what changed on this branch", "summarize branch changes", "review branch".

BY David-Li0406UPDATED Oct 28, 2026
INTENDED FOR✳Claude CodeInstall in a listed agent.

instructions.md

---
name: catchup-5fc53099c4c4
description: Review branch changes since fork point from main/master. Use when resuming work on a branch or onboarding to existing changes. Triggers on "catch up", "catchup", "what changed on this branch", "summarize branch changes", "review branch".
---

# Catch Up on Branch Changes

Review changes made on current branch since it forked from base.

## Workflow

### 1. Run branch diff script

```bash
~/.claude/skills/catchup/scripts/branch-diff.sh
```

This outputs:
- Branch name and base branch
- Changed files list
- Diff stats (insertions/deletions)
- Commit history

### 2. Analyze changes

Prioritize reading (in order):
1. Config files (package.json, tsconfig, etc.)
2. Schema/model changes
3. Core logic files (most insertions)
4. Test files

### 3. Summarize

Provide high-level summary:
- **Purpose**: What this branch accomplishes
- **Scope**: Key files/areas modified
- **Impact**: What parts of system affected
- **Patterns**: Any architectural changes
- **Review focus**: Suggested areas to examine closely

### 4. Restore tasks

Invoke `/restore-tasks` to recover any tasks from previous sessions on this branch.

## Manual Commands

If script unavailable:

```bash
# Get current branch
git branch --show-current

# Detect base (main or master)
git rev-parse --verify origin/main >/dev/null 2>&1 && echo "main" || echo "master"

# Fetch latest
git fetch origin main

# Find fork point
git merge-base origin/main HEAD

# Changed files
git diff $(git merge-base origin/main HEAD)..HEAD --name-only

# Diff stats
git diff $(git merge-base origin/main HEAD)..HEAD --stat

# Commit log
git log $(git merge-base origin/main HEAD)..HEAD --oneline
```

## Error Handling

| Situation | Action |
|-----------|--------|
| On main/master | Report "Already on base branch, nothing to compare" |
| No remote | Use local main/master as base |
| Detached HEAD | Report current commit, ask user for base branch |
COMPATIBILITY & REFERENCES

Platform guidance

Imported from the listed AgentSkill.sh category. Complete supplied package files and notices are retained. Includes source scripts; review them before use. Required external tools and credentials are not installed. No bundled code was executed during import. Individual agent task behavior has not been tested.