ss-component

Generate StyleSeed UI components with project conventions for structure, styling, typing, and accessibility.

22|1|Updated Jul 17, 2026
One-click install
npx skills add https://github.com/izzoa/polyrouter --skill ss-component
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ss-component
Source: https://github.com/izzoa/polyrouter/tree/main/.agents/skills/ss-component
Command: npx skills add https://github.com/izzoa/polyrouter --skill ss-component

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you create new UI components that match the StyleSeed design system without manually re-deriving conventions each time. It reduces inconsistency, speeds up component authoring, and keeps implementations aligned with the project's styling and accessibility rules.

Core Features & Use Cases

  • Component generation: Produces a new reusable component with the correct file placement and export style.
  • Design-system compliance: Applies StyleSeed conventions for tokens, spacing, typography, motion, and semantic color usage.
  • Accessibility-first patterns: Includes keyboard focus, ARIA passthrough, and touch-target guidance by default.
  • Use case: Ask for a button-like control, form field, or composed pattern component and get a code-ready implementation that fits the existing UI system.

Quick Start

Create a new StyleSeed component named alert with a short description of its purpose and desired variants.

Frequently Asked Questions about ss-component

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

FAQPage Schema
How do I generate React UI components that follow design system conventions automatically?

Generating React UI components with consistent conventions requires applying semantic tokens, function declarations, and cn-based class merging. This approach outputs a code-ready implementation aligned with your project's structural, styling, and accessibility rules.

How do I ensure my Tailwind component library includes proper keyboard focus and ARIA attributes?

Ensuring Tailwind component library accessibility involves applying ARIA passthrough, keyboard focus management, and touch-target guidance by default. This generates reusable primitives with compliant semantic color and typography usage.

What is the best way to create consistent naming and file placement for reusable frontend primitives?

Creating consistent naming and file placement for frontend primitives requires enforcing named exports and appropriate directory placement. This produces reusable UI components that match your existing design system structure without manual re-derivation.

Does this component generation approach work for composed patterns or only single reusable primitives?

This component generation approach works for both reusable primitives and composed patterns within Tailwind-based component libraries. It applies consistent implementation, naming, and typing rules across all generated UI components.

Can I use this to build form fields and button-like controls with design system spacing and motion tokens?

You can use this to build form fields and button-like controls by applying StyleSeed conventions for tokens, spacing, typography, and motion. It outputs a code-ready implementation fitting your existing UI system.

Why do my manually created React components have inconsistent styling and accessibility patterns?

Manually created React components become inconsistent when conventions are re-derived each time. Standardizing on semantic tokens, cn-based class merging, and ARIA passthrough ensures every component aligns with project accessibility and styling rules.