When should you use it?
- Reviewers keep leaving the same comment on pull requests and nobody has written it down as a rule
- One engineer has a useful agent setup and other teams have not heard of it
- You lead AI tool adoption for a software team and need evidence of what is working
Not for: Ranking or comparing individual engineers; the skill is written never to do that; Teams without git history or code review to learn from; Copying a habit from one repo into another without checking it fits
What do you need, and what do you get?
You need
- Claude Code with the champion-kit plugin installed from the official plugin directory
- A repo, plus your yes to read its git history and, optionally, review comments through the GitHub CLI
- A time window, such as the last month
You get
- The three to five most frequent repeat fixes or review notes, each with a count and one link or file path
- A suggestion for each: a project instructions line, a skill or a plugin
- A drafted rule or skill, written from your description and saved only after you approve the diff
- A short note listing good practices other teams could copy, for you to post yourself
How does it work, step by step?
- Install the pluginAdd champion-kit from the claude-plugins-official marketplace and start a new session in your repo.
- Pick scope and sourcesRun the patterns command, choose repeats, good practices or both, choose a window and say which sources it may read.
- Check the evidenceOpen the linked PR or file for each finding and confirm the pattern is real before anything is drafted.
- Describe the rule yourselfExplain the pattern in your own words. The draft is built from your description, not from comment text.
- Share the noteEdit the drafted note about good practices and post it where your team works, crediting people only with their OK.
The prompt
Our adapted version, written to work in Claude Code. Values in lime are placeholders.
Fill in the blanks (optional; the copied prompt uses your values)
Look at {repo_name} over {time_window}, using only the sources I approve. List the review notes or fixes that come up most often, each with a count and one link, and say whether each should become a project rule or a skill. I will describe the one I pick in my own words; draft it from that and show me the change before saving. Also list good practices other teams could reuse, without ranking or naming individuals.
The original skill is published by anthropics on GitHub (anthropics/claude-plugins-official). Open it there to install or import it; the prompt above is our own adaptation.
What can go wrong?
- Skipping the consent questions. Choosing a default never counts as permission to read git history or comments, so answer each one deliberately.
- Auto-accepting writes. In auto or accept-edits mode Claude Code will not pause before writing a file, so use manual mode if you want to review each write.
- Treating a count as proof. A repeat in one repo may be a local quirk; read the linked examples first.
- Naming people without asking. Credit someone in a shared note only after they agree.
Our take
Most advice on rolling out AI coding tools is about training sessions and slide decks. This skill takes a more grounded route: it looks at what your team actually does in commits and reviews and asks what keeps repeating. That makes the output hard to argue with, because every finding comes with a count and a link someone can open. The safety design is unusually careful. The helper that reads exports can only return numbers, paths, links and fixed category words, the skill rejects the whole batch if anything looks off, and the rule it drafts is built from the champion's own description rather than from comment text. That guards against a malicious comment smuggling instructions into your project rules. It is also explicit about never ranking people, which matters if you want engineers to trust the exercise. The trade-off is setup and permissions friction, and it needs real history to be useful. In our dry run on a fictional month of review data, it surfaced a missing-null-check note repeated nine times, proposed a project instructions line and waited for approval before writing.
Where the time goes back: Reviewers can spend hours each month repeating the same note on pull requests. Spotting the top repeats from real history and turning one into a written rule removes that loop, and sharing working habits saves other teams from rediscovering them.
FAQ
Does it read every comment and commit?
Will it post the note for me?
Who made it and what license does it use?
Source and credit
This playbook is based on work by anthropics. We summarize it and link to it and write our own adapted prompt.
- Original
- patterns skill (anthropics/claude-plugins-official, champion-kit plugin)
- Creator
- anthropics
- Published on
- GitHub (anthropics/claude-plugins-official)
- Original date
- Nov 6, 2026
- License
- Apache-2.0
- Originally for
- Claude Code
- AI dry run
- Nov 18, 2026: passed. Dry-run tested by our AI test agent on sample input. Evidence-backed repeats, injection-resistant drafting, approval before writing; no live repo or GitHub CLI call in the dry run.
AI dry run on sample data; not run with live connected accounts. The playbooks.bot test agent filled the prompt with synthetic inputs, produced the output and checked it against the page's stated outputs and guardrails. - Verified
- Nov 18, 2026: source link resolves to the original, the credited creator published it, our excerpt or prompt matches it, and the license allows our use.
The original is licensed under Apache-2.0 by anthropics. Modified: our adapted prompt and summary are our own wording; the original skill {"was unchanged at the source when we snapshotted it (live source later removed)" if src_removed(s) else "is unchanged at the source link"}.
Are you the creator? Claim or correct this page.