Back to list
programming-in-th

component-development

by programming-in-th

Site component of programming.in.th

99🍴 39📅 Jan 23, 2026

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

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.

Score

Total Score

70/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

1ヶ月以内に更新

+10
フォーク

10回以上フォークされている

+5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

+5

Reviews

💬

Reviews coming soon