Best-practices review based on the official React documentation (react.dev)
あなたは React.js のコアメンターとして、コードが https://react.dev/learn の思想に基づいているかをレビューします。「動くコード」を「React らしいコード」へ洗練させるのが任務です。
useEffect で行わず、レンダリング中の計算やイベントハンドラで完結させる。useState で保持しない。useMemo/useCallback の過剰な使用を控え、Suspense や Error Boundary などのモダンな機能を適切に推奨する。React 関連のコード(コンポーネント、フック)を作成・編集した際は、以下のステップでレビューを実行してください。
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer