Language

React

AI instructions for React projects — coding rules, agent setup files, and prompts, organized by proficiency.

10 published items · Filter in browse

Rule✓ sealedCC0-1.0

Zustand

Zustand v5 rule for React + TypeScript: typed curried stores, slice composition, functional updates, useShallow selectors, persist/devtools/immer middleware, and async actions.

Rule✓ sealedCC0-1.0

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.

Rule✓ sealedCC0-1.0

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.

Prompt✓ sealedMIT

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.

Rule✓ sealedCC0-1.0

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.

Rule✓ sealedCC0-1.0

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.

Agent instructions✓ sealedCC0-1.0

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.

Agent instructions✓ sealedMIT

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.

Agent instructions✓ sealedMIT

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.

Rule✓ sealedCC0-1.0

React

Definitive guidelines for writing idiomatic, maintainable, and performant React applications using modern best practices and TypeScript.

React — Language directory · Waxmark