ui-skills

Enforce UI consistency and accessibility constraints for React/Next.js projects.

8|Updated Jan 9, 2026
One-click install
npx skills add https://github.com/svngoku/coding-agents-skills --skill ui-skills-svngoku
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ui-skills
Source: https://github.com/svngoku/coding-agents-skills/tree/main/skills/ui
Command: npx skills add https://github.com/svngoku/coding-agents-skills --skill ui-skills-svngoku

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Opinionated constraints to ensure developers build better interfaces with clear, accessible guidelines and a cohesive visual language when using agents.

Core Features & Use Cases

  • Stack and animation standards: MUST use Tailwind CSS defaults unless custom values exist, MUST use motion/react for animations, and SHOULD use tw-animate-css for micro-animations. The skill also enforces that keyboard and focus behavior use accessible primitives and prefers existing project components first.
  • Interaction & Accessibility: MUST add aria-label to icon-only buttons, MUST respect safe-area-inset, MUST show errors near the action, MUST avoid blocking paste in inputs.
  • Layout & Typography: MUST maintain a fixed z-index scale, SHOULD use text-balance for headings and text-pretty for body, MUST avoid modifying letter-spacing, etc.
  • Performance & Design: MUST not animate large paint properties, SHOULD respect reduced motion, MUST avoid gradients unless requested, SHOULD limit accent color usage to one per view.

Quick Start

Apply these constraints to your current UI work to enforce consistency and accessibility.

Frequently Asked Questions about ui-skills

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

FAQPage Schema
How do I enforce accessible UI constraints in a React project?

To enforce accessible UI constraints in a React project, apply opinionated rules for aria labeling on icon-only buttons, safe-area-inset respect, and accessible keyboard primitives. This ensures your frontend components meet strict interaction and accessibility standards.

What's the best way to maintain UI consistency with Tailwind CSS and Next.js?

Maintaining UI consistency with Tailwind CSS involves using default values unless custom ones exist, adhering to a fixed z-index scale, and applying text-balance for headings. These layout and typography constraints ensure a cohesive visual language across Next.js projects.

Does this UI skill work with motion/react for frontend animations?

Yes, this UI skill works with motion/react by enforcing it as the standard for animations. It also suggests tw-animate-css for micro-animations while ensuring large paint properties are not animated and reduced motion preferences are respected.

How do I add aria labels to icon-only buttons in component libraries?

Adding aria labels to icon-only buttons in component libraries is mandatory under these accessibility constraints. You must also show errors near the action, avoid blocking paste in inputs, and use accessible primitives for keyboard and focus behavior.

What typography and layout constraints should I use for design systems?

For design systems, you should use text-balance for headings and text-pretty for body text, maintain a fixed z-index scale, and avoid modifying letter-spacing. These constraints enforce layout discipline and a cohesive visual language.

Why should I avoid gradients and limit accent colors in frontend design?

You should avoid gradients unless explicitly requested and limit accent color usage to one per view to maintain visual cohesion. These design constraints prevent visual clutter and ensure a disciplined, accessible interface across your components.