frontend-design-guidelines

Applies enforceable design rules for building and reviewing React frontend components with Tailwind and shadcn/ui.

Updated Jul 10, 2026
One-click install
npx skills add https://github.com/Kaleb-Rupe/aurora --skill frontend-design-guidelines-kaleb-rupe
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: frontend-design-guidelines
Source: https://github.com/Kaleb-Rupe/aurora/tree/main/claude/skills/frontend-design-guidelines
Command: npx skills add https://github.com/Kaleb-Rupe/aurora --skill frontend-design-guidelines-kaleb-rupe

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? AI-generated frontend code frequently ships with hardcoded colors, missing keyboard navigation, absent loading/empty/error states, and janky animations. This Skill provides an enforceable ruleset and review checklist that catches these quality issues before users see them. ## Core Features & Use Cases - Non-negotiable rules: Enforces real interactive elements, visible focus rings, 40px hit targets, WCAG AA contrast, design tokens, and reduced-motion support on every component. - Deep reference library: Loads task-specific guidance for forms, animations, layout, states, interactions, and Solana wallet/transaction UI patterns only when needed. - Brand integration: Detects a project-level brand.md file and applies its palette and typography, or defers gracefully to shadcn neutral defaults. - Use Case: When asked to build a checkout form, the Skill reads the forms and interactions references, generates a labeled, validated, accessible React form with loading and error states, then self-reviews against a 15-point checklist before reporting completion. ## Quick Start Ask the assistant to build a React component or review your UI, for example: build a settings form with validation and dark mode support using Tailwind and shadcn/ui.

Frequently Asked Questions about frontend-design-guidelines

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build an accessible form in React with Tailwind?

Use real label elements tied to inputs via htmlFor, specific input types with autocomplete attributes, and inline error messages with aria-invalid and aria-describedby. Validate on blur or submit rather than every keystroke, and disable the submit button while the request is in flight.

What component library works best with Tailwind for accessible UI?

shadcn/ui is the default choice because it provides accessible Radix-based primitives, themeable CSS variables, and owned source code you install per component. Pair it with lucide-react for icons and next/font for typography.

How do I handle prefers-reduced-motion in CSS animations?

Wrap non-essential motion in a prefers-reduced-motion: no-preference media query or use Tailwind's motion-safe variant. Animate only transform and opacity, keep durations between 100 and 400 milliseconds, and never use transition: all.

Does this work with an existing project that is not Next.js?

Yes. The default stack is Next.js with Tailwind and shadcn/ui, but if the repository already uses a different stack, the rules instruct matching the existing setup rather than rewriting it. The accessibility, states, and contrast rules apply regardless of framework.

Why does my UI fail WCAG contrast checks?

Common failures include muted placeholder text on muted backgrounds, small secondary text below 4.5:1, and ghost buttons on colored surfaces. Body text needs 4.5:1 contrast and large text or icons need 3:1; darken text or lighten backgrounds until it passes.

When should I not apply the full polish checklist?

Skip the deep polish pass for internal admin tools, throwaway prototypes, and components that already work well. Apply only the zero-cost rules like accessibility and design tokens, and reserve taste-level refinement for first-impression surfaces and high-repetition interactions.