
Frontend Components
- 1 installs
- 404 repo stars
- Updated August 5, 2026
- aiskillstore/marketplace
frontend-components is a Claude skill for building reusable, composable UI components with single responsibilities, clear prop interfaces, and proper state management.
About
This skill guides building reusable, composable UI components with single responsibilities, clear prop interfaces, proper state management, and minimal coupling. It applies when designing component APIs, composing components, managing local state, building shadcn/ui components, or refactoring large components. A developer uses it when creating or editing React components.
- Guidance for building reusable, composable React UI components
- Covers prop interfaces, state management, composition, and shadcn/ui
- Advises refactoring monolithic components into smaller focused pieces
Frontend Components by the numbers
- 1 all-time installs (skills.sh)
- Ranked #1,912 of 2,245 Frontend Development skills by installs in the Skillselion catalog
- Data as of Aug 5, 2026 (Skillselion catalog sync)
frontend-components capabilities & compatibility
Free; no API keys required.
- Capabilities
- component design · component composition · component refactoring · prop interface design
- Use cases
- frontend · ui design
- Runs
- Runs locally
- Pricing
- Free
What frontend-components says it does
Build reusable, composable UI components with single responsibilities, clear prop interfaces, proper state management, and minimal coupling.
When refactoring monolithic components into smaller, focused pieces
npx skills add https://github.com/aiskillstore/marketplace --skill frontend-componentsAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 1 |
|---|---|
| repo stars | ★ 404 |
| Last updated | August 5, 2026 |
| Repository | aiskillstore/marketplace ↗ |
What it does
Build reusable, composable React UI components with clear prop interfaces and minimal coupling.
When should I use this skill?
When creating or editing React components, designing prop interfaces, composing components, or refactoring large components.
What you get
Composable React components with clear props, local state, and minimal coupling.
- reusable React components
- component prop interfaces
Files
Frontend Components
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.
When to use this skill
- When creating new React components in
.tsxor.jsxfiles - When editing existing components in
resources/js/Components/or similar directories - When designing component prop interfaces and TypeScript types
- When implementing component composition by combining smaller components
- When managing component state (useState, useReducer, etc.)
- When building or customizing shadcn/ui components
- When creating reusable UI components (buttons, cards, modals, forms, etc.)
- When refactoring monolithic components into smaller, focused pieces
- When implementing component documentation or usage examples
- When deciding between local state and lifting state up to parent components
- When defining component naming conventions
- When encapsulating component internal logic and exposing minimal APIs
Instructions
For details, refer to the information provided in this file: frontend components
{
"schema_version": "2.0",
"meta": {
"generated_at": "2026-01-21T20:06:34.043Z",
"slug": "devanb-frontend-components",
"source_url": "https://github.com/DevanB/lucidlog/tree/master/.claude/skills/frontend-components",
"source_ref": "master",
"model": "claude",
"analysis_version": "3.0.0",
"source_type": "community",
"content_hash": "2fff725d615fc1452000c577509ce63de6af4a128394233633b69f56c92a7285",
"tree_hash": "7c16858d07cb35c09164d625f754d51a0f4862a3712e1a6a17353d1713a17b0d"
},
"skill": {
"name": "frontend-components",
"description": "Build reusable, composable UI components with single responsibilities, clear prop interfaces, proper state management, and minimal coupling. Use this skill when creating or editing React components (.tsx, .jsx files), when designing component APIs with props, when implementing component composition patterns, when managing local component state, when building shadcn/ui components, when creating shared UI components in resources/js/Components/, when implementing component documentation, or when refactoring large components into smaller, focused pieces.",
"summary": "Guides Claude Code on React component best practices and coding standards",
"icon": "📦",
"version": "1.0.0",
"author": "DevanB",
"license": "MIT",
"category": "coding",
"tags": [
"react",
"components",
"frontend",
"typescript",
"ui"
],
"supported_tools": [
"claude",
"codex",
"claude-code"
],
"risk_factors": []
},
"security_audit": {
"risk_level": "safe",
"is_blocked": false,
"safe_to_publish": true,
"summary": "This skill contains only documentation and guidance for React component development. All 21 static findings are false positives from pattern matching on metadata fields, markdown formatting, and file paths. No executable code, network operations, or security vulnerabilities detected.",
"risk_factor_evidence": [],
"critical_findings": [],
"high_findings": [],
"medium_findings": [],
"low_findings": [],
"dangerous_patterns": [],
"files_scanned": 2,
"total_lines": 349,
"audit_model": "claude",
"audited_at": "2026-01-21T20:06:34.043Z"
},
"content": {
"user_title": "Build Reusable React Components with Best Practices",
"value_statement": "Creating maintainable frontend components can be challenging without clear standards. This skill guides Claude Code to build React components with single responsibilities, clean prop interfaces, and proper composition patterns.",
"seo_keywords": [
"Claude",
"Codex",
"Claude Code",
"React components",
"frontend development",
"TypeScript",
"component composition",
"UI components",
"shadcn/ui",
"component architecture"
],
"actual_capabilities": [
"Guides Claude Code on React component structure and organization",
"Enforces single responsibility principle for components",
"Provides standards for prop interface design and TypeScript types",
"Helps implement component composition patterns",
"Supports shadcn/ui component customization",
"Assists with component refactoring and documentation"
],
"limitations": [
"Does not provide runtime validation or linting",
"Requires reference to external documentation file for full standards",
"Focused on React components only, not other frontend frameworks",
"Does not enforce standards automatically, relies on AI interpretation"
],
"use_cases": [
{
"title": "Building New UI Component Library",
"description": "Frontend developers creating a new design system can use this skill to ensure all components follow consistent patterns for props, state management, and composition.",
"target_user": "Frontend developers and UI engineers"
},
{
"title": "Refactoring Legacy Components",
"description": "Teams modernizing codebases can leverage this skill to break down monolithic components into smaller, focused pieces with clear responsibilities and better testability.",
"target_user": "Software engineers working on code modernization"
},
{
"title": "Onboarding New Team Members",
"description": "Development teams can use this skill to teach new developers the component architecture standards, ensuring consistent code quality across the team from day one.",
"target_user": "Engineering managers and technical leads"
}
],
"prompt_templates": [
{
"title": "Create a New Component",
"prompt": "Create a Button component in resources/js/Components/ with variants for primary, secondary, and ghost styles. Include proper TypeScript props and follow component best practices.",
"scenario": "Starting a new component from scratch with type safety"
},
{
"title": "Refactor Large Component",
"prompt": "Refactor the UserProfileForm component to separate concerns. Extract form fields into smaller components and improve state management.",
"scenario": "Breaking down complex components into manageable pieces"
},
{
"title": "Design Component API",
"prompt": "Design the prop interface for a DataTable component that needs to support sorting, filtering, pagination, and custom cell renderers. Show me the TypeScript types.",
"scenario": "Planning component architecture before implementation"
},
{
"title": "Customize shadcn Component",
"prompt": "Customize the shadcn/ui Dialog component to add a confirm action footer with cancel and submit buttons. Maintain the existing composition pattern.",
"scenario": "Extending third-party components while following patterns"
}
],
"output_examples": [
{
"input": "Create a simple Card component with a header, body, and footer section",
"output": "Creates a Card component with proper TypeScript interfaces for CardProps, separates concerns into CardHeader, CardBody, and CardFooter subcomponents, implements composition pattern allowing flexible content, and includes JSDoc documentation for each component API."
},
{
"input": "Refactor this 300-line UserDashboard component following component best practices",
"output": "Analyzes the component to identify separate concerns, extracts smaller focused components like UserStats, ActivityFeed, and QuickActions, moves shared state up to the parent component, creates clear prop interfaces for each extracted component, and maintains the same functionality with improved maintainability."
}
],
"best_practices": [
"Always define TypeScript interfaces for component props to ensure type safety and better developer experience",
"Keep components focused on a single responsibility and extract subcomponents when complexity grows beyond 100 lines",
"Use composition patterns to combine smaller components rather than building monolithic components with many conditional branches"
],
"anti_patterns": [
"Avoid creating components with more than 5-7 props as this indicates the component may have too many responsibilities",
"Do not mix business logic with presentation code inside component files. Extract logic to custom hooks or utility functions",
"Never pass entire state objects as props when only specific fields are needed. This creates unnecessary coupling and re-renders"
],
"faq": [
{
"question": "What component file structure does this skill enforce?",
"answer": "This skill guides Claude Code to place shared components in resources/js/Components/ or similar directories, use .tsx extension for TypeScript React components, and follow naming conventions where components match their filename."
},
{
"question": "Does this skill work with Vue or Angular components?",
"answer": "No, this skill is specifically designed for React component development. It focuses on React patterns like hooks, JSX composition, and React-specific state management approaches."
},
{
"question": "How does this skill help with shadcn/ui components?",
"answer": "The skill provides guidance on customizing and extending shadcn/ui components while maintaining their composition patterns. It helps you build on top of shadcn components without breaking their design principles."
},
{
"question": "Will this skill automatically fix component issues in my code?",
"answer": "This skill guides Claude Code on how to write components correctly. You need to ask Claude Code to create or refactor components, and it will follow the standards defined in this skill."
},
{
"question": "What TypeScript patterns does this skill recommend?",
"answer": "The skill encourages defining explicit prop interfaces, using discriminated unions for variant props, avoiding any types, and leveraging TypeScript utility types for component API design."
},
{
"question": "Can I customize the component standards this skill enforces?",
"answer": "This skill references an external standards document. You can modify the component standards by updating the referenced documentation file at agent-os/standards/frontend/components.md in your project."
}
]
},
"file_structure": [
{
"name": "SKILL.md",
"type": "file",
"path": "SKILL.md",
"lines": 29
}
]
}
Related skills
FAQ
When should I lift state up?
The skill helps decide between local component state and lifting state up to parent components.
Does it support shadcn/ui?
Yes, it applies when building or customizing shadcn/ui components.