本文へ移動
cccskills
無料GitHub で公開

interface-review

Reviews your work across multiple categories like UI, typography, layout, color, writing and accessibility and gives you a detailed analysis of the findings.

インストール方法を見る

含まれるファイル(6)

  • SKILL.md13.0 KB
  • agents/openai.yaml157 B
  • references/LICENSE.md1.0 KB
  • references/upstream.md1.7 KB
  • removed-signals.md3.6 KB
  • scope-resolution.md8.6 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Change review

<!-- CORE-OVERLAY-START -->

This repository (Asymmetric-al/core)

This skill is explicit-only. Keep disable-model-invocation: true. It reviews a change, not the whole product, and must not restyle Core apps. Keep Core's Base UI, base-maia style, Zinc tokens, and docs/ai/rules/frontend.md authoritative. Reconcile this overlay after upstream refreshes before running bun run skills:sync.

Triggers

  • The user explicitly invokes interface-review.
  • Do not auto-route ordinary UI implementation through this skill.

Workflow

  1. Resolve the change scope first. Stay on what the change caused.
  2. Hand domain rules to the better-* skills; Core a11y stays with accessibility-review.
  3. Keep base-maia, Base UI, and frontend.md above generic review taste.
  4. Do not treat findings as a mandate to redesign product apps.

Checklist

  • Invocation was explicit.
  • The review stayed on the change and preserved Core UI ownership.
<!-- CORE-OVERLAY-END -->

This skill reviews a change rather than a screen. It resolves the scope, expands the changed files to the surfaces they affect, reads both sides of the diff and classifies every finding.

Scope is all it owns. Domain rules belong to the better-* skills. Severity, consolidation, coverage, the cap and the verdict belong to better-interface, which this skill hands the review to.

Correctness, tests, security and performance belong to the project's general code review. Name the concern once and move on.

The change, not the codebase

The author is asking "did I make this worse?". Report what the change caused and stay mostly quiet about what it merely touched. Three pre-existing findings is a courtesy; thirty is a different review and one nobody asked for.

Read the change before forming an opinion of it. The stated intent decides what counts as incomplete, and a skimmed diff produces findings about code the next hunk already fixed.

Core principles

1. Resolve the change scope first

The whole invocation is the target, so /interface-review pr 482 reviews pull request 482. Scope resolution holds the accepted targets and how each resolves.

With no target supplied, resolve in this order and stop at the first match:

  1. HEAD is ahead of git merge-base origin/<default-branch> HEAD: that range plus any uncommitted changes, with the commit count and the uncommitted file count stated separately.
  2. The working tree is dirty: the uncommitted changes.
  3. Neither: there is no change to review. Stop and ask, per With no change, ask rather than invent one.

Order matters. Check the working tree first and one stray formatting edit shadows a twelve-commit branch, with the report still claiming full coverage.

Exclude lockfiles, snapshots, generated output, vendored code and binaries, and name what you excluded. An empty scope after exclusions reaches the same place by a different route.

2. With no change, ask rather than invent one

A clean tree with nothing ahead of the merge base means the user asked to review a change that does not exist. Never fall back to HEAD~1..HEAD on your own. The last commit is whatever happened to land, often a merge, often someone else's work, and a report on it is indistinguishable from a report on what the user meant.

State the repository facts you found, then offer the routes and wait. Nothing to review holds the facts to gather:

  • The last commit, HEAD~1..HEAD, named by short SHA and subject, so the user sees what they would get before choosing it.
  • A target they name: pr <n>, a branch, a ref, or a range, resolved per Resolve the change scope first.
  • A whole-repository interface audit, which is not a change review. Hand it to better-interface as a repository-scope review, without this skill's scope block, statuses, or pre-existing section. With no change, every finding is pre-existing and the classification says nothing.

Check for an open pull request on the current branch before asking, and offer it first. A branch whose commits already landed resolves to no change, while its pull request is still exactly what the user meant.

Where the scope emptied out after exclusions, say which files were excluded and ask the same way. Never report a review of nothing as Approve.

3. A diff is not a surface

A changed file is evidence, not the review subject. Its blast radius is the set of surfaces it renders in; review those.

