interface-review
Skill này làm gì
Skill này rà soát một nhánh, pull request hoặc tập thay đổi chưa commit. Nó xem thay đổi đã làm hỏng hoặc làm tệ đi điều gì trong giao diện, không xem toàn bộ dự án. Nó dành cho lập trình viên và người rà soát muốn nhận xét về chất lượng màn hình trước khi hợp nhất.
Khi nào nên dùng
- ✓Khi bạn có một pull request và muốn kiểm tra các thay đổi giao diện về khả năng tiếp cận hoặc bố cục.
- ✓Khi bạn có các thay đổi chưa commit và muốn biết chúng có làm màn hình tệ đi không.
- ✓Khi nhánh của đồng nghiệp thay đổi nút, chữ hoặc màu và bạn muốn một lần rà soát tập trung.
Liên kết skill
https://github.com/jakubkrehel/skills/blob/main/skills/interface-review/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Rà soát nhánh của tôi xem có vấn đề giao diện nào do thay đổi của tôi gây ra không.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill xác định các thay đổi cần rà soát, đọc mã cũ và mã mới, rồi phân loại từng phát hiện theo loại. Nó chỉ báo cáo những gì thay đổi đã gây ra.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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
Câu hỏi thường gặp
Nó có rà soát toàn bộ mã nguồn không?
Không. Nó tập trung vào các thay đổi trong nhánh, pull request hoặc phần việc chưa commit của bạn.
Nó có kiểm tra lỗi và lỗ hổng bảo mật không?
Không. Nó hướng bạn đến việc rà soát mã chung cho những thứ đó và không tự báo cáo chúng.
Nó tìm loại vấn đề nào?
Nó bao quát khả năng tiếp cận, bố cục, cách viết, kiểu chữ, màu sắc và chất lượng giao diện nói chung.
Chi tiết
Mô tả gốc của tác giả
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
Độ phổ biến
- Sao GitHub
- 10k
- Vị trí xếp hạng
- #11894
- Giấy phép
- MIT
- Cập nhật
- 1/11/2026
Bình luận
- …
Thêm skill từ kho mã này
better-accessibility
10kRà soát và sửa các vấn đề về bàn phím, tiêu điểm, trình đọc màn hình, biểu mẫu và chuyển động trong giao diện, theo tiêu chuẩn WCAG 2.2.
better-colors
10kXây dựng và kiểm tra hệ thống màu bằng cách tạo bảng màu, đặt tên token, chuyển đổi định dạng và đo độ tương phản.
better-interface
10kRà soát toàn bộ màn hình hoặc luồng theo khả năng tiếp cận, bố cục, cách viết, kiểu chữ, màu sắc và độ hoàn thiện, rồi xếp hạng các vấn đề.
better-layout
10kThiết lập nhóm, căn lề, thứ tự đọc và cấu trúc đáp ứng kích thước màn hình, rồi kiểm tra bố cục vẫn ổn khi thay đổi kích thước hoặc khi dịch ngôn ngữ.
Skill tương tự
angular-developer
280kGiúp agent của bạn viết code Angular và tư vấn cấu trúc dự án, hữu ích khi bắt đầu dự án mới hoặc cải thiện hiệu suất.
frontend-a11y
280kGiúp agent của bạn làm cho giao diện web dễ tiếp cận với mọi người. Đảm bảo website và ứng dụng hoạt động tốt với trình đọc màn hình và điều hướng bằng bàn phím.
frontend-patterns
280kGiúp agent của bạn áp dụng các mẫu hiện đại trong phát triển frontend. Tối ưu hiệu năng, quản lý trạng thái và tuân theo thực hành tốt nhất với React và Next.js.