Agent skill
Frontend Components
Design and build reusable, composable UI components with single responsibility, clear interfaces, and proper encapsulation. Use this skill when creating or editing React components, Vue components, Svelte components, or any modular UI building blocks. When defining component props, state management, component composition, or component APIs. When working with component files (e.g., `.jsx`, `.tsx`, `.vue`, `.svelte`), component libraries, design systems, or shared UI elements. When refactoring components, extracting reusable logic, or building component hierarchies.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/frontend-components
SKILL.md
Frontend Components
When to use this skill
- When creating new UI component files (e.g., React, Vue, Svelte, Web Components)
- When editing existing component files (
.jsx,.tsx,.vue,.svelte) - When defining component props and interfaces
- When implementing component state management
- When building reusable component libraries or design systems
- When composing complex UIs from smaller components
- When refactoring monolithic components into smaller pieces
- When documenting component usage and APIs
- When creating component prop defaults and validation
- When managing component lifecycle and side effects
- When working in component directories or shared UI folders
This Skill provides Claude Code with specific guidance on how to adhere to coding standards as they relate to how it should handle frontend components.
Instructions
For details, refer to the information provided in this file: frontend components
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?