/uitkit:frontend:es:storybook-gen [ComponentFile.tsx]from uitkit
Generates Storybook CSF3 stories for a component, covering all variants and states. Reads source, extracts props, writes .stories.tsx with default, boolean, variant, all-variants, controlled, and edge-case stories.
Ships in uitkit. Installing the plugin adds it to Claude Code.
Generar historias de Storybook para: $ARGUMENTS
Lee el archivo del componente antes de escribir nada. Extrae la interfaz de props, variantes y estado del código fuente.
Paso 1 — Analizar el componente Identifica:
value/onChange?)Paso 2 — Determinar la cobertura de historias Genera historias para:
Default — props mínimos requeridos, sin extras opcionalesisDisabled, isLoading, isError)variant: "primary" | "secondary" | "danger")AllVariants — una única historia que renderiza todas las variantes lado a lado usando una función render con un contenedor flex/grid, útil para regresión visualvalue/onChange — usa useState dentro de la función renderNo generes historias para detalles de implementación interna ni props que solo afecten la ergonomía del desarrollador.
Paso 3 — Escribir el archivo de historia Reglas de formato:
export default { ... } objeto meta + exportaciones de historias nombradas)satisfies Meta<typeof Component> para el tipo metasatisfies StoryObj<typeof Component> para cada historiaargs en el nivel meta para valores por defecto compartidos; anula por historia solo lo que cambiaargTypes para documentar props de unión con control: { type: 'select' }padding si el componente visualmente lo requiere — no envuelvas en proveedores innecesarios a menos que el componente explícitamente necesite contextoPaso 4 — Pruebas de interacción (si @storybook/test está disponible)
Para la historia Default, agrega una función play que:
expect()Archivo de salida: coloca el archivo de historia adyacente al componente (ComponentName.stories.tsx). No crees un directorio separado __stories__ a menos que ya exista uno.
Files this command reads when invoked
What the command file sets; muted values are Claude Code's defaults
storybook, csf3, story-generation, component-testing, visual-regression
7-day visitors to each command page
Claude Code refuses to install this plugin
.claude-plugin/plugin.json: agents: Invalid input, skills: Invalid input
Checked against Claude Code 2.1.332's install rules. The listing below is what the repository ships; Claude Code cannot install it as published.
500 commands in this plugin
/ai-engineering:agent-scaffoldAgent ScaffoldScaffold a multi-step Claude agent with tool use, memory, and a defined stopping condition/ai-engineering:de:agent-scaffoldAgent ScaffoldEinen mehrstufigen Claude-Agent mit Tool-Use, Memory und einer definierten Stoppbedingung aufbauen/ai-engineering:de:eval-harnessEval HarnessGenerieren Sie ein Test-Harness zur Evaluierung eines LLM-Prompts oder einer Chain anhand eines Datensatzes/ai-engineering:de:mcp-server-genMcp Server GenGeneriere einen vollständig konfigurierten MCP-Server, der Tools, Ressourcen oder Prompts für eine bestimmte Domäne verfügbar macht/ai-engineering:de:prompt-improveGefundene ProblemeKritik und Umformulierung eines Prompts für Klarheit, Spezifität und Token-Effizienz/ai-engineering:de:rag-setupRag SetupScaffold a production-ready RAG pipeline for a given data source and stackOther plugins' commands for the same job