interface-review
できること
このスキルは、ブランチ、プルリクエスト、またはコミットされていない変更の集まりを確認します。プロジェクト全体ではなく、その変更がインターフェースに何を壊したか、または悪化させたかを見ます。マージの前に画面の品質について意見がほしい開発者やレビュー担当向けです。
使う場面
- ✓プルリクエストがあり、そのインターフェースの変更にアクセシビリティやレイアウトの問題がないか確認したいとき。
- ✓コミットされていない変更があり、それで画面が悪くなったかどうか知りたいとき。
- ✓チームメンバーのブランチがボタン、文字、色を変えていて、それに絞ったレビューがほしいとき。
スキルのリンク
https://github.com/jakubkrehel/skills/blob/main/skills/interface-review/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“私のブランチを確認し、私の変更によって生じたインターフェースの問題があれば教えてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
このスキルは、どの変更を確認すべきかを特定し、古いコードと新しいコードを読んで、各指摘を種類ごとに分けます。変更によって生じた問題だけを報告します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Interface review
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.
It owns the scope, the classification and the change-scoped report. 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 such a concern once, point at that review and drop it.
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 whole diff before forming an opinion of it. A skimmed diff produces findings about code the next hunk already fixed.
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:
HEADis ahead ofgit merge-base origin/<default-branch> HEAD. Review that range plus any uncommitted changes, stating the commit count and the uncommitted file count separately.- The working tree is dirty. Review the uncommitted changes.
- Neither. There is no change to review, so follow With no change, ask rather than invent one.
Record the base commit of the resolved range as $BASE and name it in the scope block. Every command in this skill and its references uses it.
Exclude lockfiles, snapshots, generated output, vendored code and binaries per Excluded paths, and name what you excluded. If nothing survives the exclusions, treat it as no change.
2. With no change, ask rather than invent one
A clean tree with nothing ahead of the merge base means there is no change to review. Never fall back to HEAD~1..HEAD on your own. The last commit is whatever happened to land, often a merge or someone else's work.
Gather the facts in Nothing to review, state them, then offer these routes and wait:
- The open pull request on the current branch, first when there is one. A branch whose commits already landed resolves to no change, while its pull request is still exactly what the user meant.
- The last commit,
HEAD~1..HEAD, named by short SHA and subject so the user sees what they would get. - A target they name, such as
pr <n>, a branch, a ref or a range. - A whole-repository interface audit, which is not a change review. Hand it to
better-interfaceas a repository-scope review, without this skill's scope block, statuses or pre-existing section.
Where exclusions emptied the scope, name the excluded files in the offer. 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 one hop by default, to 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 in total across both hops, ordered by the rule in Scope resolution. State how many you did not expand, since 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 a regression only 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.
5. Classify every finding
Give every finding one status:
Introduced: the change created it.Regression: the change weakened something previously correct.Pre-existing: present before the change and not made worse by it.
Status by cause, not by location. A finding a changed line causes is Introduced or Regression wherever it surfaces, including an untouched consumer of a changed token
よくある質問
コードベース全体を確認しますか?
いいえ。ブランチ、プルリクエスト、またはコミットされていない作業の中の変更に絞ります。
バグやセキュリティの問題も確認しますか?
いいえ。それらについては、一般的なコードレビューを案内し、このスキル自体は報告しません。
どんな種類の問題を探しますか?
アクセシビリティ、レイアウト、文章、書体、色、そして画面の全般的な品質を扱います。
詳細
作者による元の説明
Reviews a branch, pull request or uncommitted change for the interface problems it introduced or regressed, across accessibility, layout, writing, typography, color and UI.
repo: jakubkrehel/skills
人気
- GitHubのスター
- 10k
- ランキング
- #11894
- ライセンス
- MIT
- 更新日
- 2026/11/1
コメント
- …
このリポジトリの他のスキル
better-accessibility
10kインターフェースのキーボード、フォーカス、スクリーンリーダー、フォーム、動きの問題を、WCAG 2.2の基準に照らして確認し、修正します。
better-colors
10kカラーパレットを生成し、トークンに名前を付け、形式を変換し、コントラストを測定して、配色システムを作成・確認します。
better-interface
10k画面やフロー全体を、アクセシビリティ、レイアウト、文章、書体、色、仕上がりの観点から見直し、問題を優先順位付きで並べます。
better-layout
10kグループ分け、整列、読み順、レスポンシブな構造を整え、サイズ変更や翻訳をしても、レイアウトが崩れないことを確かめます。
似ているスキル
angular-developer
280kエージェントがAngularのコードを作成し、プロジェクト構成についてアドバイスできるようにします。新しいプロジェクトの開始、コード部品の作成、パフォーマンスやアクセシビリティの改善に役立ちます。
frontend-a11y
280kエージェントが Web インターフェースを誰にとっても使いやすくするよう支援します。スクリーンリーダーやキーボード操作に対応し、サイトやアプリが適切に動作するようにします。
frontend-patterns
280kエージェントがフロントエンド開発の最新パターンを適用できるようにします。React と Next.js において、パフォーマンスの最適化、状態管理、ベストプラクティスの遵守を行います。