create_component

Create reusable React/Next.js components with TypeScript, Tailwind CSS, and lucide-react icons.

Updated Dec 26, 2025
One-click install
npx skills add https://github.com/agenciageraleads/portal-dos-eletricistas --skill create-component-agenciageraleads
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create_component
Source: https://github.com/agenciageraleads/portal-dos-eletricistas/tree/main/.agent/skills/create_component
Command: npx skills add https://github.com/agenciageraleads/portal-dos-eletricistas --skill create-component-agenciageraleads

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill enables engineers to create UI components that adhere to the project's design system and standards, ensuring consistency across the app.

Core Features & Use Cases

  • Component scaffolding: Generates a React/Next.js component following the prescribed structure, styling, and accessibility guidelines.
  • Design-system alignment: Enforces naming, file placement, and prop typings that match the design system.
  • Use Case: When starting a new feature, quickly spin up a reusable component with consistent styling and accessibility.

Quick Start

Use this skill to generate a new React/Next.js component in the appropriate folder, following the provided template and conventions.

Frequently Asked Questions about create_component

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a React component that follows a design system in Next.js?

To create a React component following a design system in Next.js, you generate a reusable component with TypeScript typings, Tailwind CSS classes, and lucide-react icons in the appropriate feature directory. This ensures structural and styling consistency across your app.

Can I use Tailwind CSS and TypeScript to scaffold UI components for Next.js apps?

Yes, you can scaffold UI components for Next.js apps using Tailwind CSS and TypeScript. The generated component enforces design-system alignment through prescribed prop typings, file placement, and styling guidelines for your web application.

How does server component default behavior work when generating Next.js UI components?

When generating Next.js UI components, the server component default behavior works by rendering components on the server without a 'use client' directive. You can add 'use client' to the component file only when client-side interactivity is required.

What's the best way to ensure design system consistency when building React components?

The best way to ensure design system consistency when building React components is to generate them using a standardized scaffolding process. This enforces correct naming conventions, file placement, TypeScript typings, and accessibility guidelines aligned with your project standards.

Do I need lucide-react icons to build components with this design system approach?

Yes, you need lucide-react icons when building components with this design system approach. The generated React and Next.js components include lucide-react icons by default to ensure visual consistency across the user interface elements.

Why are my React components not matching my project's design system standards?

Your React components might not match design system standards due to inconsistent file placement, missing TypeScript prop typings, or unaligned Tailwind CSS classes. Scaffolding components with a standardized template enforces the required naming and accessibility guidelines.