feat(capitalize): add CAPITALIZE step across completion skills
Registries only get filled if something actively writes to them. Without integration, the 3-question ritual is aspirational text. Adds a CAPITALIZE step at the end of every completion skill so work milestones automatically propose BDR/LRN/BLK entries from context. - ship-feature STEP 9 — decision/learning/blocker candidates per feature - bugfix STEP 7 — always propose BLK with root cause; LRN if pattern reusable - hotfix STEP 5 — default skip; only prompt when non-obvious lesson surfaces - feat STEP 6 — propose BDR for design choice, LRN for pattern - commit-change Phase 4 — analyze the commit batch, propose grouped entries Every variant also appends a one-liner to .claude/memory/journal.md under today's date heading. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.7
parent
c1efd87aad
commit
6e322db968
@@ -129,6 +129,27 @@ Load `$HOME/.claude/agents/doc-syncer.md`.
|
||||
Execute in automatic mode:
|
||||
`auto-mode scope: <list of files modified during this session>`
|
||||
|
||||
## STEP 7 — CAPITALIZE (memory registries)
|
||||
|
||||
A bugfix with an understood root cause is almost always worth one entry:
|
||||
|
||||
1. Propose a `BLK-XXX` entry in `.claude/memory/blockers.md` pre-filled from STEP 3 diagnosis:
|
||||
- `friction` = symptom
|
||||
- `real_cause` = root cause identified
|
||||
- `solution` = the fix applied
|
||||
- `status` = resolved
|
||||
2. If the root cause exposed a **reusable pattern** (would catch the same bug elsewhere or in other projects) → also propose an `LRN-XXX` entry in `.claude/memory/learnings.md`.
|
||||
3. Present as:
|
||||
```
|
||||
CAPITALIZE — proposé
|
||||
BLK-XXX — <friction> — resolved
|
||||
[LRN-XXX — <pattern>] (optionnel)
|
||||
Valider ? (all / blockers-only / edit / skip)
|
||||
```
|
||||
4. Append approved entries + update the Index. Add a line to today's heading in `.claude/memory/journal.md`.
|
||||
|
||||
If the bug was trivial and the root cause not transferable → skip with `CAPITALIZE: trivial, skip`.
|
||||
|
||||
---
|
||||
|
||||
## RULES
|
||||
|
||||
Reference in New Issue
Block a user