skill-name
{{DESCRIPTION}}
When & Why to Use This Skill
This Claude skill streamlines frontend development by generating production-ready, accessible, and responsive React components. It leverages modern best practices, including React Hooks and Tailwind CSS, to help developers reduce boilerplate code and accelerate the transition from design to functional UI.
Use Cases
- Rapidly prototyping UI layouts by converting wireframe descriptions or user requirements into clean React code.
- Generating reusable, accessible (WAI-ARIA compliant) UI components with built-in responsive design patterns.
- Refactoring legacy class-based components into modern functional components using Hooks and optimized state management.
| name | {{SKILL_NAME}} |
|---|---|
| description | {{DESCRIPTION}} |
| # allowed-tools | Read, Grep, Glob # Uncomment to restrict tool access |
{{SKILL_TITLE}}
{{ONE_LINE_DESCRIPTION}}
⚠️ BEFORE YOU START
This skill prevents {{ERROR_COUNT}} common errors and saves ~{{TOKEN_SAVINGS}}% tokens.
| Metric | Without Skill | With Skill |
|---|---|---|
| Setup Time | {{MANUAL_TIME}} | {{SKILL_TIME}} |
| Common Errors | {{ERROR_COUNT}} | 0 |
| Token Usage | {{MANUAL_TOKENS}} | {{SKILL_TOKENS}} |
Known Issues This Skill Prevents
- {{PREVENTED_ISSUE_1}}
- {{PREVENTED_ISSUE_2}}
- {{PREVENTED_ISSUE_3}}
Quick Start
Step 1: {{FIRST_STEP_TITLE}}
{{FIRST_STEP_CODE}}
Why this matters: {{FIRST_STEP_EXPLANATION}}
Step 2: {{SECOND_STEP_TITLE}}
{{SECOND_STEP_CODE}}
Why this matters: {{SECOND_STEP_EXPLANATION}}
Step 3: {{THIRD_STEP_TITLE}}
{{THIRD_STEP_CODE}}
Why this matters: {{THIRD_STEP_EXPLANATION}}
Critical Rules
✅ Always Do
- ✅ {{DO_1}}
- ✅ {{DO_2}}
- ✅ {{DO_3}}
❌ Never Do
- ❌ {{DONT_1}}
- ❌ {{DONT_2}}
- ❌ {{DONT_3}}
Common Mistakes
❌ Wrong:
{{WRONG_CODE}}
✅ Correct:
{{CORRECT_CODE}}
Why: {{EXPLANATION}}
Known Issues Prevention
| Issue | Root Cause | Solution |
|---|---|---|
| {{ISSUE_1}} | {{CAUSE_1}} | {{SOLUTION_1}} |
| {{ISSUE_2}} | {{CAUSE_2}} | {{SOLUTION_2}} |
| {{ISSUE_3}} | {{CAUSE_3}} | {{SOLUTION_3}} |
Configuration Reference
{{CONFIG_FILE_NAME}}
{{CONFIG_EXAMPLE}}
Key settings:
{{SETTING_1}}: {{SETTING_1_DESCRIPTION}}{{SETTING_2}}: {{SETTING_2_DESCRIPTION}}
Common Patterns
{{PATTERN_1_NAME}}
{{PATTERN_1_CODE}}
{{PATTERN_2_NAME}}
{{PATTERN_2_CODE}}
Bundled Resources
Scripts
Located in scripts/:
{{SCRIPT_1}}- {{SCRIPT_1_DESCRIPTION}}
References
Located in references/:
{{REFERENCE_1}}- {{REFERENCE_1_DESCRIPTION}}{{REFERENCE_2}}- {{REFERENCE_2_DESCRIPTION}}
Note: For deep dives on specific topics, see the reference files above.
Templates
Located in assets/:
{{TEMPLATE_1}}- {{TEMPLATE_1_DESCRIPTION}}
Copy these templates as starting points for your implementation.
Dependencies
Required
| Package | Version | Purpose |
|---|---|---|
| {{PACKAGE_1}} | {{VERSION_1}} | {{PURPOSE_1}} |
Optional
| Package | Version | Purpose |
|---|---|---|
| {{OPT_PACKAGE_1}} | {{OPT_VERSION_1}} | {{OPT_PURPOSE_1}} |
Official Documentation
Troubleshooting
{{PROBLEM_1}}
Symptoms: {{SYMPTOMS_1}}
Solution:
{{SOLUTION_CODE_1}}
{{PROBLEM_2}}
Symptoms: {{SYMPTOMS_2}}
Solution:
{{SOLUTION_CODE_2}}
Setup Checklist
Before using this skill, verify:
- {{CHECK_1}}
- {{CHECK_2}}
- {{CHECK_3}}
- {{CHECK_4}}