dragoon0x/everything-design-taste

component-api-design

Designing component APIs, prop interfaces, and developer experience for design systems.

First seen Jul 18, 2026

Installation

$ npx skills add dragoon0x/everything-design-taste --skill component-api-design

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from dragoon0x/everything-design-taste · top by installs.

npx skills add dragoon0x/everything-design-taste

Browse all from dragoon0x/everything-design-taste

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 11
License LICENSE
Default branch main
Open issues 0
Status Active

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,182 B
  • docs SUMMARY.md 115 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 2 installs

SKILL.md

Component API Design

Principles

  1. Consistent naming: Same prop name means same thing across components
  2. Sensible defaults: Most common use case needs zero props
  3. Composition over config: Prefer children/slots over massive prop objects
  4. Type safety: TypeScript interfaces for all props
  5. Documentation: Every prop has a description and example

Naming Conventions

Prop Type Convention
variant string union 'primary','secondary','ghost'
size string union 'sm','md','lg'
disabled boolean true/false
onAction function on + PascalCase event
className string Custom CSS classes
children ReactNode Component content
asChild boolean Render as child element

Anti-Patterns

  • Boolean props that control unrelated things
  • Props that conflict with each other
  • More than 10-12 props (component does too much)
  • String props where a union type would be safer