forked from bchanot/claude
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
@@ -119,6 +119,32 @@ Load `$HOME/.claude/agents/doc-syncer.md`.
|
||||
Execute in automatic mode:
|
||||
`auto-mode scope: <list of files modified during this session>`
|
||||
|
||||
## STEP 9 — CAPITALIZE (memory registries)
|
||||
Feature shipped implies at least one design decision worth capturing. Run this before declaring done:
|
||||
|
||||
1. Scan conversation context for:
|
||||
- **Design / architecture choices with rationale** → candidate for `decisions.md` (BDR-XXX).
|
||||
- **Reusable patterns, surprising discoveries** → candidate for `learnings.md` (LRN-XXX).
|
||||
- **Dead-ends with identified root cause** → candidate for `blockers.md` (BLK-XXX).
|
||||
2. For each candidate, pre-fill a full entry (ID, date, title, body per registry schema) from conversation context.
|
||||
3. Present them grouped:
|
||||
```
|
||||
CAPITALIZE — registres proposés
|
||||
|
||||
[ decisions.md ]
|
||||
BDR-XXX — <titre> — <1-line why>
|
||||
[ learnings.md ]
|
||||
LRN-XXX — <pattern>
|
||||
[ blockers.md ]
|
||||
(aucun)
|
||||
|
||||
Valider lesquels ? (all / <IDs> / edit / skip)
|
||||
```
|
||||
4. Append approved entries to the registries. Update the Index table at the top of each file.
|
||||
5. Append a one-line entry to `.claude/memory/journal.md` under today's date heading (`## YYYY-MM-DD`).
|
||||
|
||||
If nothing substantive to log → print `CAPITALIZE: rien à logger (travail trivial)` and skip.
|
||||
|
||||
---
|
||||
|
||||
## RULES
|
||||
|
||||
Reference in New Issue
Block a user