/copycat:canonfrom copycat
Build a personal library of engineering practice by mining how maintainers actually run repos over time, then write from it. Use when the user wants to learn from a codebase rather than contribute to one, wants to study several projects, is deciding their own conventions, or says "canon" or "/canon". Do NOT use when matching a single maintainer to get a PR merged, that is with-the-grain.
Ships in copycat. 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.
Read when SKILL.md points to them.
A canon is the practice you have earned the right to hold, because you watched it work somewhere real.
One repo gives you a habit. Several repos agreeing gives you a practice. Only practices enter the canon.
Commands and the entry format are in MINING.md.
Conventions are answers. The arc tells you what the questions were. Four moments carry almost all the signal:
A habit is local and arbitrary. Nothing breaks if you do it differently: scope vocabulary, file naming, branch names.
A practice has a failure mode behind it. Remove it and a specific bug walks back in.
Every entry names the failure mode. A practice recorded without its trigger is cargo cult, and you will apply it where that failure cannot occur and pay the cost for nothing.
Three states: observed in one repo, corroborated across independent repos
with different maintainers, adopted as yours with a reason.
Volume from one source never promotes. A prolific maintainer is one data point, however many commits they wrote.
Null result: Nothing corroborated. Logged as observed.
Where two repos disagree, do not pick a winner. Store both with the condition that separates them. Most convention disputes are two correct answers to different constraints, and the condition is the thing actually worth learning.
When starting work, name the entries in play before the first file. Where an entry does not fit, say which and why, then set it aside deliberately.
An entry you cannot justify out loud is one you absorbed rather than adopted. Demote it.
Reads and records. Never contributes, never judges a specific artifact.
Does not imitate one maintainer for a merge, that is with-the-grain. Does not call ship or don't, that is the-pass.
Never adopt a practice whose failure mode you cannot name. Log it as
observed and wait for the repo that explains it.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
Generated from the plugin's indexed repository (wuisabel-gif/copycat) — no native marketplace selected
npx claudepluginhub p/wuisabel-gif-copycat4 skills in this plugin
/precedentRead a whole repo as case law: what its CI mechanically rejects, how its reviewers resolved problems when they hit, which conventions it adopted and later overruled. Then work inside those rulings instead of reopening them. Use when the user inherits an unfamiliar codebase, asks how this repo does something or why a convention exists, wants to know whether a change will survive review, or says "precedent" or "/precedent". Do NOT use to imitate one maintainer's voice for a merge, that is with-the-grain, or to build a library across many repos, that is canon.
/the-passShip-or-don't review against a fixed standard. Returns work with one line per defect: location, what is wrong, what fixes it. Ends on a verdict, never a summary. Use when the user says "the pass", "/the-pass", "is this good enough", "brutal feedback", "tear this apart", "review before I ship", or asks whether something is ready. Complements correctness review, this one only calls ship or don't. Do NOT use when the user wants help building something, only when something already exists to judge.
/with-the-grainProfile how a repo's maintainer works, then contribute in their idiom. Use when the user is about to write something that goes back to a repo they don't own: opening a PR, writing a commit for an upstream project, or asking to match a maintainer's conventions so a change gets merged. Do NOT use to understand an inherited codebase or find out why a convention exists, that is precedent, and do NOT use to build practice across several repos, that is canon.