component-gen

v2026.09.24

Generate React/Vue/Svelte components from descriptions

GitHub
安装命令
npx skhub add sundial-org/component-gen
Markdown
SKILL.md

Component Generator

Describe what you want, get a production-ready component. Supports React, Vue, and Svelte.

Quick Start

npx ai-component "A pricing card with monthly/yearly toggle"

What It Does

  • Generates full components from descriptions
  • Supports React, Vue, and Svelte
  • Includes TypeScript types
  • Adds proper accessibility
  • Includes Tailwind styling

Usage Examples

# Generate React component
npx ai-component "user profile card with avatar"

# Specify framework
npx ai-component "dropdown menu" --framework vue

# With specific styling
npx ai-component "modal dialog" --css tailwind

Output Includes

  • Component file with proper structure
  • TypeScript interfaces
  • Default props
  • Basic tests scaffold
  • Storybook story (optional)

Requirements

Node.js 18+. OPENAI_API_KEY required.

License

MIT. Free forever.


Built by LXGIC Studios

发现
标签

此技能尚未发布标签。

版本
最新版本元数据

版本

v2026.09.24

发布时间

2026年9月24日

分类

未分类

许可证

未指定

源路径

skills/component-gen

默认分支

main

最新提交

b80cde2

Tree SHA

fc3a971