kj-web-design-guidelines
由 kjaylee 提供
Web & Frontend Development简介
Review UI code for Web Interface Guidelines compliance.
描述
该技能的功能
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.
何时使用
- 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
示例工作流
User asks: review my UI for src/components/Hero.tsx
- 1
Fetch latest guidelines from the Vercel Labs raw GitHub URL
- 2
Read the specified file src/components/Hero.tsx
- 3
Apply each rule from the fetched guidelines to the file content
- 4
Collect all violations with their line numbers
- 5
Output findings in file:line format
src/components/Hero.tsx:14 — missing alt attribute on img element src/components/Hero.tsx:31 — interactive element lacks visible focus indicator
安装
clawhub install kjaylee/kj-web-design-guidelines运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。