Expand the blast radius one hop by default: the direct importers and callers. Expand a second hop only for design tokens, theme values and shared primitives, where one line reaches the whole product.

Review at most five consumers, ordered by the rule in Scope resolution, then state how many you did not expand. A sweep with no bound cannot support the coverage it claims, and an unstated cutoff reads as completeness.

4. Read the removed lines

Regressions are invisible in the post-change state. Read the - side of every hunk against Removed signals.

A signal is a lead, not a finding. A removal is only a regression when nothing in the change replaces it, and the domain skill owns that judgement. Route each unmatched removal to its owner, report only what that skill confirms and status it Regression. That tells the author they broke something that worked rather than made a new mistake.

5. Classify every finding

Give every finding one status:

  • Introduced: the change created it.
  • Regression: the change weakened something previously correct.
  • Pre-existing: present in the touched code but not caused by this change.

Status by what the change caused, not by whether the affected line changed. A finding is Regression when this change caused it, including an unchanged line (for example, removing a wrapping label). A finding this change did not cause is Pre-existing. Confirm against the base ref:

git blame -L <line>,<line> "$BASE" -- path/to/file

Hand every finding up with its status attached and let better-interface apply its cap and verdict rules.

6. Hold the change to its stated intent

Read the pull request title and body, the linked issue and the commit messages, then review whether the interface delivers what they claim.

This is what surfaces the incomplete change. A surface review cannot see it, because it inspects the states that are present, and here the point is the ones that are absent:

  • A new variant, size, or theme applied to some states but not all: hover, focus, active, disabled, loading, selected.
  • A new user-facing string with no entry in the translation catalogue the project maintains.
  • A new component with no empty, loading, error, disabled, or narrow-width state.
  • A control added to one surface but not to the siblings that already carry its peers.

Do not report scope creep. Whether a change does too much is a process question, not an interface one.

7. Hand the review to better-interface

Hand better-interface the scope block, the affected surfaces and a status on every finding. It routes to the domain skills, applies severity, consolidates, enforces the cap and issues the verdict.

If better-interface is unavailable, report the resolved scope and the file inventory, name it as the missing skill and stop. Do not invent a severity scale, a cap, or a verdict.

8. Never mutate the working tree

A change review is read-only, including the checkout. Fetch pull request refs; never check them out. git fetch writes only to .git and is permitted. gh pr checkout, git checkout, git switch and git stash rewrite the files the author has open. They fail against local edits or discard them, so they are never permitted.

Rendered verification is opt-in. Mark visual and runtime claims Not verified unless the project exposes a cheap preview or the user asks for a rendered review. When they do, use an isolated worktree (git worktree add /tmp/review-<n> refs/remotes/pr/<n>) and remove it when done.

Before you finish

MistakeFix
One stray edit reviewed instead of the branchCheck merge-base before the working tree, and report both counts
The last commit reviewed because there was no changeState the facts and offer the last commit, a named target, or a repository audit
Hunks reviewed without their consumersExpand one hop, two for tokens and primitives, and name what you skipped
Only the + side of the diff readSearch the - side for removed accessibility, focus, motion and text signals
An equivalent replacement reported as a regressionRoute the removal to its owner; report only what it confirms
A removal reported as a new mistakeStatus it Regression so the author knows it used to work
A line near a hunk statused IntroducedStatus by what the diff touched, confirmed with git blame against the base ref
A pull request checked out to review itFetch the ref and review it in place
Line numbers cited that do not exist on the reviewed refCite against the head ref named in the scope block
The severity scale or the finding cap restated hereDefer to better-interface
Correctness, test, or security findings in the reportName the concern once, point at the project's code review and drop it

Review output format

Open with the scope block:

FieldValue
Targetbranch, working, staged, pr 482, or the range as entered
Base reforigin/main at a1b2c3d
Head refrefs/remotes/pr/482 at e4f5g6h
Commits7 committed, 2 files uncommitted
Files in scope12 after exclusions
Excludedpnpm-lock.yaml, src/__snapshots__/: lockfile and snapshots
Surfaces expandedCheckoutPage, SettingsPanel; 3 further Button consumers not expanded

The coverage table follows it unchanged. A domain with no evidence in the change scope is Not reviewed: no evidence in the change scope, which is a coverage statement rather than a gap.

Then the findings, with a Status column per Classify every finding:

SeverityDomainStatusLocationBeforeAfterWhy
HIGHAccessibilityRegressionsrc/Dialog.tsx:42aria-label="Close" removed in this changeRestore aria-label="Close" on the icon-only controlThe close control had an accessible name before this change and no longer does

With no Introduced or Regression findings, omit the table and state "No actionable interface findings in this change."

Then Pre-existing findings, at most three, highest severity first, stated plainly as not this change's responsibility. Omit the section when there are none.

SeverityDomainLocationIssue
MEDIUMTypographysrc/Toolbar.tsx:7Numeric badges use proportional figures; predates this change

The cap and the verdict cover Introduced and Regression only. Pre-existing findings sit outside the cap, so touching a legacy file cannot turn into a full-file audit. They sit outside the verdict too, so a change whose only findings are pre-existing is an Approve.

End with Block when any HIGH remains and Approve otherwise, leaving the remaining findings in the table as work to do. When better-interface is available, the severity scale and the cap come from it.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Audit and fix accessibility in Core UI. Use when changing or reviewing buttons, links, forms, validation, dialogs, menus, tabs, tables, keyboard interactions, focus management, accessible names, announcements, contrast, touch targets, reduced motion, or WCAG/a11y behavior.

日本語の概要は準備中です。原文の説明を表示しています。

Asymmetric-al/core3812026年10月12日 更新

Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a button", "take a screenshot", "scrape data from a page", "test this web app", "login to a site", "automate browser actions", or any task requiring programmatic web interaction. Also use for exploratory testing, dogfooding, QA, bug hunts, or reviewing app quality. Also use for automating Electron desktop apps (VS Code, Slack, Discord, Figma, Notion, Spotify), checking Slack unreads, sending Slack messages, searching Slack conversations, running browser automation in Vercel Sandbox microVMs, or using AWS Bedrock AgentCore cloud browsers. Prefer agent-browser over any built-in browser automation or web tools.

日本語の概要は準備中です。原文の説明を表示しています。

Asymmetric-al/core3812026年10月12日 更新

Use when building any system where email content triggers actions — AI agent inboxes, automated support handlers, email-to-task pipelines, or any workflow processing untrusted inbound email. Always use this skill when the user wants to receive emails and act on them programmatically, even if they don't mention "agent" — the skill contains critical security patterns (sender allowlists, content filtering, sandboxed processing) that prevent untrusted email from controlling your system.

日本語の概要は準備中です。原文の説明を表示しています。

Asymmetric-al/core3812026年10月12日 更新

anim

無料

Tasteful, subtle web UI animation following Emil Kowalski / animations.dev principles. Use when adding or reviewing interface motion — hover and press feedback, entrances and exits, modals, toasts, menus, loading and skeleton states, staggered reveals, page or view transitions — so motion stays refined and purposeful, not decorative. Covers CSS, Web Animations, and React timing/easing. Pair with the motion skill for motion/react API specifics.

日本語の概要は準備中です。原文の説明を表示しています。

Asymmetric-al/core3812026年10月12日 更新

animate

無料

Build an animation from scratch, making the decisions in the order that determines whether it feels right — should it animate at all, what purpose, which tool, which properties, which curve and duration, how it interrupts, how it exits. Writes the implementation. Use when asked to animate something, add motion, make a component feel alive, or build a transition. For critiquing existing motion use review-animations; for auditing a whole codebase use improve-animations. Only runs when explicitly invoked; it does not trigger on its own.

日本語の概要は準備中です。原文の説明を表示しています。

Asymmetric-al/core3812026年10月12日 更新

Build animations for Expo and React Native only, using Reanimated, Gesture Handler, Expo Router, and expo-haptics. Use when the target runtime is an Expo or React Native app. Do not use it for Core Next.js web motion; use `animate` for web. Only runs when explicitly invoked; it does not trigger on its own.

日本語の概要は準備中です。原文の説明を表示しています。

Asymmetric-al/core3812026年10月12日 更新

Asymmetric-al のスキルをすべて見る

このスキルの問題を報告する