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.
-
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.
-
Python FastAPI service, .cursorrules
The FastAPI service rules as a legacy Cursor .cursorrules file: same content.