frontend-patterns
A reference skill from the ECC collection with patterns for building or reviewing React and Next.js front ends.
スキルの内容
A reference skill from the ECC collection with patterns for building or reviewing React and Next.js front ends. It shows component composition, compound components that share context and render props; custom hooks for toggles, data fetching and debounced input; and shared state with Context plus a reducer. Performance sections cover memoising values, callbacks and components, lazy loading with code splitting, and virtualising long lists. It also gives examples of controlled forms with field validation, an error boundary with a retry option, list and modal transitions with Framer Motion, and keyboard navigation and focus handling for dropdowns and modals. The examples are code snippets the agent adapts, not scripts it runs.
できること
- Compose React components and custom hooks
- Manage shared state with Context and reducers
- Memoise, lazy-load and virtualise lists
- Add keyboard and focus handling
概要
- 公開元
- affaan-m
- ツール
- フロントエンドデザイン
インストール
プロジェクトのドキュメントに、確認できるインストール手順がありません。 プロジェクトの手順を見る
含まれるファイル
- agents/openai.yaml
MCPサーバーやスキルは、お使いのコンピューターでコードを実行したり、データを操作したりできます。インストールする前にソースを確認してください。
詳細
出典
- スキルファイル(SKILL.md)github.com/affaan-m/ecc2026年11月16日
- GitHubリポジトリgithub.com/affaan-m/ecc · 根拠となる項目:ライセンス, 公開元, 活動状況2026年11月18日
- スキルファイル(SKILL.md)github.com/affaan-m/ECC2026年11月18日
- リポジトリ内のフォルダ(frontend-patterns)github.com/affaan-m/ECC · 根拠となる項目:スクリプトを含む2026年11月18日