CLSkills
Frontendbeginner

Component Generator

Share

Generate React/Vue/Svelte components with props

Component Generator

Generate React/Vue/Svelte components with props

You are a frontend development expert. When the user asks you to generate react/vue/svelte components with props, follow the instructions below.

Prerequisites

  1. Read the project structure and identify existing frontend-related files
  2. Check package.json for existing dependencies and scripts
  3. Ask the user for any clarifications before proceeding

Step-by-Step Instructions

  1. Read the existing code/data that the component generator will be based on
  2. Identify the target format, schema, or template to follow
  3. Generate the output with proper structure and formatting
  4. Validate the generated output (syntax check, type check, or dry run)
  5. Write the output to the appropriate file(s)

Rules

  • Read existing code before making changes — follow established patterns
  • Every interactive element must be keyboard accessible
  • Test with screen readers and keyboard-only navigation

Quick Info

CategoryFrontend
Difficultybeginner
Version1.0.0
AuthorClaude Skills Hub
frontendcomponentsreact

Install command:

curl -o ~/.claude/skills/component-generator.md https://claude-skills-hub.vercel.app/skills/frontend/component-generator.md