Claude Code Plugins

Community-maintained marketplace

Feedback
99
0

Use when creating or modifying React components. Ensures proper Server/Client component patterns, performance optimization, and accessibility.

Install Skill

1Download skill
2Enable skills in Claude

Open claude.ai/settings/capabilities and find the "Skills" section

3Upload to Claude

Click "Upload skill" and select the downloaded ZIP file

Note: Please verify skill by going through its instructions before using it.

SKILL.md

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

Components in src/components/. Default to Server Components.

// Server Component (default) - no directive needed
export function TaskCard({ task }: { task: Task }) {
  return <div className="p-4 dark:bg-gray-800">{task.title}</div>
}

// Client Component - only for interactivity
'use client'
import { useState } from 'react'
export function Toggle() {
  const [on, setOn] = useState(false)
  return <button onClick={() => setOn(!on)}>{on ? 'On' : 'Off'}</button>
}

When to use 'use client': onClick/onSubmit, useState/useEffect, browser APIs.

Performance: Push 'use client' to smallest component, use memo() for expensive renders, Next.js <Image>.

Accessibility: Labels for inputs, ARIA attributes, keyboard nav for custom elements.

Styling: Tailwind only, dark: variants, custom colors: prog-primary-500.