Language
React
AI instructions for React projects — coding rules, agent setup files, and prompts, organized by proficiency.
10 published items · Filter in browse
Zustand
Zustand v5 rule for React + TypeScript: typed curried stores, slice composition, functional updates, useShallow selectors, persist/devtools/immer middleware, and async actions.
Tailwind CSS
Tailwind CSS v4 rule: CSS-first @theme tokens over arbitrary values, clsx/cva component abstraction, prettier class ordering, mobile-first and container queries, accessible focus styles, and dark mode via @custom-variant.
Next.js
Next.js App Router rule: Server Components by default, async request APIs, Server Actions with Zod validation, caching and revalidation, next/image and next/font.
ReAct prompting: thought/action/observation exemplar (DAIR.AI)
Single ReAct-format trajectory exemplar (Yao et al. 2022, HotpotQA) from the Prompt Engineering Guide, for use as a few-shot demonstration in tool-using agents.
Next.js 15 + React 19 + Vercel AI + Tailwind Cursor rule
.mdc rule for Next.js 15 App Router, React 19, Vercel AI SDK, shadcn/ui and Tailwind with a mandatory analyze-then-plan step and async request API guidance.
Next.js App Router + TanStack Query v5 Cursor rule
Scoped .mdc rule for Next.js App Router with TanStack Query v5: HydrationBoundary, Server Actions as mutations, optimistic updates, infinite scroll.
Expo React Native CLAUDE.md
CLAUDE.md for an Expo SDK 52+ app with expo-router and EAS: install rules, platform gotchas, jest-expo unit tests, and Maestro E2E flows.
PostHog AGENTS.md (Django + React product monorepo)
PostHog's 333-line root AGENTS.md: codebase map, commands, commit/PR and merge-queue rules, public-repo push guidance, CI, security, architecture, code style, copy rules and agent automation.
Expo AGENTS.md (React Native monorepo)
Expo's real AGENTS.md: read-first docs, expotools, change/test/PR workflow, error-message style and an explicit do-not list for a React Native monorepo.
React
Definitive guidelines for writing idiomatic, maintainable, and performant React applications using modern best practices and TypeScript.