当部分完成并准备合并时激活。处理git合并和冲突解决。
/plugin marketplace add blueif16/amazing-claude-code-plugins/plugin install infistack@plugin-market-marketplaceThis skill inherits all available tools. When active, it can use any tool Claude has access to.
所有者: 仅主协调器
当 meta.yaml 中某个部分的 status 变为 completed 时触发。
# 1. 获取最新主分支
git fetch origin main
# 2. 预览变更
git diff main..{section-branch} --stat
# 3. 尝试合并(不提交)
git merge {section-branch} --no-commit
# 4. 处理结果
if [冲突]:
分析冲突文件
应用解决策略
else:
提交合并
更新 meta.yaml
清理 worktree 和分支
当遇到无法自动解决的冲突时,创建 sections/{section-id}/merge-conflict.md:
# 合并冲突报告
**分支:** {section-branch}
**时间:** {timestamp}
## 冲突文件
### src/auth/controller.ts
- **冲突类型:** 业务逻辑
- **冲突行:** 45-62
- **原因:** 主分支和功能分支都修改了 login 方法
**主分支版本:**
```typescript
async login(req, res) {
const user = await UserService.authenticate(req.body);
return res.json({ token: generateToken(user) });
}
功能分支版本:
async login(req, res) {
const user = await UserService.authenticate(req.body);
const token = await TokenService.create(user);
return res.json({ token, refreshToken: token.refresh });
}
建议: 需要人工决定是否保留 refreshToken 功能
## meta.yaml 更新
```yaml
merge_status:
completed: [auth, payments]
pending: [notifications]
conflicts:
- section: ui-components
branch: reddit-bot/ui-components
files: [src/components/Button.tsx, src/styles/theme.ts]
report: sections/ui-components/merge-conflict.md
合并成功后:
# 提交合并
git commit -m "Merge {section-branch}: {section-name}"
# 清理 worktree
git worktree remove ../worktrees/{section-id}
# 删除分支
git branch -d {section-branch}
# 更新 meta.yaml
# 将部分从 pending 移到 completed
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.
Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.