بنقرة واحدة
post-branch-update
Update rules and skills after a branch completes — absorb learnings, update patterns
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Update rules and skills after a branch completes — absorb learnings, update patterns
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
| name | post-branch-update |
| description | Update rules and skills after a branch completes — absorb learnings, update patterns |
| paths | PLAN.md,**/BRANCH.md,rules/** |
| allowed-tools | Read Write Edit Bash Grep Glob |
Run this after a branch is merged to keep rules/ and skills/ current.
git log main~10..main --oneline --stat | head -60
rules/api-services.mdrules/ui-components.mdrules/extensions.mdrules/schema-migrations.mdrules/test-patterns.mdrules/workflow.md or rules/MASTER.mdprovider-cascade skillnew-e2e or test-patterns rulerules/MASTER.md must stay < 100 lines (always loaded)paths:donegit add rules/ .claude/skills/ PLAN.md && git commit -m "chore: post-branch rules update after <branch-name>"
Use when bringing the harness method to a NEW or non-sentropic repo — maps the repo's conventions into a harness profile so the same scope/branch/verify kernel applies anywhere.
Use before any creative/design work (a feature, a package, an evolution) — explores intent and design via the spec-ladder with multi-peer adversarial review BEFORE implementation.
Use on any bug, test failure, or unexpected behaviour BEFORE proposing a fix — runs the generic evidence-first root-cause loop.
Use when you have a spec/decisions and need an executable plan — writes a lot-based BRANCH.md from the template and completes with track for realization state.
Use when completing a feature, a design step, or before merging — runs a ≥2-peer consensus review and reconciles the findings, instead of a single rubber-stamp pass.
Use when adding or evolving tests for a feature/bugfix — applies the sentropic test-pyramid, scoped-test loop, environment isolation, and AI-flaky policy.