asymmetric-al/core/react-component-dev
Claude Code and agent skill by asymmetric-al/core
- community
Checking that the SKILL.md file is still in the repository.
Build reusable, accessible React components with predictable APIs and ref forwarding. Use when creating or refactoring components or defining component APIs, favoring composition over configuration and slots/children over many boolean props. Not needed for style-only or content-only edits that do not change a component API.
Install
npx vskill@latest install asymmetric-al/core/react-component-devSKILL.md
React Component Development — Skill
Name: react-component-dev Purpose: Build reusable, accessible React components with predictable APIs and ref forwarding. Use this skill when creating or refactoring components.
Applies when: Building new components, refactoring UI components, or defining component APIs. Do not use when: Only editing styles or content in existing components without API changes.
Rules
- Composition over configuration: Prefer
children/slots over many boolean props. - Forward refs: If a component renders a DOM element, use
forwardRef. - Accessibility: Use semantic HTML first; add ARIA only when needed.
- Predictable props: Follow controlled/uncontrolled conventions.
- Small and testable: Extract complex behavior into hooks.
Workflow
- Define the component’s responsibility and minimal usage.
- Choose the API shape (controlled vs uncontrolled as needed).
- Implement with semantic HTML and accessibility defaults.
- Add
forwardReffor DOM-rendering components. - Extract complex behavior into hooks if needed.
Checklists
Implementation checklist
- [ ] Component has a single responsibility
- [ ] DOM components forward refs
- [ ] Semantic HTML used
- [ ] Keyboard interaction works
- [ ] Props follow React conventions
Review checklist
- [ ] API is small and composable
- [ ] Example usage is included
Minimal examples
forwardRef pattern
Compound component
Common mistakes / pitfalls
- Missing
forwardRefon input-like components - Using
divfor buttons/links - Overloading components with boolean props
- Shipping components without a minimal usage example
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingdocs/ai/skills/react-component-dev/SKILL.md
Popularity
- Repository stars
- 381
- Repository forks
- 7
- 7-day trend score
- 35
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/asymmetric-al/core/react-component-dev)