Language
TypeScript
AI instructions for TypeScript projects — coding rules, agent setup files, and prompts, organized by proficiency.
21 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.
TypeScript
Concise TypeScript rule: strict config, unknown over any, satisfies and as const, discriminated unions, type guards, Result types, and explicit null handling.
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.
Solana / Anchor (Rust)
Rust rule for Solana programs built with Anchor 0.30+: program layout, account constraints, PDA and signer checks, checked math, error codes, zero-copy accounts, testing, and deploy workflow.
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.
Generate a Typed API Client From OpenAPI
Produces a hand-quality typed client from an OpenAPI spec: one function per operation, shared types, explicit error handling, and no runtime dependency surprises.
TypeScript pro subagent (VoltAgent)
Claude Code subagent (.claude/agents/typescript-pro.md). Claude Code subagent for advanced TypeScript 5.x: complex generics, type-level programming, strict configs and full-stack type safety.
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.
Cursor Rule: Strict TypeScript
Auto-attached .cursor/rules/typescript.mdc that enforces strict TypeScript conventions on every .ts/.tsx file in context.
Next.js App Router CLAUDE.md
CLAUDE.md for a Next.js 15/16 App Router app with TypeScript, Tailwind, Drizzle or Prisma, pnpm, Vitest, and Playwright.
Turborepo Monorepo CLAUDE.md
Root CLAUDE.md for a Turborepo + pnpm workspace with apps/ and packages/, filtered commands, shared-code placement, changesets, and nested CLAUDE.md files.
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.
Vercel AI SDK AGENTS.md
The AI SDK's 324-line AGENTS.md: repo map, pnpm commands, Zod and JSON-parsing rules, error-class pattern, provider architecture, changesets, per-change-type completion checklists and a Do-Not list.
Supabase AGENTS.md (pnpm monorepo)
Supabase's real root AGENTS.md: monorepo structure, pnpm/Turbo commands, CI rules, conventions and Studio notes in 75 lines.
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.
Next.js AGENTS.md (vercel/next.js monorepo)
Vercel's 535-line root AGENTS.md for the Next.js monorepo: package map, build and fast-dev commands, bundler selection, test workflow, PR/issue etiquette, secrets and SSH safety.
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.
Cloudflare workers-sdk AGENTS.md
Cloudflare workers-sdk's real AGENTS.md: repo map, commands, implementation/testing conventions, dependency security and PR/changeset rules.
Cloudflare Agents SDK AGENTS.md
Cloudflare's 206-line AGENTS.md for the Agents SDK: package layout, nested AGENTS.md, Oxlint/Oxfmt, Workers conventions, vitest-pool-workers, changesets, learned facts, Always/Ask/Never boundaries.
Astro AGENTS.md (principles + monorepo guide)
Astro's real AGENTS.md: agent behaviour principles, style and comment guide, pnpm monorepo structure, test commands and Vite deep dives.