بنقرة واحدة
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>"