Agent skill

branch-comparison

> [IMPORTANT] Use TaskCreate to break ALL work into small tasks BEFORE starting — including tasks for each file read. This prevents context loss from long files. For simple tasks, AI MUST ask user whether to skip.'

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill branch-comparison-duc01226-easyplatform --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 6 KB
Bundled scripts: none
Path: skills/analysis/branch-comparison-duc01226-easyplatform/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

--- name: branch-comparison version: 1.0.1 description: "[Git] Use when the user asks to compare branches, analyze git diffs, review changes between branches, update specifications based on code changes, or analyze what changed. Triggers on keywords like "compare branches", "git diff", "what changed", "branch comparison", "code changes", "spec update"." allowed-tools: Read, Write, Edit, Bash, Grep, Glob, Task, TaskCreate --- > **[IMPORTANT]** Use `TaskCreate` to break ALL work into small tasks BEFORE starting — including tasks for each file read. This prevents context loss from long files. For simple tasks, AI MUST ask user whether to skip. ## Quick Summary **Goal:** Analyze all file changes between git branches, perform impact analysis, and update specification documents. **Workflow:** 1. **Discovery** — Run git diff/log, classify changes (Frontend/Backend, Feature/Bugfix) 2. **Knowledge Graph** — Document each changed file with dependencies, impact level, service context 3. **Analysis** — Code review (strengths, weaknesses, security), refactoring recommendations 4. **Approval Gate** — Present findings for explicit approval before updating specs 5. **Spec Update** — Update require

What's inside
Steps it walks through
  1. Quick Summary
  2. PHASE 1: EXTERNAL MEMORY-DRIVEN BRANCH ANALYSIS
  3. PHASE 1A: INITIALIZATION AND DISCOVERY
  4. GIT BRANCH ANALYSIS DISCOVERY
  5. PHASE 1B: KNOWLEDGE GRAPH CONSTRUCTION
  6. PHASE 1C: OVERALL ANALYSIS
  7. PHASE 2: COMPREHENSIVE ANALYSIS AND PLANNING
  8. 1. Code Review Analysis
  9. 2. Refactoring Recommendations
  10. 3. Specification Update Plan
  11. PHASE 3: APPROVAL GATE
  12. PHASE 4: SPECIFICATION UPDATE EXECUTION
  13. SUCCESS VALIDATION
  14. Branch Comparison Guidelines
Ships with 1 file
  • metadata.json
Commands it runs
git diff --name-status [source-branch]..[target-branch]
git diff --stat [source-branch]..[target-branch]
git log --oneline [source-branch]..[target-branch]
More from claude-skill-registry
All skills →
About this skill
What does the branch-comparison skill do?

> [IMPORTANT] Use TaskCreate to break ALL work into small tasks BEFORE starting — including tasks for each file read. This prevents context loss from long files. For simple tasks, AI MUST ask user whether to skip.'

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill branch-comparison-duc01226-easyplatform --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going