/proof:proof-learnfrom proof
Sweeps the current session for product and code lessons, records them, searches past decisions, and promotes durable learnings into a decisions file. Run at the end of every issue or when a working session pauses.
Ships in proof. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Direct access to the running record. The other skills capture learnings automatically; this is for the ones that arrive on their own — debugging at midnight, a realisation in the shower, a lesson from something that broke.
/proof-learn # sweep THIS session for anything worth keeping
/proof-learn "draft orders silently drop when a user signs out"
/proof-learn --search freezes
/proof-learn --promote 14 # promote an issue's learnings to the decisions file
/proof-learn --review # what is recorded, what should be promoted, what should be pruned
Read _partials/config.md, _partials/voice.md and _partials/learnings.md first — the format and the
promotion bar live there.
The default. Re-read the conversation so far and find what is worth keeping — the point is that you should not have to notice a learning in the moment to capture it.
If the session has been compacted, the full transcripts are in .claude/archive/
(written by the PreCompact hook before each compaction). Read the most recent ones so a
long session's early hours are not silently missing from the sweep.
Hunt these six patterns. They are where learnings actually hide:
Time is a reliable tell: anything that took more than two attempts to get right was teaching you something. Go back and name it.
These look like learnings and are not. Do not propose them:
learnings.file. Check before proposing — and if you find a
near-duplicate, say so: it means the record was not read before the work started,
which is more useful to know than the entry itself.Propose candidates as a table, each with where it came from and your call on whether it
clears the durability gate in _partials/learnings.md:
From this session:
| # | Candidate | Source | Verdict |
|---|-----------|--------|---------|
| 1 | SecureStore writes >2KB no-op in Expo Go, succeed in a dev build | 40min debugging the account switch | Durable — passes all four |
| 2 | Chose per-level AsyncStorage keys over one blob; one corrupt entry would lose everything | plan discussion | Durable — passes all four |
| 3 | patch-package step must run before the iOS build | build failure | Issue comment — fails Q3, it is in the postinstall script |
1 and 2 for DECISIONS.md, 3 as a comment on #14. Confirm?
An empty sweep is a real answer. If the session was routine, say "nothing from this session meets the bar" and write nothing. Manufacturing entries to justify the run is exactly how the file fills with noise and stops being read.
Ask which issue it belongs to. If none does, it goes straight to learnings.file as a
standalone entry.
Do not transcribe what the user said — interrogate it into something useful. If they give you a decision, ask what the alternative was. If they give you a gotcha, get it concrete enough to act on. "AsyncStorage is unreliable" helps nobody; "AsyncStorage writes over ~2KB fail silently in Expo Go but work in a dev build" is the difference between a record and a diary.
Search issue comments under the learnings heading and learnings.file together, and
present what you find with links. If nothing matches, say so — do not reason from
general knowledge and present it as something the project learned.
Per the durability bar in _partials/learnings.md. Propose, wait for confirmation,
append, commit.
Keeps the decisions file healthy. Two things:
If you notice repeats, tag any that are not yet tagged, per _partials/learnings.md.
Do not go further than that. Several repeats mean something about how the work is done
is off — that is a process question, and /proof-retro answers it.
After a session sweep — the chain's last link — report what was recorded, then ask
what to do next, per _partials/chain.md: usually, pick up the next issue.
The other modes (recording one lesson, searching, promoting, reviewing) just report their result. They are not steps in an issue's chain.
/proof-learn owns what the project knows: individual lessons about the product and
the code, and the decisions file that holds the durable ones. /proof-retro owns how
the work goes: patterns across many issues, and changes to process and config. Learn
never proposes process changes; retro never writes the decisions file directly.
What SKILL.md sets; muted values are Claude Code's defaults
sonnet11 skills in this plugin
/proof-designUse when setting up or checking a project's design system — not part of every issue. Establishes a design system where a project has none, wire an existing one into the harness so the other skills obey it, or report drift between the tokens and the code — detects which of the three applies rather than being told/proof-fixUse when something is broken — finds the root cause before changing anything, confirms it, fixes it with a test that proves it, and opens a PR. The path every bug takes, instead of spec and work. Part of every bug/proof-handoffUse when a design made in a design tool is ready to be built — checks it against the codebase before anything is built (what exists, what is new, what cannot be built as drawn, which states are missing), writes the revisions for the design tool, repeats until it is clean, then records the approved design in the issue and marks it ready. Between spec and work, for designs made elsewhere/proof-initUse once per project — not part of every issue — when setting up the Proof harness for the first time, or when its configuration is out of date — inspects the repo, asks what it cannot infer, and writes .claude/harness.json plus the GitHub board and labels/proof-planUse periodically — not part of every issue — to decide what to work on next and in what order, re-check priorities that have gone stale, and optionally clean up duplicate, superseded or abandoned issues. Proposes; changes nothing without approval/proof-retroUse periodically — monthly or after a release, not part of every issue, or let the retro routine run it. Owns how the work goes, not what was learned. Looks back over a stretch of work: shipped against planned, where work waited, how estimates held up, which areas keep breaking, how often lessons repeated, whether the goals moved. Posts a retro issue with at most three process changes as tick boxes, and applies the ones tickednpx claudepluginhub jsamitt/proof-claude-plugin --plugin proofOther plugins' skills for the same job