All skills
Skillintermediate
create component
Create a frontend component with proper structure, types, and accessibility.
Claude Code Knowledge Pack7/10/2026
Overview
Create a frontend component with proper structure, types, and accessibility.
Steps
- Determine the component specification:
- Detect the project's frontend framework:
- Create the component file(s):
- Add accessibility attributes:
- Add responsive styling:
- Create a test file for the component.
- Export the component from the module index.
Format
Component: <name>
Framework: <React|Vue|Svelte|etc>
Files:
- <component file>
Rules
- Follow the project's existing component patterns.
- Every interactive element must be keyboard accessible.
- Use semantic HTML elements over generic divs.