review-powers
CLAUDE.md22 starsChanged 21 days agoMITView on GitHub
Skills that turn AI code reviews into decision reports: the user reviews the review, then decides. The skills are the product; everything else supports them. Pitch and install paths: README.md.
In this repository3 other files it gives its agents.
- review-pr-feedbackSkill
- review-prSkill
- review-ticketSkill
The file
We split this CLAUDE.md into the rules it gives an agent
2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 17
Repeated corrections: when the user corrects the same behaviour twice, it becomes an eval case, written even if not run.
- Distinctive: line 43
Optional: run evals only when the user asks.
≈ “Common” is an estimate: at least 1 in 5 of the 29,248 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
review-powers
Skills that turn AI code reviews into decision reports: the user reviews the review, then decides. The skills are the product; everything else supports them. Pitch and install paths: README.md.
Skills
review-pr: reviews someone's PR → numbered findings, each with a recommendation.review-pr-feedback: verdict per review comment on your PR → fixes what the user picks, replies to every comment.review-ticket: a finished Jira ticket as one change, across its subtasks, PRs and repos → findings, what's owed, design calls; files the chosen ones as one follow-up Task.
Editing skills
- Gate: stopping for the user's decision is the point of every skill; every change keeps it.
- Judgement over rules: a skill is prose that shapes judgement. Prefer a principle with its reason to a new rule.
- Short: schematic beats prose: a trigger and a list, not paragraphs of reasoning. An edit that grows a section needs a reason.
- Evidence: change a skill in response to an observed failure, and say how you'd check it: the eval cases it touches, or a real PR (or ticket) to try it on.
- Repeated corrections: when the user corrects the same behaviour twice, it becomes an eval case, written even if not run.
- Shared parts: each folder installs on its own, so some things are identical across skills; edit all of them. "Explain it to someone who doesn't know the code" up to "don't overwhelm the user" (all three); the order-and-tag paragraph of the gate (
review-prandreview-ticketword for word;review-pr-feedbackadds "not in the reviewer's order"); andscripts/lib/feeds.sh, the feed-fetching code thatfetch-pr.shandfeeds.shsource (review-prandreview-pr-feedback; check withcmp skills/review-pr/scripts/lib/feeds.sh skills/review-pr-feedback/scripts/lib/feeds.sh).review-ticket'sgather.pyhas its own port of it: a change to how feeds are fetched or written belongs in both, or say why not. - Scripts: mechanics (fetching, filtering, replying) live in
skills/<name>/scripts/;SKILL.mdsays when to run them and keeps the judgement. Bash 3.2,ghandjqonly, exceptreview-ticket:gather.pyis Python 3 (stdlib only), withgh,gitandacli, because bash 3.2 crashed (SIGBUS) resolving a large repo's context (#13); itsmd2adf.shstays bash. - Tests:
review-ticket's scripts have deterministic tests:tests/review-ticket/run.sh(free, seconds, no network). Run them (CI does too) after changinggather.pyormd2adf.sh.--updaterewrites the goldens inexpected/; read that diff before committing, since the goldens are the spec. A newghoraclicall needs a fixture intests/review-ticket/fixtures/, or the fake fails loudly.
Workflow
- Two branches: single author, no PRs.
mainis the default branch and holds only the latest release: everything users install (/plugin,npx skills add, manual copy) clones it. Work happens ondevelop: commit straight to it and push. A commit that finishes an issue saysCloses #<n>. - Release: bump
versionin.claude-plugin/plugin.json, move[Unreleased]inCHANGELOG.mdunder## [X.Y.Z] - <date>, pushdevelop, wait for CI, thenscripts/release.sh X.Y.Z(--dry-runfirst). It fast-forwardsmaintodevelop, tagsvX.Y.Zand creates the GitHub Release. Never push tomainby hand, never release unasked. - Local use:
~/.claude/skills/<name>symlinks toskills/<name>in this checkout, which stays ondevelop; the release script never checks out another branch. Don't also install the plugin on this machine, or skills appear twice. - CI:
.github/workflows/ci.ymlruns ondevelop,mainand PRs: manifests, skill names, the twolib/feeds.shcopies,review-tickettests. Onmainit also checks thatplugin.json,CHANGELOG.mdand the tag agree.
Layout
skills/<name>/SKILL.md the skills
skills/<name>/scripts/ what the skills run: fetch-pr.sh; feeds.sh, reply.sh (lib/feeds.sh in both); gather.py, md2adf.sh
.claude-plugin/ plugin + marketplace manifests (version lives in plugin.json)
evals/<skill>/<case>/ eval cases: prompt.md, case.yaml, graders/, scaffold.sh (+ history.jsonl for a second turn)
evals/_fixtures/ fake hotel-api repo, its PRs, and a fake `gh`
tests/review-ticket/ run.sh, fake gh + acli (bin/), fixtures/, goldens (expected/)
CHANGELOG.md Keep a Changelog, semverEvals
- Optional: run evals only when the user asks. Each agent run costs ~$0.30 and ~1 min, so the full suite is ~$10. You may suggest the cases a change touches, with their cost, and wait for a yes.
- Run:
claude plugin eval . --scaffold --allow-tools Bash Edit Write --judge-model sonnet -j 4; without-jruns go one at a time. Without--ablation noneit also runs every case without the plugin, as a baseline, which doubles the cost. Without a terminal (an agent's shell), add--trust-plugin. - Targeted:
--case <name>(thename:incase.yaml; one per run, a second--casereplaces the first) for the cases a change touches, as a smoke run (--runs 1 --ablation none); 3 runs only when a result looks borderline. - Graders: an LLM grader asks a checkable question (is the problem stated? is there a case with real values?), never a style score.
- More: fixtures, graders, the fake
ghand adding a case →evals/README.md. - Results: runs land in
evals/results/<timestamp>/and are git-ignored. When the user asks for a full-suite run (no--tag) for a release, copy itsaggregate-result.jsontoevals/results/<version>/and commit it with the release; checksuite.plugins[0].versionmatches. Never commitreport.htmlor timestamped folders.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

