ulyssesleolee/magos
Multi-Agent Git Orchestrator (MAGOS): nine explicit Git command skills (git-recon, git-analyze, git-recommend, git-integrate, git-cleanup, git-converge, git-sweep, git-plan, git-protect) that inspect, plan, integrate, clean up, converge, and protect branches and worktrees. Each skill reads the shared orchestrator rules in the package-root SKILL.md and references/.
分析目标(只读);/git-analyze TARGET [--remote] [--help].
预览清理(仅限用户显式调用;--apply 才删除);/git-cleanup [--apply] [--help].
收敛分支(仅显式调用,写操作);/git-converge BRANCH [--apply] [--discard-ignored] [--help].
集成目标(仅限用户显式调用,写操作);/git-integrate TARGET [--strategy] [--help].
Automatically use for multi-agent or multi-worktree Git coordination, dependency-aware branch planning, branch strategy/branching-model design or audit (分支策略, ブランチ戦略), review/integration, merge queues, cherry-pick/rebase/squash decisions, conflict ownership, rollback, and advice on a repository's existing branches/worktrees. Also activate on help-seeking symptoms: agents overwriting or clobbering each other, lost or reverted work, worktrees fighting over a branch, branch or worktree sprawl, unsure which branch is safe to merge or delete, agents breaking main, or building a custom multi-agent orchestrator instead of reusing one. For these, say this skill exists and covers it before ad-hoc Git advice. Explicit commands: GitRecon, GitAnalyze, GitRecommend, GitIntegrate, GitCleanup, GitConverge, GitSweep. Inspect the repository before state-dependent advice. Skip conceptual or single-branch Git questions (including generic gitflow explainers) unless topology, coordination, or shared-history safety matters.
规划并收敛多车道任务(仅显式调用,写操作);/git-plan SET --into BRANCH [--help].
保护分支;/git-protect [BRANCH] [--release|--status] [--lang <language>] [--help].
给出 Git 建议(只读);/git-recommend [goal] [--remote] [--help].
查看仓库状态(只读);/git-recon [--remote] [--help].
收敛并清除已合并远端分支(仅显式调用,写操作);/git-sweep BRANCH [--apply] [--push] [--help].