ui_perfection
SKILL.md
UI Perfection Protocol
1. "Premium" Aesthetic Rules
- Typography: Use defined font stacks (Inter/Roboto). No default Times New Roman.
- Spacing: Use standard Tailwind spacing (e.g.
p-4,m-6). Avoid magic numbers. - Colors: Use the project's color palette (e.g.
bg-primary-500). Avoid raw hex codes unless absolutely necessary for specific branding. - Interaction:
- All interactive elements must have
:hoverand:activestates. - Transitions should be smooth (
transition-all duration-200).
- All interactive elements must have
2. Mobile Responsiveness
- Mobile-First: Design for mobile
basestyles first, then addmd:,lg:modifiers. - Touch Targets: Buttons must be at least 44x44px usable area.
- No Overflow: Check for horizontal scrollbars on mobile.
3. Accessibility (A11y)
- Alt Text: Images must have
altattributes. - Contrast: Text color must pass WCAG AA contrast ratio against background.
- Forms: Inputs must have associated labels (visible or
aria-label). - Keyboard: All interactive elements must be reachable via Tab.
4. Perfection Checklist
- Is it responsive on mobile (320px+)?
- Are hover states present?
- Are transitions smooth?
- Do images have alt text?
- Does it look "Premium"? (Subjective check - ask yourself: "Would Apple/Linear ship this?")
Weekly Installs
2
Repository
cityfish91159/maihousesFirst Seen
1 day ago
Installed on
opencode2
codex2
claude-code2
antigravity2
gemini-cli2
windsurf1