From dev-toolkit
Scans conversations for hard-won lessons, infrastructure changes, and new workflows, then proposes scoped edits to CLAUDE.md for approval before writing.
How this skill is triggered — by the user, by Claude, or both
Slash command
/dev-toolkit:claude-md-updaterThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Analyze the current conversation to identify information worth persisting in CLAUDE.md for future sessions, then propose the edits for approval before writing anything.
Analyze the current conversation to identify information worth persisting in CLAUDE.md for future sessions, then propose the edits for approval before writing anything.
Scan the conversation for keywords:
Categorize findings. Only durable facts belong in CLAUDE.md:
Build the exact diff. Produce a unified diff against the current CLAUDE.md showing the precise lines and sections to be added or changed. This diff is what the user approves, not a summary of it.
Present the diff for approval and write nothing until the user approves.
Show the exact patch first, then a short summary grouped by category:
## Proposed CLAUDE.md updates
```diff
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ section being changed @@
existing context line
+new durable lesson, infra fact, or workflow
```
Summary of the diff above:
- Hard-won lessons: [one line, if any]
- Infrastructure updates: [one line, if any]
- New workflows: [one line, if any]
Apply this diff? Nothing is written until you approve.
CLAUDE.md is team-shared (checked into git) and advisory: it loads into every session, so it is for durable, infrequently-changing facts, not a running log. Per the project-memory skill, keep these out of CLAUDE.md:
Route those to auto memory (~/.claude/projects/<project>/memory/, which Claude maintains on its own) or to a gitignored CLAUDE.local.md for personal notes. Putting them in CLAUDE.md bloats shared context and loads stale per-session facts into future sessions.
CLAUDE.local.md, never the committed CLAUDE.md.npx claudepluginhub jamditis/claude-skills-journalism --plugin dev-toolkitUpdates CLAUDE.md to capture decisions, preferences, and patterns established during a conversation, ensuring future sessions retain project context.
Extracts reusable strategic knowledge from session history (architecture, patterns, ops) and updates local CLAUDE.md. Triggers on 'learn', 'save knowledge', or session ends.
Guides effective maintenance of CLAUDE.md files: adding lessons learned, updating conventions, restructuring instructions. Covers when to update/remove rules, structure templates, hierarchy, and size limits.