بنقرة واحدة
postmerge
Post-merge workflow — extract lessons and sync knowledge
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Post-merge workflow — extract lessons and sync knowledge
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Pre-work ritual — search knowledge and plan before coding
Pre-push checks — lint and review before pushing
Unified PR review triage — fetch, normalize, and batch-action bot comments
End-of-session — update memory, clean up, report
| name | postmerge |
| description | Post-merge workflow — extract lessons and sync knowledge |
After merging PRs, run the following sequence. Replace $ARGUMENTS
with the merged PR numbers (space-separated, e.g. 51 52).
Extract lessons from the merged PR(s):
pnpm exec totem lesson extract $ARGUMENTS --yes
Sync the semantic index:
pnpm exec totem sync
Compile new rules (local, uses Sonnet):
pnpm exec totem lesson compile
Review newly compiled rules in .totem/compiled-rules.json:
Stage and commit artifacts:
git add .totem/lessons/ .totem/compiled-rules.json .totem/compile-manifest.json
git commit -m "chore: totem postmerge lessons for $ARGUMENTS"
Report: how many lessons extracted, rules compiled, any issues found.