ui-review
यह क्या करती है
यह tool user interface (UI) code की समीक्षा करता है, ताकि पक्का हो कि वह design नियमों का पालन करता है, सबके लिए accessible है, और programming की अच्छी practices को मानता है।
कब इस्तेमाल करें
- ✓जब आप जांचना चाहते हैं कि interface code तय किए गए visual standard के हिसाब से है या नहीं।
- ✓जब आपको पक्का करना हो कि interface विकलांग लोगों के लिए भी ठीक से काम करे।
- ✓जब आप चाहते हैं कि code अच्छी development practices को माने।
Skill का लिंक
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/ui-review/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“इस file ui-code.js में UI code की समीक्षा करो।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
Tool आपके code की तुलना रंगों, sizes, accessibility और दूसरी अच्छी practices के नियमों की सूची से करता है। जो standard से हटकर है, उसे बताता है और ठीक करने का तरीका सुझाता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
UI Design Review
When to Use
Use this skill when you need review UI code for design system compliance, accessibility, and best practices.
When NOT to use
- For accessibility-only issues → use
/ss-a11y - For Nielsen UX heuristics → use
/ss-audit - For a quick automated check → use
/ss-lint - For non-UI code (data fetching, business rules)
Review the file: $ARGUMENTS
Checklist
1. Design Token Compliance
- No hardcoded hex colors (use semantic tokens:
text-foreground,bg-brand, etc.) - No hardcoded px spacing in Tailwind (use
p-6notp-[24px]) - Shadows use CSS variables (
shadow-[var(--shadow-card)]) - Border radius follows the scale (
rounded-md,rounded-lg,rounded-2xl)
2. Component Conventions
- Uses
data-slotattribute - Uses
cn()for className merging - Props typed with
React.ComponentProps<> - Supports
classNameprop override - Named export (not default export for components)
- No wrapper components that only add a className
3. Accessibility (a11y)
- Touch targets >= 44x44px for interactive elements
-
focus-visiblestyles on all interactive elements - Proper
aria-*attributes where needed - Color contrast meets WCAG AA (4.5:1 for text, 3:1 for large text)
- Animations respect
prefers-reduced-motion - Images have
alttext - Form inputs have associated labels
4. Mobile Best Practices
- No horizontal overflow
- Touch-friendly spacing between interactive elements
- Safe area insets handled for notched devices
- Text sizes >= 12px for readability
- Scrollable containers have
-webkit-overflow-scrolling: touch
5. Performance
- No unnecessary re-renders (stable references, memoization where needed)
- Images are lazy-loaded
- Heavy components are code-split
6. Typography
- Uses the Pretendard/Inter font stack
- Font sizes from the 14-step scale (10-48px, see CLAUDE.md)
- Proper font weights (400, 500, 600, 700)
- Display text (36-48px):
leading-none+tracking-[-0.02em] - Heading text (18-24px):
leading-snug+tracking-[-0.01em] - Body text (14-17px):
leading-normal(no custom tracking) - Caption uppercase (10-13px):
tracking-[0.05em]ortracking-wide - No
line-height: 1.5on display/heading text (too loose)
7. Spacing Consistency
- All spacing values are multiples of 6px (p-1.5, p-3, p-6, etc.)
- No arbitrary spacing (p-5=20px, gap-3.5=14px are violations)
- Uses
size-*shorthand instead ofw-* h-* - Uses
ms-*/me-*instead ofml-*/mr-*(logical properties) - Motion transitions use design tokens (
duration-[var(--duration-fast)])
8. Coherence (VISUAL-CRAFT.md §C0 — the "one choice per axis" laws)
The biggest reason a UI reads as "AI-generated" isn't ugly parts — it's mixed parts. Check that each axis below uses ONE value system-wide; flag a mix as a real issue, not a nitpick.
- One radius personality — sharp (0-4px) OR soft (8-12px) OR pill, applied to every card/button/input/modal. No mixing (e.g. a
rounded-nonepanel withrounded-fullbuttons). - One accent color for interactive emphasis (+ semantic red/green/amber only) — not two+ competing accents.
- No emoji as UI icons (🚗🧺⭐ as list/nav/status/category markers) — they inject many uncontrolled hues; use one line-icon set in
currentColor. - Status color = severity, not decoration — a normal/OK/"보통" state is neutral grey (not colored); color marks only the minority of rows that need attention; same value → same color.
- No decorative hues — favorite stars, category dots, avatars use the accent or grey, not a new color each.
- One shadow language — same light direction, same scale/tint; not some black + some tinted, some up-lit + some down-lit.
- One icon family / fill mode / stroke weight across the file.
- Nested-radius law — an element inside a rounded container uses
inner = outer − padding, not the same radius (which bulges). - Consistent control heights — buttons, inputs, selects share a height set (e.g. 40px).
- Errors/states never rely on color alone (icon + text too).
Output Format
Provide:
- Score: Pass / Needs Improvement / Fail
- Issues: List each violation with file:line reference
- Fixes: Concrete code changes for each issue
Example
User request:
…
अक्सर पूछे जाने वाले सवाल
'design tokens' क्या होते हैं?
ये रंगों, spacing और दूसरे visual elements के लिए पहले से तय किए गए building blocks हैं, जो design में एकरूपता बनाए रखते हैं।
'accessibility (a11y)' क्या है?
यह पक्का करना है कि interface सभी लोग इस्तेमाल कर सकें, जिनमें देखने, सुनने या हाथ-पैर से जुड़ी दिक्कत वाले लोग भी शामिल हैं।
'hardcoded' का क्या मतलब है?
इसका मतलब है कि कोई value (जैसे रंग या size) सीधे code में लिख दी गई है, बजाय इसके कि किसी तय नियम या variable का इस्तेमाल हो।
जानकारी
लेखक का मूल विवरण
Review UI code for design system compliance, accessibility, and best practices
लोकप्रियता
- GitHub स्टार
- 48k
- रैंकिंग में स्थान
- #6042
- लाइसेंस
- MIT
- अपडेट की गई
- 15/10/2026
कमेंट
- …
इस repository की और skills
00-andruia-consultant
48kआपके एजेंट को AI प्रोजेक्ट शुरू करने या उन्हें बेहतर बनाने में मदद करता है। यह code का विश्लेषण करता है, tools सुझाता है और स्पेनिश भाषा में action plan बनाता है।
007
48kआपका एजेंट security audit और threat modeling करता है। यह प्रोजेक्ट को हमलों और कमजोरियों से बचाने में काम आता है।
10-andruia-skill-smith
48kआपके एजेंट को AI tools बनाने या उन्हें बेहतर करने में मदद करता है। यह तय करता है कि tools कैसे काम करेंगे, documentation लिखता है और structure की जांच करता है।
20-andruia-niche-intelligence
48kआपका एजेंट किसी खास industry का summary बनाता है। भरोसेमंद स्रोतों की मदद से यह प्रोजेक्ट का संदर्भ, नियम, इस्तेमाल के तरीके और जोखिम समझने में मदद करता है।
मिलती-जुलती skills
canvas
394kयह आपके एजेंट को जुड़े Mac पैनल पर होस्टेड विज़ुअल विजेट दिखाने, पैनल छिपाने या उसे दूसरे पेज पर ले जाने देती है।
control-ui
394kयह आपके एजेंट को OpenClaw Control UI को व्यवस्थित करने और उसमें आने वाली दिक्कतें सुलझाने में मदद करती है, जिसमें सेशन, डैशबोर्ड और जुड़े Gateway शामिल हैं।
diagram-maker
394kयह आपके एजेंट को प्रक्रियाओं, सिस्टम आर्किटेक्चर और व्हाइटबोर्ड स्केच के लिए SVG, HTML या संपादन योग्य Excalidraw फ़ाइलों में साफ़ डायग्राम बनाने में मदद करती है।