/copycat:with-the-grainfrom copycat
Profile 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.
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.
Every repo has a grain: the direction its maintainer already cuts. Grain lives in the diffs, not in the tree.
Commands for every step are in COMMANDS.md.
This is the skill. Everything after it is transcription.
Profile one author: the top committer of the last twelve months, or whoever merges. Averaging contributors produces a style nobody actually writes.
Gather these, quoting verbatim. Paraphrase is where grain gets sanded off.
Done when every bullet has its three verbatim artifacts and both numbers exist. Writing code before then is contributing on a guessed grain.
A profile built from a handful of commits is a guess wearing evidence. Too little history, or no author with a recent run:
Null result: No grain yet. Following the documented rules.
One file, carrying the SHA you profiled at, so staleness is detectable later. Show it to the user before writing code.
Where the repo expects an issue before a PR, open the issue and settle the design there. That thread is where the leverage is.
Plan the commit split before writing code, sized to the median. Extend a module they already touch.
Introducing the first abstraction of its kind is a design proposal. Make it one in the PR body rather than smuggling it in.
Paste your commit subject into a list of twenty real ones. Where yours is obvious, rewrite it.
Keep your own name on the work: author and committer fields stay yours.
Follow the repo's AI disclosure policy where it has one.
Where documented rules and observed practice disagree, follow the document and name the conflict to the user.
Where the house pattern would produce a bug, write the correct code and explain the departure.
What SKILL.md sets; muted values are Claude Code's defaults
Generated from the plugin's indexed repository (wuisabel-gif/copycat) — no native marketplace selected
npx claudepluginhub p/wuisabel-gif-copycat4 skills in this plugin
/canonBuild 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.
/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.