Skip to content

react

Context skill for React 19 projects using TypeScript, Vite, TanStack Query, Zustand, shadcn/ui, Tailwind v4, and React Three Fiber.

Philosophy

Applications follow a feature-sliced layout under src/: business domains live in features/<feature>/ and are exposed to routes only through feature hooks, never by direct component import. Server and remote state belongs in TanStack Query; UI and client state belongs in Zustand. API types are generated from OpenAPI via openapi-typescript and form types are always z.infer<typeof schema> — neither is written by hand. Class composition uses cn() and cva() with Tailwind theme tokens, never literal colour values.

Recipes

References

Released under the MIT License.