<< All versions

Skill v1.0.1

currentAutomated scan100/100
maicongambini/omp-harness-guide/react

+1 new

──Details
PublishedNovember 3, 2026 at 03:56 AM
Content Hashsha256:0b1f6789630e797e...
Git SHAe535151c6050
Bump Typepatch
Compare with v1.0.0
──Files
Files (1 file, 1.0 KB)
SKILL.md1.0 KBactive
SKILL.md · 38 lines · 1.0 KB

name: react description: "Build React and Next.js interfaces. Use when creating components, hooks, or Suspense boundaries. Do NOT use for styling (use frontend-design)." metadata: version: "1.0.1"


React/Next.js Standards

React 19 Best Practices

  • Use Suspense, the use hook, and promises as props
  • Prefer use, useTransition, and startTransition over useEffect
  • You probably shouldn't use useEffect

Component Design

  • Keep components pure: don't declare constants or functions inside components
  • Use React Query for client-side async data fetching
  • Don't fetch data in useEffect

Loading & Error States

  • Prefer <Suspense> and useSuspenseQuery over React Query's isLoading
  • Use errorBoundary with retry button

Cache Management

  • Don't use magic strings for cache tags; use an enum/factory
  • Use enum for React Query cache strings

Avoid

  • Magic numbers/strings
  • Data fetching in useEffect
  • Constants inside component bodies
  • isLoading patterns when Suspense works
← v1.0.0All versions