Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

kj-web-design-guidelines

bởi kjaylee

Web & Frontend Development
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Review UI code for Web Interface Guidelines compliance.

Mô tả

Kỹ năng này làm gì

Checks UI code files against the Web Interface Guidelines published by Vercel Labs. Fetches the latest ruleset before each review, then reports violations in a concise file:line format.

Always pulls the current guidelines instead of relying on a static snapshot, so reviews reflect the latest rules without manual updates.

Khi nào nên dùng

  • Auditing a component file before a pull request
  • Catching accessibility issues in new page layouts
  • Reviewing a design system implementation for spec compliance
  • Running a quick UX check on a landing page
  • Validating HTML/CSS output from a generated UI

Quy trình ví dụ

ĐẦU VÀO

User asks: review my UI for src/components/Hero.tsx

AGENT
  1. 1

    Fetch latest guidelines from the Vercel Labs raw GitHub URL

  2. 2

    Read the specified file src/components/Hero.tsx

  3. 3

    Apply each rule from the fetched guidelines to the file content

  4. 4

    Collect all violations with their line numbers

  5. 5

    Output findings in file:line format

ĐẦU RA

src/components/Hero.tsx:14 — missing alt attribute on img element src/components/Hero.tsx:31 — interactive element lacks visible focus indicator

Cài đặt

clawhub install kjaylee/kj-web-design-guidelines

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết