mcpbeat Sign in

Ss Component Agent Skill

Generate a new UI component following the StyleSeed design conventions

663 tokens
context cost
the whole folder, loaded on every use
1
files
instructions only
0
copies elsewhere
how many repositories repackaged it
866
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/bitjaru/styleseed --skill ss-component

The instruction itself

3 sections, as written by the author

UI Component Generator

When NOT to use

  • For full-page scaffolding → use /ss-page
  • For composed multi-component patterns → use /ss-pattern
  • For tweaking an existing component — just edit the file directly
  • For non-StyleSeed projects (no components/ui/ directory or no Tailwind v4)

Generate a new component: $0

Description: $ARGUMENTS

Instructions

  • First, read the compiled design method:
  • Read .styleseed/effective-rules.md and .styleseed/manifest.json; resolve if stale
  • Read css/theme.css for available design tokens
  • Read css/recipes.css for morphology variables and helper classes
  • Read components/ui/button.tsx as a reference pattern
  • Follow these conventions strictly:
  • Use function declaration (not const)
  • Add data-slot="component-name" attribute
  • Use cn() from @/components/ui/utils for all className merging
  • Use React.ComponentProps<> for prop typing
  • Always support className prop for overrides
  • Use CVA (class-variance-authority) if the component has variants
  • Use semantic color tokens (bg-card, text-foreground) — never inline hex
  • Design token usage:
  • Colors: text-foreground, bg-card, text-brand, text-muted-foreground, border-border
  • Pattern surfaces: ss-pattern-surface; insets/controls/icons use the matching ss-* class
  • Primitives use the project token scale; do not hardcode one radius or shadow personality
  • Spacing follows one repeatable selected-recipe rhythm
  • Motion: duration-[var(--duration-fast)], ease-[var(--ease-default)]
  • Typography rules:
  • Display (36-48px): leading-none tracking-[-0.02em]
  • Heading (18-24px): leading-snug tracking-[-0.01em]
  • Body (14-17px): leading-normal (default tracking)
  • Caption uppercase (10-13px): tracking-[0.05em]
  • Use size-* shorthand instead of w-* h-*
  • Use ms-*/me-* instead of ml-*/mr-* (logical properties)
  • Accessibility requirements:
  • Minimum touch target: 44x44px (min-h-11 min-w-11)
  • Support aria-* attributes passthrough
  • Use focus-visible:ring-2 focus-visible:ring-ring for keyboard focus
  • Respect prefers-reduced-motion for animations
  • Export the component as a named export (not default)
  • Place the file in the appropriate directory:
  • Primitive/reusable → src/components/ui/
  • Composed pattern → src/components/patterns/

Other skills for the same job

different authors, same section of the catalogue
Theme Factory
by anthropics
vendor ×16

Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with colors/fonts that you can apply to any artifact that has been creating, or can generate a new theme on-the-fly.

36k tokens
Brand Guidelines
by anthropics
vendor ×13

Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.

3k tokens
Artifacts Builder
by JayZeeDesign
×8

Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for complex artifacts requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX artifacts.

11k tokens scripts
Web Artifacts Builder
by anthropics
vendor ×7

Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for complex artifacts requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX artifacts.

11k tokens scripts
Frontend Design
by Karanjot786
×6

Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.

1k tokens
Frontend Design
by anthropics
vendor ×4

Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.

5k tokens
Expo Tailwind Setup
by openai
vendor ×4

Set up Tailwind CSS v4 in Expo with react-native-css and NativeWind v5 for universal styling

3k tokens
Use Dom
by openai
vendor ×3

Use Expo DOM components to run web code in a webview on native and as-is on web. Migrate web code to native incrementally.

3k tokens

How to use it

Copy the folder

Take bitjaru/ss-component from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.