new-component

Generate a new React component with TypeScript, props interface, and Tailwind styling

📖 中文导读:Generate a new React component with TypeScript, props interface, and Tailwind styling 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。

name: new-component description: Generate a new React component with TypeScript, props interface, and Tailwind styling

new-component

Overview

Generate a new React component with TypeScript, props interface, and Tailwind styling

This skill was converted from a bash script to follow Anthropic's Agent Skills best practices.

Usage

new-component <command> [options]

Commands

TODO: Extract and document commands from the script

Run new-component --help to see available commands.

When to Use

TODO: Add specific use cases

Scripts

  • scripts/main.sh - Main functionality (converted from original new-component)

Claude can execute this script directly without loading it into context.

Additional Resources

For detailed information, see:

Progressive Disclosure

Consider adding these reference files:

  • reference/api-reference.md - Detailed command documentation
  • reference/troubleshooting.md - Common issues and solutions