スキル一覧に戻る
xingxerx

react-patterns

by xingxerx

0🍴 0📅 2026年1月21日
GitHubで見るManusで実行

SKILL.md


name: react-patterns description: A frontend-specific skill tuned for modern React + Tailwind CSS v4.

Modern React Patterns

This skill ensures the agent uses modern, performant, and clean patterns for React development.

Core Rules

  1. Functional Components Only: No class components.
  2. Hooks: Use useState, useEffect, useMemo, useCallback appropriately. Custom hooks for reusable logic.
  3. Tailwind CSS v4:
    • Use utility classes for styling.
    • Avoid @apply unless effectively creating a reusable component abstraction that cannot be a component itself.
    • Use arbitrary values w-[10px] sparingly; prefer theme tokens.
  4. State Management:
    • Local state > Context > External Store (Zustand/Redux).
    • Don't lift state up unless necessary.
  5. Performance:
    • Code splitting with React.lazy.
    • Avoid prop drilling (use Composition or Context).

Anti-Patterns to Spot

  • useEffect dependencies missing.
  • Mutating state directly.
  • Deeply nested ternary operators in JSX.

スコア

総合スコア

60/100

リポジトリの品質指標に基づく評価

SKILL.md

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

+20
LICENSE

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

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

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

0/5
Issue管理

オープンIssueが50未満

+5
言語

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

+5
タグ

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

0/5

レビュー

💬

レビュー機能は近日公開予定です