원클릭으로
react-best-practices
Use when reading or writing React components (.tsx, .jsx files with React imports).
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Use when reading or writing React components (.tsx, .jsx files with React imports).
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
Use when creating, reviewing, or updating a BRIEF.md (the quality law for a surface), defining what "good"/shippable means, or setting up a verified autonomous loop.
Use when checking deployment health, investigating errors, reading logs, or working with Tiltfiles. Queries Tilt resource status, logs, and manages dev environments.
Use when starting tilt, debugging Tiltfile errors, or bootstrapping a dev environment. Starts Tilt in zmx, monitors bootstrap to healthy state, fixes Tiltfile bugs without hard-coding or fallbacks.
Use when creating commits, managing branches, opening PRs, or rewriting history. Not for non-git implementation tasks or repo-specific release policy decisions.
Use when syncing a feature branch onto the latest origin base branch via git rebase.
Fetch latest from origin, prune remote-tracking refs, delete stale local branches and worktrees, and fast-forward important branches. Use when tidying up a worktree-based repo layout.
SOC 직업 분류 기준
| name | react-best-practices |
| description | Use when reading or writing React components (.tsx, .jsx files with React imports). |
When working with React, always load both this skill and typescript-best-practices together. TypeScript patterns (type-first development, discriminated unions, Zod validation) apply to React code.
Effects let you "step outside" React to synchronize with external systems. Most component logic should NOT use Effects. Before writing an Effect, ask: "Is there a way to do this without an Effect?"
useMemokey propuseEffectEventSynchronizing with external systems: browser APIs (WebSocket, IntersectionObserver), third-party non-React libraries, window/document event listeners, non-React DOM elements (video, maps).
useMemokey propref.current during render; only in event handlers and effectsuseRef in loops) for dynamic listsuseImperativeHandle to limit what parent can accessuseXxx only if it actually calls other hooks; otherwise use a regular functionuseMount, useEffectOnce) — use useEffect directly so the linter catches missing depschildren over prop drillingisEditing, isThread, hideAttachments) as a composition smell; prefer separate composed components for distinct use casesflushSync when you need to read the DOM synchronously after a state updateSee react-patterns.md for code examples and detailed patterns.