Install in Claude Code
Copygit clone --depth 1 https://github.com/dyoshikawa/rulesync /tmp/diff-analyze && cp -r /tmp/diff-analyze/.rulesync/skills/diff-analyze ~/.claude/skills/diff-analyzeThen start a new Claude Code session; the skill loads automatically.
Definition
SKILL.md
# Diff Analyze Analyze the differences between the current branch and `origin/main`, and summarize the current work progress. ## Step 1: Refresh Main Branch Fetch the latest main branch state: ```bash git fetch origin main ``` ## Step 2: Inspect the Diff Get the differences between the current branch and main: ```bash git diff origin/main...HEAD ``` ## Step 3: Inspect Commit History Get the commit history of the current branch since it diverged from main: ```bash git log origin/main..HEAD --oneline ``` ## Step 4: Summarize the Work Based on the diff and commit history, summarize: - The main purpose of the current changes - The notable files or areas affected - The current implementation progress - Any obvious risks, gaps, or follow-up work Keep the summary concise and practical.
More from this repository
create-issueSkill
>-
create-scrap-issueSkill
>-
draft-releaseSkill
Draft a new release of the project.
git-worktree-runnerSkill
>-
playwright-cliSkill
Automate browser interactions, test web pages and work with Playwright tests.
release-dry-runSkill
Dry run for release: summarize changes since last release and suggest version bump.
rulesync-feature-researchSkill
>-
security-scan-diffSkill
Scan for malicious code in git diff between a tag/commit and HEAD