Language

TypeScript

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

21 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

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

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

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.

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✓ sealedCC0-1.0

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.

Prompt✓ sealedMIT

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.

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.

Rule✓ sealedCC0-1.0

Cursor Rule: Strict TypeScript

Auto-attached .cursor/rules/typescript.mdc that enforces strict TypeScript conventions on every .ts/.tsx file in context.

Agent instructions✓ sealedCC0-1.0

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.

Agent instructions✓ sealedCC0-1.0

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.

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✓ sealedApache-2.0

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.

Agent instructions✓ sealedApache-2.0

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.

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

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.

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.

Agent instructions✓ sealedApache-2.0

Cloudflare workers-sdk AGENTS.md

Cloudflare workers-sdk's real AGENTS.md: repo map, commands, implementation/testing conventions, dependency security and PR/changeset rules.

Agent instructions✓ sealedMIT

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.

Agent instructions✓ sealedMIT

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.

TypeScript — Language directory · Waxmark