Rules gallery
Example rules files for common stacks and agents (CLAUDE.md, AGENTS.md, Cursor, Copilot, Gemini, Windsurf), scored by the same linter as the lint page. All of them are public domain (CC0): copy one into your repo and edit it. To combine stacks, use the rules packs.
Written for this site, CC0, scored by this linter, not tested against any agent.
-
Monorepo root
Root AGENTS.md for a pnpm and Turborepo workspace: commands, package boundaries, scope limits, and Changesets.
-
Next.js app (TypeScript)
App Router app with Server Components by default, Server Actions, Zod validation, Vitest, and Playwright.
-
Next.js app (TypeScript), Cursor rule
The Next.js rules as a Cursor .mdc rule: same content, with frontmatter that applies it to every request.