Cursor Rules Starter (Free)
Free Cursor rules examples in .mdc format: agent workflow, commits, testing, security, code review. Includes a linter that shows why a rule isn't applying.
View Cursor Rules Starter (Free)
Focused Cursor rules for your stack, scoped so they load only when relevant, installed into .cursor/rules/ with one command, and a linter that tells you why a rule isn't applying.

24 focused Cursor project rules (.mdc) for the stacks people actually use, an installer that detects your stack and copies only the rules you need into .cursor/rules/, an AGENTS.md exporter for Claude Code / Codex / other agents, and a rules linter.
Every rule follows Cursor's documented format and best practices: frontmatter with description / globs / alwaysApply, one topic per rule, under 20 lines each (Cursor recommends < 500), concrete instructions instead of "write clean code". Only one rule is always applied (13 lines); the rest attach by file pattern or when the Agent decides they're relevant, so they don't fill your context.
The screenshot is real output from the kit’s own commands. Tested from a fresh download of this exact zip: ./run_tests.sh ran 14 tests OK on Python 3.13 and 3.10.

python3 tools/install_rules.py --detect ~/code/my-app # what stacks does it use?
python3 tools/install_rules.py ~/code/my-app --auto # core rules + detected stacks -> .cursor/rules/
python3 tools/install_rules.py ~/code/my-app --stack core,python,docker --dry-run
python3 tools/install_rules.py ~/code/my-app --auto --agents-md # also write AGENTS.mdExisting files are never overwritten unless you add --force. Or skip the installer: copy any rules/*.mdc into .cursor/rules/ yourself.
As a Cursor plugin: copy this folder to ~/.cursor/plugins/local/cursor-rules-pack and reload the window (manifest: .cursor-plugin/plugin.json). That loads all 24 rules in every project, so most people prefer the per-project install above.
| Rule | Stack | Loads |
|---|---|---|
| core-agent-workflow | core | always |
| core-git-commits | core | agent picks (description) |
| core-testing | core | agent picks (description) |
| core-security | core | agent picks (description) |
| core-code-review | core | @-mention |
| core-docs | core | agent picks (description) |
| core-error-handling | core | agent picks (description) |
| typescript | typescript | files: /*.ts, /*.tsx |
| react | react | files: /*.tsx, /*.jsx |
| nextjs-app-router | nextjs | files: app/, src/app/, next.config.*, middleware.ts |
| tailwind | tailwind | files: /*.tsx, /*.jsx, /*.html, /*.vue, tailwind.config.* |
| node-express | node | agent picks (description) |
| python | python | files: /*.py |
| fastapi | python | agent picks (description) |
| django | python | agent picks (description) |
| go | go | files: /*.go |
| rust | rust | files: /*.rs, Cargo.toml |
| java-spring-boot | java | files: /*.java, pom.xml, build.gradle* |
| flutter-dart | flutter | files: /*.dart, pubspec.yaml |
| sql-migrations | sql | files: /migrations/, /*.sql, /migrate/ |
| supabase | supabase | files: supabase/, /*supabase* |
| docker | docker | files: /Dockerfile*, /docker-compose*.yml, /docker-compose*.yaml, /compose*.yaml, .dockerignore |
| github-actions | ci | files: .github/workflows/, .github/actions/ |
| terraform | terraform | files: /*.tf, /*.tfvars |
Detection looks at package.json dependencies (next, react, tailwindcss, typescript, express/fastify/koa/nest/hono, supabase), pyproject/requirements/.py files, go.mod, Cargo.toml, pom.xml/build.gradle, pubspec.yaml, Dockerfiles/compose files, .github/workflows, *.tf, *.sql and migrations folders.
python3 tools/lint_rules.py .cursor/rules --project .
python3 tools/lint_rules.py examples/broken-rules # see what it catchesFlags plain .md files Cursor ignores, missing or unclosed frontmatter, alwaysApply: yes, misspelled keys (always_apply), globs ignored because alwaysApply: true, ./ or absolute globs, globs that match no file in your project, @file references that don't exist, empty rules, duplicates, rules over 500 lines, too many always-applied lines, and vague instructions. Exit code 1 on errors, --json for CI.
./tools/demo.sh # detect + install + lint on examples/sample-app (Next.js + Supabase), in a temp copy
./run_tests.sh # 14 test groupsPython 3.9+, standard library only, offline.
Rules are starting points: open the installed .mdc files and change them to match your team (Cursor: add a rule when you see the Agent repeat the same mistake). Globs are written unquoted and comma-separated, the way Cursor's own editor writes them.
Zip, 34 KB, v1.0, 40 files. You may use and modify this kit for your own work and for clients you serve, including paid client work. Not affiliated with or endorsed by Cursor (Anysphere).
24 Cursor rules (.mdc) for Next.js, TypeScript, React, Python, FastAPI, Django, Go, Rust and more. Detects your stack, installs in one command, lints your rules. $12 once.
Free Cursor rules examples in .mdc format: agent workflow, commits, testing, security, code review. Includes a linter that shows why a rule isn't applying.
View Cursor Rules Starter (Free)Free CLAUDE.md linter: broken @imports, files over 200 lines, .claude/rules paths that match nothing, AGENTS.md conflicts, dead npm scripts, leaked keys. Offline, CI-ready.
View CLAUDE.md Linter (Free)Free MCP config validator and converter: check .mcp.json, .cursor/mcp.json, .vscode/mcp.json and claude_desktop_config.json for the mistakes that make servers silently fail.
View MCP Config Validator (Free)