Back to skills
SKILL.md
Component Development 1
ASecurityUse when creating or modifying React components. Ensures proper Server/Client component patterns, performance optimization, and accessibility.
- 2 stars
- 0 votes
- 0 copies
- 0 views
- Added September 27, 2026
Works with
Security analysis
100/100npx -y skills add David-Li0406/meta-skill-evloving --skill component-development-1 --agent claude-codeAre you the author of Component Development 1?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/david-li0406-component-development-1)---
name: component-development
description: Use when creating or modifying React components. Ensures proper Server/Client component patterns, performance optimization, and accessibility.
allowed-tools: Read, Edit, Write, Glob, Grep
---
See [React patterns](../../docs/react-patterns.md) for full reference.
**Quick rules**:
- Default to Server Components (no directive)
- Use `'use client'` only for: `onClick`, `useState`, `useEffect`, browser APIs
- Push client boundary to smallest component
- Tailwind only, use `dark:` variants
**Example**:
```tsx
// Server Component (default)
export function TaskCard({ task }: { task: Task }) {
return <div className="p-4 dark:bg-gray-800">{task.title}</div>
}
```
**Checklist**: Minimal client components, `dark:` variants, accessible inputs.
Attribution
Comments
Loading comments…