← スキル一覧に戻る

react-patterns
by xingxerx
⭐ 0🍴 0📅 2026年1月21日
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
- Functional Components Only: No
classcomponents. - Hooks: Use
useState,useEffect,useMemo,useCallbackappropriately. Custom hooks for reusable logic. - Tailwind CSS v4:
- Use utility classes for styling.
- Avoid
@applyunless effectively creating a reusable component abstraction that cannot be a component itself. - Use arbitrary values
w-[10px]sparingly; prefer theme tokens.
- State Management:
- Local state > Context > External Store (Zustand/Redux).
- Don't lift state up unless necessary.
- Performance:
- Code splitting with
React.lazy. - Avoid prop drilling (use Composition or Context).
- Code splitting with
Anti-Patterns to Spot
useEffectdependencies 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
レビュー
💬
レビュー機能は近日公開予定です