← Back to library

Find repeat fixes and good habits in your team's PRs

Anthropic's champion-kit plugin for Claude Code includes a patterns skill for the person who helps a team adopt AI coding tools. It reads only the sources you approve, has a read-only helper return counts and links, ranks recurring fixes and drafts a shareable note. We link to the skill and describe it in our own words.

  • OutcomeHave Claude Code look across a chosen window of commits and pull request review comments for the same fix or review note coming up again and again, suggest turning the top ones into a project rule or skill you write in your own words, and list good practices already in the repo that other teams could copy.
  • SetupUnder an hour
  • LevelIntermediate
  • Creditanthropics
View original
Works with
Claude Code

Published Nov 18, 2026Updated Nov 18, 2026AI dry run on sample input: passed Nov 18, 2026Source verified Nov 18, 2026

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?

  1. Install the pluginAdd champion-kit from the claude-plugins-official marketplace and start a new session in your repo.
  2. Pick scope and sourcesRun the patterns command, choose repeats, good practices or both, choose a window and say which sources it may read.
  3. Check the evidenceOpen the linked PR or file for each finding and confirm the pattern is real before anything is drafted.
  4. Describe the rule yourselfExplain the pattern in your own words. The draft is built from your description, not from comment text.
  5. 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)

Prompt2 variables
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?
No. A read-only helper scans the exports you approve and returns only counts, file paths, PR links and category words, which the skill checks before using.
Will it post the note for me?
No. It drafts the text and you post it yourself.
Who made it and what license does it use?
Anthropic published the champion-kit plugin in the anthropics/claude-plugins-official repository on GitHub under the Apache 2.0 license.

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.

More in IT & Security

All 82 IT & Security playbooks →

Related playbooks

IT & SecuritySkill✓ AI dry run

Score your team's AI coding adoption with repo evidence

Have Claude Code rate a software team on seven areas of AI coding adoption, from tool access to guardrails, using evidence from the repo where you allow it and your answers elsewhere, then write a self-contained HTML report with the overall step, the weakest area and next moves.

Credit: anthropics

Under an hour
IT & SecuritySkill✓ AI dry run

Map CLI help output into skills to cut MCP token use

Replace token-hungry tool servers with lightweight skill files generated by having a coding agent crawl a command line tool's help pages.

Credit: ex1fm3ta on Hacker News

Under an hour
IT & SecurityWorkflow✓ AI dry run

Triage assigned tickets into draft PRs or questions

Classify each assigned ticket as ready or not; ready ones get a draft pull request, the rest get a drafted clarifying question.

Credit: u/MountainByte_Ch on r/ClaudeAI

An afternoon+