ui-ux-guidelines
15
总安装量
13
周安装量
#22184
全站排名
安装命令
npx skills add https://github.com/jgamaraalv/ts-dev-kit --skill ui-ux-guidelines
Agent 安装分布
opencode
13
github-copilot
13
codex
13
kimi-cli
13
gemini-cli
13
cursor
13
Skill 文档
Web Interface Guidelines
Dispatch hub for UI/UX rules. Load the relevant reference file for full details.
Contents
Rule Categories by Priority
| Priority | Category | Impact | Reference File |
|---|---|---|---|
| 1 | Accessibility | CRITICAL | accessibility-and-interaction |
| 2 | Touch & Interaction | CRITICAL | accessibility-and-interaction |
| 3 | Performance | HIGH | layout-typography-animation |
| 4 | Layout & Responsive | HIGH | layout-typography-animation |
| 5 | Typography & Color | MEDIUM | layout-typography-animation |
| 6 | Animation | MEDIUM | layout-typography-animation |
| 7 | Forms | HIGH | forms-content-checklist |
| 8 | Content & Navigation | MEDIUM | forms-content-checklist |
| 9 | Charts & Data | LOW | layout-typography-animation |
Workflows
1. Review UI code
- Read the target file(s).
- Load the relevant reference file(s) from
references/based on what the code contains. - Check each applicable rule. Report violations in the output format below.
2. Build new component
- Load
references/accessibility-and-interaction.md— all components must meet CRITICAL rules. - Load additional references based on component type:
- Form component ->
references/forms-content-checklist.md - Layout/visual component ->
references/layout-typography-animation.md
- Form component ->
- Follow rules during implementation.
3. Pre-delivery checklist
- Load
references/forms-content-checklist.mdfor the full checklist. - Load
references/accessibility-and-interaction.mdfor the interaction checklist. - Walk through every checkbox before shipping.
Anti-patterns (flag these)
user-scalable=noormaximum-scale=1— disables zoomonPastewithpreventDefault— blocks pastetransition: all— list properties explicitlyoutline-nonewithout:focus-visiblereplacement<div>/<span>with click handlers — use<button>or<a><img>withoutwidthandheight(causes CLS)- Inline
onClicknavigation without<a>(breaks Cmd+click) - Large
.map()without virtualization (>50 items) - Hardcoded date/number formats — use
Intl.* - Icon-only buttons without
aria-label
Code Review Output Format
Group findings by file. Use file:line format (VS Code clickable). Be terse — state issue and location. Skip explanation unless fix is non-obvious.
See template.md for the expected output format.
Reference Files
Load these as needed during reviews and implementation:
- Accessibility & Interaction — Focus, ARIA, keyboard, touch targets, cursors, drag UX
- Layout, Typography & Animation — Performance, responsive, fonts, color, motion, charts
- Forms, Content & Checklist — Forms, content handling, navigation, dark mode, locale, hydration, pre-delivery checklist