agentsclimarketplace

React component conventions

Skill yend724/agent-skills/skills/react-component-conventions

React component design conventions focusing on Server/Client component boundaries, composition patterns, and data flow. Auto-triggers when writing or modifying React components to ensure correct RSC patterns and optimal component architecture.From its SKILL.md

Install
npx -y skills add yend724/agent-skills --skill react-component-conventions

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 2 stars2 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

5.8 KB, ~1.7k tokens by cl100k_base, as published. Nobody here has run it

React Component Design Conventions

React コンポーネント設計の規約集。Server Components / Client Components の境界設計、Composition パターン、データフローに関するルールを定義する。

When to Apply

以下の作業時に自動で参照する:

  • React コンポーネントの新規作成
  • 既存コンポーネントのリファクタリング
  • "use client" ディレクティブの追加・削除判断
  • データ取得パターンの実装
  • コンポーネント間のデータフロー設計

Compatibility

React 19+ / RSC対応フレームワーク

Rule Categories

CategoryPrefix
Server/Client 境界boundary-
データ取得fetching-
Composition パターンcomposition-
Suspense/ErrorBoundarysuspense-
Hooks 設計hooks-
パフォーマンスperf-
コーディング規約style-

Quick Reference

Server/Client 境界

データ取得

Composition パターン

Suspense / ErrorBoundary

Hooks 設計

パフォーマンス

コーディング規約

How to Use

個別ルールの詳細は rules/ ディレクトリ内のファイルを参照。上記 Quick Reference のリンクから各ルールにアクセスできる。

各ルールファイルには以下が含まれる:

  • ルールの説明と根拠
  • Bad: 間違ったコード例
  • Good: 正しいコード例
  • 判断に迷うケースのガイダンス

What ships with it: 29 files

63.1 KB alongside SKILL.md

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.