AgentSkillsCN

catchup

通过对比当前分支与 master/main 分支之间的全部变更,梳理关键文件并生成全面的总结报告,从而快速掌握分支中发生的改动。当您需要了解某个功能分支的具体变更内容时,此功能将为您提供有力支持。

SKILL.md
--- frontmatter
name: catchup
description: Catch up on branch changes by reviewing all changes between current branch and master/main, analyzing key files, and providing a comprehensive summary. Use when you need to understand what changed in a feature branch.
disable-model-invocation: true

Catch Up on Branch Changes

This command reviews all changes between the current branch and master, analyzes key files, and provides a comprehensive summary to help you catch up on what's been done.

Steps:

  1. Run git status to get the current branch name and verify we're not on master
  2. Run git fetch origin master to ensure we have the latest master branch
  3. Run git diff master...HEAD --name-only to get list of changed files
  4. Run git diff master...HEAD --stat to get a summary of changes
  5. Run git log master..HEAD --oneline to get the commit history for this branch
  6. Read and analyze the most important changed files (prioritize: manifests, configs, core logic files)
  7. Provide a high-level summary including:
    • Branch purpose and scope of changes
    • Key files modified and their significance
    • Potential impact areas
    • Any notable patterns or architectural changes
    • Suggested review focus areas