▶ FREE RULES
Free rules for your AI coding tool
One copy-paste rules file per tool, in the format that tool actually reads. Plan first, small diffs, no secrets in code, verify before done. Free, no signup.
- Cursor
.cursor/rules/core.mdc· Project rule (.mdc with frontmatter) - Claude Code
CLAUDE.md (repo root)· CLAUDE.md project memory (Markdown) - Windsurf
.windsurf/rules/core.md· Workspace rule (.md with trigger frontmatter) - Lovable
Project settings → Instructions· Project instructions (plain text) - Bolt
Project settings → Knowledge· Project knowledge (plain text)
Not sure which file your tool reads, or whether it reads AGENTS.md? See Which rules file does each AI tool read? (Cursor, Claude Code, Windsurf, Codex, Copilot, Lovable, Bolt, Gemini CLI; checked Nov 14, 2026).
New: Rules-file changes, December 2026: dated, sourced list of what changed in how Claude Code, Codex, Gemini CLI, Cursor and Copilot load CLAUDE.md, AGENTS.md, GEMINI.md and rules files (checked Nov 30, 2026).
Cloned a repo and want to know what an agent would load from it? Run the free read-only check (bash or PowerShell; checked Nov 28, 2026).
Starting a project and need a rules file? The free rules file generator fills in a template for Cursor, Claude Code, AGENTS.md or Copilot in your browser (no AI; nothing is sent or stored).
Rules by problem
- Ship-safe rulesStop the 5 fails vibe-coded apps keep shipping: leaked secrets, missing security headers, HTTPS slips, broken paths, fat bundles, plus leak scanning and AI prompt hygiene
- Steam store page copy rules10 rules that make your AI write a clear Steam short description and feature list: no filler, no invented claims
- Game jam rules14 rules that keep your AI on one mechanic in a 48-72 hour jam: always playable, feature freeze at halfway, export early, a paste-ready AI disclosure, a post-jam devlog and a portrait mobile add-on
- discord.js v14 rulesStop your AI writing deprecated Discord bot code (ephemeral: true, fetchReply, the old ready event) and missing Discord's 3-second reply rule
- Next.js 16 rulesStop your AI writing Next.js 15-era code: sync params and cookies(), middleware.ts instead of proxy.ts, one-argument revalidateTag, next lint; plus a security-headers block for next.config
- Parallel agents rulesRun several coding agents at once without colliding: one git worktree per agent, Cursor and Claude Code start commands, merge, re-run tests, cleanup (checked Nov 11, 2026)
- Cloudflare Pages _headers rulesMake your AI set security headers on Cloudflare Pages correctly: where _headers goes, rule order, comma-joined duplicates, detach, and why Functions and SSR responses aren't covered (checked Nov 16, 2026)
- Open Graph & X card rulesStop your AI shipping blank link previews: the four required og: tags, og:image:alt, twitter:card, absolute image URLs, X's image size rules, Next.js metadata pitfalls (checked Nov 23, 2026)
Want stack-specific rules for Next.js, FastAPI, Godot, Unity and discord.js? See the Rules Mega Pack ($19).