feat: add shadcn/ui skill for AI-assisted component generation

Abierto
#52 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
50/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Tranquilo
Stack tecnológico
tailwindcss
Área
frontend

Línea de trabajo

Start by checking the existing component setup and whether components.json is present. Review how the shadcn skill uses shadcn info --json, then add the skill so AI assistants receive the repository's framework, Tailwind, aliases, components, and icon-library context; done means detection and context injection work as described.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Summary

Add a shadcn/ui skill to give Claude Code (and other AI assistants) deep contextual knowledge of shadcn/ui components, patterns, and best practices when working in this repo.

What are shadcn skills?

Skills equip AI assistants with project-aware knowledge of shadcn/ui. They work by:

  1. Project detection — activates automatically when components.json exists
  2. Context injection — runs shadcn info --json to gather project config (framework, Tailwind version, aliases, installed components, icon library)
  3. Pattern enforcement — the AI follows shadcn/ui composition rules when generating code

This enables natural language requests like:

  • "Add a login form with email and password fields"
  • "Create a settings page with profile update functionality"
  • "Build a dashboard with a sidebar, stats cards, and a data table"

Installation

pnpm dlx skills add shadcn/ui

Why

This project already uses Tailwind CSS and a component-based UI. Adding the shadcn skill would let AI assistants generate components that are consistent with shadcn/ui patterns, theming (CSS variables, OKLCH colors, dark mode), and the existing design system — reducing manual fixups after AI-generated code.

References

Lenguaje dominante
TypeScript
Estrellas
1.6k
Forks
202
Métricas de merge de PR
Sin PR fusionados en 30 d

Guía de contribución

Abrir la guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de CopilotKit/OpenGenerativeUI

Todos los issues de CopilotKit/OpenGenerativeUI

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.