Git 工作流安全助手。本技能应在需要执行分支管理、Monorepo 安全合并、PR 创建/审查/合并、冲突处理、cherry-pick、安全回退、stale/已合并分支审计与清理(branch cleanup,含 squash/rebase merge 校验)、开 worktree 前 base 同步检查(防 main drift 致 PR not mergeable)、多 worktree 并行时 main worktree 占用处理时使用。不要用于:批量生成提交信息、项目任务分配、长期任务状态管理或本地多 Agent 会话编排。
$npx -y skills add cat-xierluo/legal-skills --skill git-workflowInstalls into the current project.
Run `npx skills use "https://github.com/cat-xierluo/legal-skills" --skill "cat-xierluo/legal-skills/git-workflow"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/cat-xierluo/legal-skills" that are relevant to the current task. Run `npx skills add "https://github.com/cat-xierluo/legal-skills"` and select the relevant skills, then follow their instructions.