interface-kit

Implements accessible, performant UI components with typography, color, motion, and spatial design guidance.

1|Updated Jun 2, 2026
One-click install
npx skills add https://github.com/ZimriJahdai/HaircutFiveFriends-Full --skill interface-kit-zimrijahdai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: interface-kit
Source: https://github.com/ZimriJahdai/HaircutFiveFriends-Full/tree/main/.claude/.agents/skills/interface-kit
Command: npx skills add https://github.com/ZimriJahdai/HaircutFiveFriends-Full --skill interface-kit-zimrijahdai

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Building polished frontend interfaces requires hundreds of micro-decisions across typography, color, spacing, animation, and accessibility that are easy to get wrong, resulting in generic-looking or inaccessible UI. ## Core Features & Use Cases - Design Implementation Standards: Provides concrete CSS patterns for typography (font smoothing, text-wrap, tabular-nums), HSL semantic color tokens, concentric border radius, and 4px/8px spacing scales. - Motion & Interaction Framework: Supplies a frequency-based animation decision model, custom easing curves, stagger patterns, and reduced-motion handling. - Accessibility & Review Checklists: Includes a WCAG 2.1 AA audit guide, component patterns for shadcn/ui and Radix primitives, and a 30-item pre-delivery review checklist. - Use Case: When asked to build a landing page or component, apply the priority stack (accessibility first, then performance, typography, layout) and consult the reference files for deep dives on animation or component implementation. ## Quick Start Use the interface-kit skill to build an accessible, well-animated pricing page component with proper typography and dark mode support.

Frequently Asked Questions about interface-kit

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

FAQPage Schema
How do I make UI animations feel smooth and professional?

Match animation to usage frequency: high-frequency actions get no animation, occasional actions get 150-300ms transitions with custom cubic-bezier easing. Animate only transform and opacity, avoid transition: all, and respect prefers-reduced-motion.

How do I implement dark mode with CSS custom properties?

Define HSL semantic tokens like --background and --foreground in :root, then override them in a .dark class with desaturated, lighter tonal variants rather than inverting colors. Test contrast ratios separately in dark mode since passing values in light mode may fail.

What contrast ratio does WCAG AA require for text?

WCAG 2.1 AA requires 4.5:1 for normal text and 3:1 for large text (18px bold or 24px regular and above). UI components and graphical objects need 3:1. Verify with Chrome DevTools or axe-core, and never convey information by color alone.

Why do nested rounded corners look wrong in my UI?

Nested elements need concentric border radius: outer radius equals inner radius plus padding. If a card has 8px padding and an inner element has 8px radius, the card should use 16px. Identical radii on parent and child look bloated.

Does this work with shadcn/ui and Radix UI components?

Yes, the component patterns reference covers shadcn/ui setup, CVA variant definitions, React Hook Form with Zod validation, and Radix-based dialogs, selects, sheets, and toasts, including their built-in accessibility behaviors like focus trapping.

When should I avoid animating a UI element?

Skip animation entirely for actions performed 100+ times per day like keyboard shortcuts and tab switches. Reduce to 50-100ms for tens-of-daily actions like hovers. Also avoid ease-in for UI, never animate from scale(0), and gate hover effects behind a hover media query.