/copycat:precedentfrom copycat
Read 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.
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 repo is a body of rulings. Every convention in it was a decision made under pressure, and the pressure is still recorded beside it.
Read the rulings and most of your design questions are already answered. Guess, and you reopen a case this repo closed a year ago.
Commands are in CASES.md.
Where two sources disagree the higher one wins outright. Never average them.
Enforced overrules stated. Recent overrules old.
Settled code teaches nothing. Read where the repo paid.
Three cases where the repo argued with itself beat thirty files where it did not.
Name the three objections your change will draw, and the case answering each: a sha, a review comment, a CI rule. An objection with no citation behind it is not a convention you found, it is a design proposal. Raise it as one, in the open.
Null result: No precedent. Proposing rather than following.
Ask it of every non-obvious choice: has this repo already decided this? Where it has, follow the ruling, or say plainly that you are asking to overrule it and what changed since. Silently re-deciding a settled question is the failure this skill exists to prevent.
Reads and reasons. Never merges, never pushes on the user's behalf.
History before the first clamp is a different repo. Those conventions are the ones it now rejects in review, and sampling them teaches habits current reviewers will strip back out.
Where a ruling would produce a bug or a security hole, write the correct code and name the departure. Precedent binds defaults, not correctness.
Where the repo has no ruling and no statute, say so rather than importing one from a neighbouring project.
What SKILL.md sets; muted values are Claude Code's defaults
4 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.
/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.
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-copycat