component

Generate React, Vue, or Svelte component scaffolds matching project design tokens.

4|Updated Apr 11, 2026
One-click install
npx skills add https://github.com/Dragoon0x/dragoon-skills --skill component-dragoon0x
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: component
Source: https://github.com/Dragoon0x/dragoon-skills/tree/main/skills/component
Command: npx skills add https://github.com/Dragoon0x/dragoon-skills --skill component-dragoon0x

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

AI-generated UI components often fail to match a project's existing design system, framework, and coding conventions, leading to inconsistent user interfaces and extra manual refactoring work for development teams.

Core Features & Use Cases

  • Stack-Aware Scaffolding: Automatically detects your project's framework (React/Vue/Svelte), styling layer (Tailwind/CSS Modules/plain CSS), language (TypeScript/JavaScript), and design tokens from your dragoon.json manifest.
  • Design System Alignment: Substitutes your project's exact spacing grid, color palette, radius scale, and motion patterns into generated components to eliminate generic "AI slop".
  • Safe, Flexible Workflow: Defaults to a dry-run preview so you can review changes before writing files, with optional overwrite protection and atomic writes to prevent partial file corruption.

Quick Start

Request your AI agent to generate a new [ComponentName] UI component for your project, and it will automatically create a scaffold that perfectly matches your codebase's existing design system and stack conventions.

Frequently Asked Questions about component

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

FAQPage Schema
How do I generate React UI components that match my existing design system?

To generate React UI components that match your design system, this Skill reads project manifest data to substitute your exact spacing, color, radius, and syntax patterns into the scaffold, eliminating inconsistent AI output.

Why do AI-generated UI components look inconsistent with my Tailwind setup?

AI-generated components look inconsistent because they lack awareness of your Tailwind setup. This Skill resolves this by reading your project manifest to apply correct design tokens and styling layers automatically.

Can I scaffold Svelte or Vue components using my project's TypeScript conventions?

Yes, you can scaffold Svelte or Vue components using TypeScript conventions. The Skill automatically detects your framework, language, and styling layer to ensure the generated output matches your stack.

Do I need to manually configure design tokens before generating component scaffolds?

No manual configuration is needed. The Skill reads your existing project manifest data to automatically substitute correct spacing and color palettes into the generated component scaffolds.

What's the best way to preview generated UI components before writing files?

The best way to preview generated UI components is using the default dry-run mode. This allows you to review changes safely before writing files, supported by overwrite protection and atomic writes.

What limitations exist when scaffolding frontend components with AI?

A key limitation of generic AI scaffolding is misaligned design tokens. This Skill overcomes that by reading a project manifest to map exact spacing and syntax patterns, using atomic writes to prevent partial file corruption.