create-component — community create-component, spark-web, community, ide skills, Claude Code, Cursor, Windsurf

v1.0.0

About this Skill

Ideal for Frontend Agents specializing in React applications, seeking to generate modular and accessible UI components. Create a new Spark UI component with complete file structure including component, styles, tests, stories, and documentation. Use when the user wants to create a new component or add a component to the

leboncoin leboncoin
[0]
[0]
Updated: 3/12/2026

Killer-Skills Review

Decision support comes first. Repository text comes second.

Reviewed Landing Page Review Score: 9/11

Killer-Skills keeps this page indexable because it adds recommendation, limitations, and review signals beyond the upstream repository text.

Original recommendation layer Concrete use-case guidance Explicit limitations and caution Quality floor passed for review Locale and body language aligned
Review Score
9/11
Quality Score
54
Canonical Locale
en
Detected Body Locale
en

Ideal for Frontend Agents specializing in React applications, seeking to generate modular and accessible UI components. Create a new Spark UI component with complete file structure including component, styles, tests, stories, and documentation. Use when the user wants to create a new component or add a component to the

Core Value

Empowers agents to create new Spark UI components following project standards and file structure, utilizing React and TypeScript, and generating component files such as ComponentName.tsx.

Ideal Agent Persona

Ideal for Frontend Agents specializing in React applications, seeking to generate modular and accessible UI components.

Capabilities Granted for create-component

Generating new UI components for React applications
Creating modular components for improved code reusability
Implementing components from design specifications

! Prerequisites & Limits

  • Requires knowledge of React and TypeScript
  • Specific to Spark UI components
  • Adherence to project's standards and file structure necessary

Source Boundary

The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.

After The Review

Decide The Next Action Before You Keep Reading Repository Material

Killer-Skills should not stop at opening repository instructions. It should help you decide whether to install this skill, when to cross-check against trusted collections, and when to move into workflow rollout.

Labs Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is create-component?

Ideal for Frontend Agents specializing in React applications, seeking to generate modular and accessible UI components. Create a new Spark UI component with complete file structure including component, styles, tests, stories, and documentation. Use when the user wants to create a new component or add a component to the

How do I install create-component?

Run the command: npx killer-skills add leboncoin/spark-web/create-component. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for create-component?

Key use cases include: Generating new UI components for React applications, Creating modular components for improved code reusability, Implementing components from design specifications.

Which IDEs are compatible with create-component?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for create-component?

Requires knowledge of React and TypeScript. Specific to Spark UI components. Adherence to project's standards and file structure necessary.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add leboncoin/spark-web/create-component. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use create-component immediately in the current project.

Upstream Repository Material

The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.

Upstream Source

create-component

Install create-component, an AI agent skill for AI agent workflows and automation. Works with Claude Code, Cursor, and Windsurf with one-command setup.

SKILL.md
Readonly
Upstream Repository Material
The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.
Supporting Evidence

Create Component

Create a new Spark UI component following the project's standards and file structure.

When to Use

  • User wants to create a new component
  • User mentions "new component", "add component", or "create component"
  • User is implementing a component from a design

Instructions

  1. Determine component location: Components go in packages/components/src/<component-name>/

  2. Create the file structure:

    component-name/
    ├── ComponentName.tsx           # Main component
    ├── ComponentName.styles.tsx    # Styling with CVA
    ├── ComponentName.test.tsx      # Unit tests
    ├── ComponentName.stories.tsx   # Storybook stories
    ├── ComponentName.doc.mdx       # Documentation
    ├── index.ts                    # Exports
    └── variants/                   # Style variants (if applicable)
    
  3. Component Implementation:

    • Use TypeScript with strict typing
    • Implement polymorphic behavior with asChild prop if needed
    • Use CVA (Class Variance Authority) for styling variants
    • Include data-spark-component attribute
    • Ensure WCAG 2.1 AA compliance
    • Use proper ARIA attributes
  4. Styling:

    • Create ComponentName.styles.tsx with CVA
    • Define variants (size, variant, etc.)
    • Use TailwindCSS classes
  5. Tests:

    • Create ComponentName.test.tsx with Vitest + React Testing Library
    • Test rendering, props, variants, and accessibility
    • Test user interactions
  6. Stories:

    • Create ComponentName.stories.tsx following Storybook CSF format
    • Use Components/* meta structure
    • Create stories for: Default, Uncontrolled, Controlled, and other variants
    • One story per prop/feature
  7. Documentation:

    • Create ComponentName.doc.mdx with sections in this order:
      • Title (H1)
      • Meta (link to stories)
      • Install
      • Import
      • Props table (using ArgTypes component)
      • Usage (Default, Uncontrolled, Controlled, others alphabetically)
      • Advanced Usage
      • Accessibility
  8. Exports:

    • Create index.ts with named exports
    • Export component, types, and sub-components if compound
  9. For Compound Components:

    • Use Object.assign pattern
    • Set display names for all sub-components
    • Document sub-components in ArgTypes
  10. Verify:

    • Run npm run lint to check code quality
    • Run npm run typecheck to verify types
    • Run tests to ensure they pass
    • Check Storybook renders correctly

Examples

Reference existing components in packages/components/src/ for patterns:

  • Simple component: badge/, button/
  • Compound component: card/, input/, accordion/
  • Complex component: combobox/, select/

Related Skills

Looking for an alternative to create-component or another community skill for your workflow? Explore these related open-source skills.

View All

openclaw-release-maintainer

Logo of openclaw
openclaw

Your own personal AI assistant. Any OS. Any Platform. The lobster way. 🦞

333.8k
0
AI

widget-generator

Logo of f
f

Generate customizable widget plugins for the prompts.chat feed system

149.6k
0
AI

flags

Logo of vercel
vercel

The React Framework

138.4k
0
Browser

pr-review

Logo of pytorch
pytorch

Tensors and Dynamic neural networks in Python with strong GPU acceleration

98.6k
0
Developer