# RulePaste > Paste the rules your coding agent actually follows. RulePaste writes a ready-to-paste rules file for Cursor, Claude Code, Windsurf, GitHub Copilot, and Codex. Pick your stack. No account and no API key. RulePaste generates rules files from templates in the browser. It does not call a language model. The same choices always produce the same file. Stack pages are static and can be cited. ## Start here - [Generator](https://rulepaste.com/): Pick tools and a stack, then copy or download the rules file. - [What is a rules file?](https://rulepaste.com/guide): What a rules file is, why it matters, and how to install one. - [All stacks](https://rulepaste.com/rules): Index of ready-made stack pages. - [All tools](https://rulepaste.com/tools): File formats for Cursor, Claude Code, Windsurf, Copilot, Codex, and AGENTS.md. ## Stack rules - [Next.js rules file](https://rulepaste.com/rules/nextjs): A Next.js rules file for Cursor, Claude Code, Copilot, and Codex. App Router, async params, Server Components, Tailwind, and Vitest. - [Next.js + Supabase rules file](https://rulepaste.com/rules/nextjs-supabase): Rules for a Next.js and Supabase app: server cookies client, service-role key, Row Level Security, and generated database types. - [Next.js + Prisma rules file](https://rulepaste.com/rules/nextjs-prisma): Rules for Next.js with Prisma and Postgres-style schemas: one shared PrismaClient, committed migrations, and no database imports in client components. - [Next.js + Drizzle rules file](https://rulepaste.com/rules/nextjs-drizzle): Rules for Next.js and Drizzle ORM: drizzle-kit SQL migrations, one server-only client, and bound parameters. - [Next.js + Playwright rules file](https://rulepaste.com/rules/nextjs-playwright): Next.js rules plus Playwright end-to-end tests: role locators, no fixed sleeps, and the App Router constraints. - [React + Vite rules file](https://rulepaste.com/rules/react-vite): Rules for a React app on Vite: no Next.js APIs, public VITE_ env vars, and the router you already installed. - [Tailwind CSS rules file](https://rulepaste.com/rules/tailwind): Tailwind rules for coding agents: v3 config versus v4 @theme, design tokens, focus styles, and class ordering. - [SvelteKit rules file](https://rulepaste.com/rules/sveltekit): SvelteKit rules that match Svelte 4 or 5, load data on the server, and return fail() from form actions. - [Astro rules file](https://rulepaste.com/rules/astro): Astro rules for islands, content collections, and keeping client JavaScript off static pages. - [Nuxt rules file](https://rulepaste.com/rules/nuxt): Nuxt and Vue 3 rules: script setup, useFetch for server data, and secrets kept in server routes. - [Remix and React Router rules file](https://rulepaste.com/rules/remix): Rules for Remix v2 or React Router 7: use the package you have, loaders for data, actions for writes. - [Expo and React Native rules file](https://rulepaste.com/rules/expo): Expo rules that forbid HTML tags, pin SDK packages with expo install, and leave generated native projects alone. - [Supabase rules file](https://rulepaste.com/rules/supabase): Supabase rules for any frontend: RLS stays on, the service-role key stays on the server, types come from the CLI. - [FastAPI rules file](https://rulepaste.com/rules/python-fastapi): FastAPI rules for Pydantic v2, dependencies, uv, and pytest. Blocking IO stays out of async endpoints. - [FastAPI + Postgres rules file](https://rulepaste.com/rules/fastapi-postgres): FastAPI rules plus parameterized PostgreSQL: pooled connections, timestamptz, and append-only SQL migrations. - [Django rules file](https://rulepaste.com/rules/django): Django rules for migrations, the ORM, templates, and auth. Pytest and Postgres, managed with uv. - [Flask rules file](https://rulepaste.com/rules/flask): Flask rules for the app factory, blueprints, config from the environment, and pytest. - [Node and Express rules file](https://rulepaste.com/rules/node-express): Express rules for thin routes, Zod or the validator you already have, and one error middleware. - [NestJS rules file](https://rulepaste.com/rules/nestjs): NestJS rules for modules, providers, the ORM you already wired, and Jest. - [Hono rules file](https://rulepaste.com/rules/hono): Hono rules for edge and Node deploys: no Node APIs on Workers, Zod validator, HTTPException. - [Laravel rules file](https://rulepaste.com/rules/laravel): Laravel rules for form requests, Eloquent, env() only in config files, Pest, and Pint. - [Ruby on Rails rules file](https://rulepaste.com/rules/rails): Rails rules for strong parameters, Hotwire, reversible migrations, and RSpec or the default test suite. - [Unity C# rules file](https://rulepaste.com/rules/unity-csharp): Unity C# rules: SerializeField instead of Find, no allocations in Update, and no edits under Library. - [Godot 4 rules file](https://rulepaste.com/rules/godot): Godot 4 rules for scenes, signals, typed GDScript, and the GUT test addon when it is installed. - [Rust rules file](https://rulepaste.com/rules/rust): Rust rules for Cargo: Result and expect, no casual unsafe, rustfmt, clippy, and cargo test. - [Go rules file](https://rulepaste.com/rules/go): Go rules for gofmt, wrapped errors, context as the first parameter, and table-driven tests. - [TypeScript rules file](https://rulepaste.com/rules/typescript): TypeScript rules with no framework attached: strict mode, no new any, import type, and no floating promises. - [Prisma rules file](https://rulepaste.com/rules/prisma): Prisma rules with no web framework: schema migrations, one shared client, and parameterized raw SQL. ## Tools - [Cursor](https://rulepaste.com/tools/cursor): How Cursor project rules work in 2026: .cursor/rules/*.mdc frontmatter, alwaysApply, and the legacy .cursorrules file. - [Claude Code](https://rulepaste.com/tools/claude-code): Where Claude Code reads CLAUDE.md and how .claude/rules path-scoped rules work. - [Windsurf](https://rulepaste.com/tools/windsurf): Windsurf and Devin Desktop rules: .devin/rules, the .windsurf/rules fallback, and legacy .windsurfrules. - [GitHub Copilot](https://rulepaste.com/tools/github-copilot): GitHub Copilot custom instructions: .github/copilot-instructions.md and path-specific .instructions.md files. - [Codex](https://rulepaste.com/tools/codex): How OpenAI Codex discovers AGENTS.md, nested files, and the AGENTS.override.md footgun. - [AGENTS.md](https://rulepaste.com/tools/agents-md): What the AGENTS.md standard is, which coding agents read it, and how nested files work. ## Also - [Pro pack](https://rulepaste.com/pro): A planned paid add-on for deeper stack packs. Coming soon until a checkout link is configured. - [Privacy](https://rulepaste.com/privacy): The generator stores nothing. Newsletter and analytics run only when the site owner connects them. - [Feedback](https://rulepaste.com/feedback): Report a wrong rule or a missing stack.