Search

PythonReactSEOPDF
GitHub Skill

component-development

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

programming-in-th☆ 99 Repository stars39 Repository forks

Installation

Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.

View source ↗Guides

Skill instructions

See React patterns 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:

// 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.

Examples

Read the usage examples in the source repository.

View source ↗

Source history

Indexed on
2026-01-20
Index updated
2026-03-03
Branch
main

Index and sync dates describe this directory. View the source repository for code history.

GitHub ↗

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!