learnlisted
Install: claude install-skill wardawgmalvicious/agent-config
# Learn: capture session learnings into skills and rules
Turn something discovered during this session into a durable, verified
edit to the guidance that *should* have covered it. The goal is that the
next session never has to rediscover it.
This skill **proposes**; it does not commit. Edits land only after the
user approves the diff, and committing is handed to `/commit`.
The inverse skill is `/author-skill`: `/learn` folds a learning into
guidance that already exists, `/author-skill` creates guidance that has
no home yet. If the right destination for a learning turns out to be a
skill this repo does not have, that is an `/author-skill` job.
This repo lives at `C:\Repos\Personal\agent-config`; `~/.claude/skills`
etc. are junctions into it, so `/learn` may fire from a session in any
repo. All repo-relative paths and commands below (grep, the lint
script, `/commit`) run from that repo root, not the session's cwd.
## Step 1 — Identify what was learned
Reflect on the session, not just the last message. Candidate learnings:
- A skill or rule said X; reality was Y (doc-vs-reality gap).
- A step was missing and cost debugging time.
- An error message whose cause was non-obvious.
- A constraint / limit / version change not documented anywhere here.
- A user correction that reveals a general principle.
For each candidate, state in one or two sentences: **problem → root
cause → correct approach → generalization**. Drop anything that is
one-off, already obvious from the code, o