Free starter rules that make AI coding tools (Cursor, Claude Code, GitHub Copilot, Windsurf, Codex and any tool that reads AGENTS.md) plan before they code, stay in scope, test their work and keep your secrets out of the repo.
Stack-neutral, plain Markdown, MIT licensed. Copy three files into your project and you're done.
Want the full set for your stack, with a 1-command installer? See the Vibe Coding Rules Kit on Etsy.
| File | What it does |
|---|---|
AGENTS.md |
Main rules: rule priority, security guardrails, how to work, what to report when done. Read by Cursor, Copilot, Windsurf / Devin, OpenAI Codex, Zed, Amp and more. |
.cursor/rules/security.mdc |
Cursor rule with alwaysApply: true, so the security guardrails load in every chat. |
CLAUDE.md |
Claude Code. Imports AGENTS.md and repeats the security essentials. |
checklists/security-checklist-top10.md |
10 checks to run before you share your app. |
prompts/sample-prompts.md |
3 copy-paste prompts: interview me first, stop the debugging spiral, secret scan. |
From the root of your project (the folder with package.json, pyproject.toml or .git):
git clone --depth 1 https://github.com/theodorecreatesco/vibe-coding-rules-starter.git /tmp/vcrs
cp /tmp/vcrs/AGENTS.md /tmp/vcrs/CLAUDE.md .
mkdir -p .cursor/rules && cp /tmp/vcrs/.cursor/rules/security.mdc .cursor/rules/Or click Code > Download ZIP and copy the same three files by hand. Folders that start with a dot are hidden: press Cmd+Shift+. in Finder, or View > Show > Hidden items in Windows.
Already have an AGENTS.md or CLAUDE.md? Paste the block between the BEGIN and END markers at the top of yours instead of overwriting it.
Check it works: start a new chat and ask "What are the top rules in this project?" The AI should mention the rule priority and the security guardrails.
| Free starter (this repo) | Full Vibe Coding Rules Kit | |
|---|---|---|
| Stacks | 1 (general, any stack) | 8: general, Next.js + React, Next.js + Supabase, Lovable (TanStack + Supabase), React + Vite + Supabase (Bolt, older Lovable), Python FastAPI, Expo, Expo + Supabase |
| AI tools | AGENTS.md, one Cursor rule, CLAUDE.md | 7 tools in their native formats: Cursor, Claude Code, GitHub Copilot, Windsurf / Devin, Replit, Lovable, Bolt (plus AGENTS.md for any other tool) |
| Rules | Security guardrails and working style | Full guardrails with concrete defaults (rate limits, API-key handling, admin roles), plus file-specific rules for tests, dependencies and each stack |
| Install | Copy by hand | 1-command installer (Mac, Linux, Windows PowerShell) that keeps your existing rules and backs up anything it changes, or a prompt that lets your AI install it |
| Prompts | 3 | 42, plus the Weekend Ship Plan |
| Security checklist | Top 10 | Full 21 points |
| Launch checklist | Not included | Included |
| Guide | This README | 9-page START-HERE PDF: pick-your-stack flowchart, install, check it works, troubleshooting |
| Licence | MIT | Personal and commercial use in your own and client projects |
Started with this repo? The full kit's installer recognises these files' BEGIN/END markers, swaps in the full rules and keeps your project notes below the END marker.
AI coding tools are fast, but by default they'll happily hard-code an API key, skip the ownership check on an API route or rewrite a file you didn't ask them to touch. These files give the AI a short, clear order of priorities (security first, then your request, then conventions, then style) and the specific habits that prevent the most common vibe-coding leaks.
They're instructions, not a guarantee. Always review AI-written code, especially anything touching security, payments or personal data.
If the starter helps, the Vibe Coding Rules Kit gives you rules for your exact stack in every tool you use, installed with one command.
Made by Theodore Creates Co. Issues and suggestions welcome.
The files in this repo are MIT licensed. The paid kit is a separate product with its own licence.