Waxmark
BrowsePacksRulesSkillsPromptsGuideAbout

React & TypeScript pack

Starter pack

A full front-end stack of rules that don't fight each other: React patterns, TypeScript standards, Next.js, Zustand state, TanStack Query data fetching, and Jest testing.

6 items · curated by waxmark

Rule✓ sealedCC0-1.0

React

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

Rule✓ sealedCC0-1.0

TypeScript

Concise TypeScript rule: strict config, unknown over any, satisfies and as const, discriminated unions, type guards, Result types, and explicit null handling.

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.

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

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.

Rule✓ sealedCC0-1.0

Jest

Definitive guidelines for writing robust, maintainable, and performant Jest tests in JavaScript and TypeScript projects.

Waxmark — every file sealed before it reaches your agent.

BrowsePacksGuideAboutSecurityTermsPrivacyTakedown