with one click
postmerge
Post-merge workflow — extract lessons and sync knowledge
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Post-merge workflow — extract lessons and sync knowledge
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
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.