/recording:project-memoryfrom recording
Record repo-local lessons and location breadcrumbs so the next contributor or agent does not repeat the mistake or the wrong first guess. Follow this skill after a mistake worth not repeating, and whenever a search misses in the first place you looked. Check it before acting in an unfamiliar area of a repo.
Ships in recording. 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.
This skill is for lessons about this repo. A lesson about a skill's own guidance belongs in recording:self-improvement instead.
.claude/docs/lessons/<slug>.md, one file per lesson. A directory, not one document, so entries stay independently greppable and two contributors adding lessons never conflict. Slug is kebab-case from the trigger situation.
---
kind: lesson
date: 2026-09-07
trigger: about to run `stow .` from inside a worktree
---
# Never re-stow from a worktree
**Cost:** overwrote every ~/.config symlink to point at the worktree.
**Do instead:** targeted `ln -s` for the specific files under test.
kind: lesson — a mistake worth not repeating, by user or agent. Needs Cost and Do instead.kind: breadcrumb — where something actually lives. Needs Looked in and Actually in. Written when a search missed on the first guess.When searching for something and the first place you look does not have it:
The wrong guess is the valuable half. It is what the next agent will also guess, and it is what makes the note findable — a breadcrumb filed only under the right answer is one nobody searching will hit.
Do not write a breadcrumb when the first guess was right, and do not write one for something the repo's own docs already state plainly.
Before acting in an unfamiliar area, glob .claude/docs/lessons/*.md and read the trigger frontmatter lines. Triggers are situations, so this is a cheap match against what you are about to do.
.config/git/ignore, and entries are local only once that file is the active global ignore — until then a new lesson shows up as an untracked file. So never stage a lesson file into an unrelated commit; it is not part of the change being committed. When the team is ready to share them, commit the directory deliberately, on its own.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub joelstoddard/guardrails --plugin recording6 skills in this plugin
/adrRecord a significant design decision in a personal project as a design doc in docs/design/<concept>.md, cited from the code that depends on it. Follow this skill when you make or change an architectural decision, choose between alternatives with real trade-offs, or need more than two sentences to explain why code is the way it is. When the session context names a different ADR skill (a work project), use that one instead./mistakesDraft the broadcast for a mistake or incident — what happened, how it has been fixed, how we will prevent it. Follow this skill whenever something went wrong that someone else should hear about — a production incident, a broken build or release, or your own mistake (a bad push, a deleted file, a false "done", a wrong claim). In a personal project it is the whole post-mortem. Drafts only; never sends./rfcDraft an RFC for a personal project — a change that crosses component boundaries, alters a public interface, or is costly to reverse — as a design spec in docs/specs/. Follow this skill BEFORE implementing such a change. When the session context names a different RFC skill (a work project), use that one instead./self-improvementRecord and later apply lessons about the skills themselves. Follow this skill whenever the user corrects you, a skill's guidance led you into a mistake, or you notice a gap in a skill you just used — record the lesson before moving on. Invoke with "apply" to promote recorded lessons into the skill files./track-findingsFile every finding outside scope as a tracked issue, so nothing you noticed is left only in chat. Follow this skill BEFORE ending a turn that lists findings — yours or a persona's — and whenever the user says "track this", "add a todo", or "file an issue". Uses the tracker the session context names (a work project), otherwise GitHub issues.