Skip to content
Back to skills

Review

ASecurity

Review the changed lines of a UI diff for what lint cannot see — a raw element dressed as an existing control, a caller overriding a control's height, copied control markup, new global CSS, static inline style, hand-written theme selectors, idle repaint.

  • 12 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added November 9, 2026
ai-agentsexpresscode-reviewgit

Works with

  • cursor
  • terminal
  • cli

Security analysis

A100/100

Scanned December 3, 2026

npx -y skills add mxrsv/agents-skills --skill review --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Review?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Review
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mxrsv-review-agents-skills/badge)](https://www.skillsdirectory.com/skills/mxrsv-review-agents-skills)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: review
description: Review the changed lines of a UI diff for what lint cannot see — a raw element dressed as an existing control, a caller overriding a control's height, copied control markup, new global CSS, static inline style, hand-written theme selectors, idle repaint.
---

# Review — a styling guard on changed lines

Not a general review (built-in `/code-review`) and not a visual judgement (screenshots and the
owner's eye). Read only the changed lines (`git diff` against the commit's base) and answer the
questions below. Do not build, run the app, inspect emitted CSS, trace selector consumers
across the codebase or ask for screenshots. If the diff does not make a violation obvious,
there is no finding.

## Before reading

- Find the repo's rules: its `AGENTS.md` numbering (e.g. "R11 control owns its look") if
  present, else the FE rules in skill `kyant-ui-rules`. Cite the repo's numbers.
- Find the controls folder and any carve-outs the repo lists (native selects over a pill,
  terminal or editor surfaces).
- Run the repo's linter on the changed files. Report its output as it is; do not repeat what
  it already caught.

## 1. Controls come from the controls folder ("Only the repo's controls" in `kyant-ui-rules`)

- Flag a bare `<button>`, `<input>`, `<select>` or `<textarea>` styled to look like a control
  the folder provides.
- Flag a caller that sets a control's height or size (`h-*`, `size-*`, `min-h-*`): lint lets
  sizing through as layout. A look several places need is a new size on the primitive.
- Do not flag raw elements that are not a control by design: rows, tabs, resize handles,
  swatches, terminal and editor surfaces, and the repo's own carve-outs.

## 2. Styling lives on the component that renders it ("One scale per app" in `kyant-ui-rules`)

- Flag new rules in a stylesheet that classes on the owning component could express. Global
  CSS is right for generated markup (rendered markdown), third-party hosts (terminal, editor),
  custom elements, keyframes, runtime theme variables and platform integration.
- Flag a new `style={{ … }}` carrying a static value a class covers; runtime values are fine.
- Flag a hand-written `.dark` selector where the theme provides a `dark` variant.

## 3. Compose, do not copy ("Only the repo's controls" in `kyant-ui-rules`)

- Flag a new component that copies a primitive's markup and classes instead of composing it.
- Flag a long class string that repeats a treatment another call site already uses: the fix
  is a variant on the primitive or a slot on a shared composite.
- Flag a new member of a slot family (banner, row, card) that hand-builds its row, icon
  column or actions instead of using the slots.

## 4. Motion ("Little, purposeful motion" in `kyant-ui-rules`)

- Flag a new infinite animation, `requestAnimationFrame` loop or interval that drives visuals
  while nothing changes, unless it runs only while its state exists and stops under reduced
  motion.

## 5. Actionable states ("Every interactive element shows it" in `kyant-ui-rules`)

- Flag a new raw element with a click or drag handler (`onClick`, `role="button"`, a resize
  handle) that sets no matching cursor, and a control the user needs that shows only on hover
  (`opacity-0 group-hover:opacity-100`). Controls from the controls folder already carry theirs.

## Reporting

Report only violations the changed lines introduce, one line each: file and line, the rule,
and the primitive or place the code should use instead. Do not comment on untouched legacy
code, class order or taste, and do not ask for cleanup outside the change. With no findings,
the whole report is `All clear`.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.