Rapidly scaffold and document React components with type-safe props and Storybook integration.

Install

mkdir -p .claude/skills/tsx && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/11801" && unzip -o skill.zip -d .claude/skills/tsx && rm skill.zip

Installs to .claude/skills/tsx

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

TSX namespace for Netsnek e.U. TypeScript component toolkit. React component scaffolding, type-safe props, Storybook integration, and component docs.
149 charsno explicit “when” trigger
Beginner

Key capabilities

  • Scaffold new React components with `component-gen.sh --scaffold`
  • Generate type-safe props for React components
  • Integrate with Storybook for component visualization
  • List all components in the project with `component-gen.sh --list`
  • Show Storybook integration details with `component-gen.sh --info`
  • Automate component documentation

How it works

The skill uses `component-gen.sh` to scaffold new React components, including type files and Storybook integration. It also provides commands to list existing components and display Storybook details.

Inputs & outputs

You give it
Component name for scaffolding or a request to list/show info
You get back
Generated component files (e.g., types, stories), a list of components, or Storybook integration details

When to use tsx

  • Scaffold a new React component
  • Visualize component variants in Storybook
  • List project component inventory

About this skill

What is TSX?

TSX is the TypeScript component toolkit by Netsnek e.U. It enables rapid development of React components with type-safe props, Storybook integration, and automatic component documentation.

Component Workflow

  1. Scaffold a new component with scripts/component-gen.sh --scaffold <Name>
  2. Define props in the generated types file
  3. Run Storybook to visualize variants with scripts/component-gen.sh --info
  4. List existing components with scripts/component-gen.sh --list

Available Commands

CommandArgsPurpose
component-gen.sh--scaffold <Name>Create component files, types, and Story
component-gen.sh--listList all components in the project
component-gen.sh--infoShow Storybook integration details

Real-World Example

# Create a new Button component
./scripts/component-gen.sh --scaffold Button

# List available components
./scripts/component-gen.sh --list

# Get Storybook info
./scripts/component-gen.sh --info

When not to use it

  • When developing non-React components
  • When not using TypeScript
  • When the task is not related to component scaffolding or management

Limitations

  • Specific to TypeScript component toolkit by Netsnek e.U.
  • Relies on `scripts/component-gen.sh` commands
  • Designed for React components

How it compares

This skill automates the creation and management of React components with built-in type safety and Storybook integration, simplify development compared to manual setup.

Compared to similar skills

tsx side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
tsx (this skill)02moReviewBeginner
new-component04moNo flagsBeginner
zustand1132moNo flagsIntermediate
web-artifacts-builder493moReviewIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

Search skills

Search the agent skills registry