一键导入
post-branch-update
Update rules and skills after a branch merges — absorb learnings, refine patterns
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Update rules and skills after a branch merges — absorb learnings, refine patterns
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Close a branch — final validation, PR creation, merge, archive plan file
Initialize a new branch with worktree, BRANCH.md from template, and environment setup
Run a source adapter against fixture data and verify the extracted output
Run lot gate checks — typecheck, lint, and scoped tests for the current lot
Verify modified files against branch allowed/forbidden/conditional paths
Bootstrap a new source-feasibility spike in packages/radar-sources/src/sources/_spikes/
| name | post-branch-update |
| description | Update rules and skills after a branch merges — absorb learnings, refine patterns |
| paths | PLAN.md,plan/done/**,rules/** |
| allowed-tools | Read Write Edit Bash Grep Glob |
Run this after a branch is merged to keep rules/ and .claude/skills/ current with the latest patterns.
Identify what the branch changed
git log main~10..main --oneline --stat | head -60
Check whether rules need updating
rules/MASTER.md or a new sub-rule.rules/sources.md.rules/scoring.md.rules/testing.md.rules/workflow.md.Check whether skills need updating
lot-gate and branch-close skills..claude/skills/.Context budget
rules/MASTER.md must stay readable in one view (target < 200 lines).paths:.Update PLAN.md
merged in §1 and §3.Commit
git add rules/ .claude/skills/ PLAN.md
make commit MSG="chore: post-branch rules + skills update after <branch-name>"