/officialunofficial-skills:code-reviewfrom Official Unofficial Skills
Reviews code changes since a fixed point (commit, branch, tag) along two axes: coding standards compliance and spec alignment. Runs parallel sub-agents for independent analysis.
Ships in Official Unofficial Skills. 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.
None: SKILL.md is the whole skill.
Review the diff between HEAD and a fixed point the user names, along two independent axes:
Each axis runs in its own parallel sub-agent so neither one contaminates the other's context; this skill then gathers their findings together.
You should already have the issue tracker on hand — run /setup-skills if docs/agents/issue-tracker.md is missing.
The fixed point is whatever the user gave you — a commit SHA, a branch name, a tag, main, HEAD~5, and so on. If they gave you nothing, ask.
Lock in the diff command once: git diff <fixed-point>...HEAD (three-dot, comparing against the merge-base). Grab the commit list too: git log <fixed-point>..HEAD --oneline.
Before you go any further, verify the fixed point resolves (git rev-parse <fixed-point>) and the diff has content. A dead ref or empty diff should blow up right here — not deep inside two parallel sub-agents.
Hunt for the originating spec in this order:
#123, Closes #45, GitLab !67, and so on) — retrieve them via the workflow in docs/agents/issue-tracker.md.docs/, specs/, or .scratch/ whose name matches the branch or feature.Whatever in the repo documents how code ought to be written — CODING_STANDARDS.md, CONTRIBUTING.md, and their kin.
On top of anything the repo documents, the Standards axis always carries the smell baseline below: a fixed set of Fowler code smells (Refactoring, ch. 3) that applies even when a repo documents nothing. Two rules bind it:
Each smell reads what it is → how to fix; check the diff against each:
switch or if-cascade over the same type recurs across the change. → replace it with polymorphism, or one map both sites share.a.b().c().d() walks the caller shouldn't depend on. → hide the walk behind one method on the first object.Send one message carrying two Agent tool calls. Use the general-purpose subagent for each.
Standards sub-agent prompt — include:
Spec sub-agent prompt — include:
If there's no spec, skip the Spec sub-agent and say so in the final report.
Lay out the two reports under ## Standards and ## Spec headings, verbatim or lightly tidied. Do not merge or re-rank the findings — the two axes are deliberately kept apart (see Why two axes).
Close with a one-line summary: total findings per axis, and the worst issue within each axis (if any). Don't crown a single winner across axes — that cross-axis reranking is exactly what the separation exists to prevent.
A change can clear one axis and fail the other:
Reporting the two separately keeps one axis from hiding the other.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
npx claudepluginhub officialunofficial/skills --plugin officialunofficial-skills85 skills in this plugin
/alignmentMeasures a running page for edges, gaps, centres and radii that miss by a pixel or two, judges visual weight, and returns a numbered report with proof./animateBuilds a web animation from scratch and writes the code. Decides in order whether it should animate at all, its purpose, the tool, the properties, the easing and duration or spring, how it interrupts and exits, and reduced motion. Use when asked to animate something, add motion, build a transition, or make a component feel alive. For React Native or Expo use animate-expo. To critique existing motion use review-animations. To audit a whole codebase use improve-animations./animate-expoBuilds animations in React Native and Expo with Reanimated, Gesture Handler, Expo Router and expo-haptics. Decides in order whether to animate, which tool, which properties, spring or timing, and how to stay on the UI thread. Use when animating anything in an Expo app, adding gestures, sheets, screen transitions, press feedback or haptics, or fixing motion that stutters on a device. For web animation use `animate`./animation-performanceDiagnoses and fixes web animations that drop frames. Covers the layout, paint and composite pipeline, cheaper property swaps, CSS and WAAPI against requestAnimationFrame, the accelerated path in Motion, React re-renders per frame, inherited CSS variables, blur cost, and when will-change helps. Use when an animation is janky, choppy or stutters, when choosing which property to animate, or when reaching for will-change or GPU layers. For easing, duration or whether to animate at all, use animate./animation-vocabularyNames a web animation or motion effect from a loose description, for example "the bouncy thing when a popover opens" is Pop in and "the iOS scroll that resists and snaps back" is Rubber-banding. Use when the user asks "what is it called when..." or describes a motion effect and wants the right word to give a designer or an agent. It names effects. It does not design or build them./apple-designApplies Apple's approach to fluid, physical interfaces on the web. Use when building or reviewing gesture-driven UI, spring animation, drag, swipe or sheet interactions, momentum, interruptible transitions, rubber-banding, translucent materials and depth, type tracking and leading, reduced motion, or when a design needs Apple's design principles as a frame.