GitAnalyze — Git skill for Claude Code
深入分析指定分支或 worktree,评估 merge / rebase / cherry-pick / delete 是否安全.
How to install GitAnalyze
Installs to ~/.claude/skills/ulyssesleolee-magos-gitanalyze/SKILL.md
mkdir -p ~/.claude/skills/ulyssesleolee-magos-gitanalyze && curl -fsSL https://raw.githubusercontent.com/UlyssesLeoLee/MAGOS/HEAD/commands/GitAnalyze.md -o ~/.claude/skills/ulyssesleolee-magos-gitanalyze/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What GitAnalyze does
description: 深入分析指定分支或 worktree,评估 merge / rebase / cherry-pick / delete 是否安全 argument-hint: " [--remote] [--help]"
Handle `--help` first, even if other arguments are present. Answer solely from the inline help below, then stop before any tool call, file read, skill load, or repository inspection. If the target is missing, ask for it and show this help. For an unknown option, explain the error, show this help, and stop.
Inline help
Usage: `/GitAnalyze
Alternatives in Git
- Git Worktree Docs Issue: Dependency Installation — GitHub — Community feedback on official docs with full worktree lifecycle walkthrough 81.1k ★
- Clean Worktrees (Automatic) — Automatically remove all worktrees for branches merged into master 25.5k ★
- Worktree Deliver — Commit all work, push, and create a pull request from the current worktree 23.4k ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Commit Branch PR Pick
Commit the current changes to a new branch and create a PR. Cherry-picks only the relevant changes into the br
Orchestrate Tickets
Run multiple Jira tickets in parallel, each in its own isolated git worktree, each implemented and shipped by
Rebase Plan
Drafts a pick / squash / reword plan for git rebase -i to clean up a feature branch before PR. Advisory only -
Merged
The PR is merged; confirm it landed, clean up its worktree and branch, then pick the next task
Worktree Rm
Remove a git worktree and optionally delete its branch
Remove Worktree Prompt
Remove a git worktree, delete its branch, and stop its running services
Related Agents
Merger
Reviews, validates, and merges arc-agents PRs. Sole authority for destructive git ops (rebase, push, merge, br
Merge Cleanup
Commits worktree changes, cherry-picks them to main, removes the worktree, and prunes the branch. Use at the e
Kss Sonnet Low
KSS executor — sonnet, low effort. One layer, 1-2 files, copying an existing pattern. Also used for integratio