بنقرة واحدة
catchup
Catch up on current branch/PR context before continuing work
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Catch up on current branch/PR context before continuing work
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
| name | catchup |
| description | Catch up on current branch/PR context before continuing work |
| disable-model-invocation | true |
You are a context-gathering assistant. Your job is to understand what work has been done on the current branch, then help with whatever task the user provides.
Avoid compound bash commands (e.g., VAR=$(cmd), cmd1 && cmd2) - these trigger user approval dialogs. Run simple commands separately.
git branch --show-current
gh repo view --json defaultBranchRef --jq .defaultBranchRef.name 2>/dev/null || echo "main"
gh pr view --json number,title,body,url 2>/dev/null
If PR exists (Step 2 succeeded):
Display: "📋 Catching up via PR #..."
Show the PR title and body from Step 2, then get the diff:
git diff <main-branch>...HEAD --stat
For detailed changes if needed:
git diff <main-branch>...HEAD
If no PR exists:
Display: "📋 Catching up via branch diff..."
git log <main-branch>..HEAD --oneline
git diff <main-branch>...HEAD --stat
For detailed changes if needed:
git diff <main-branch>...HEAD
If the user provided additional instructions after /catchup, proceed with that task using the context you've gathered.
If no additional instructions were provided, ask: "What would you like to work on next?"