PromptItIn logoPromptItIn
Developer

Cursor rules generator

Project rules tell Cursor how your code should be written. Tap your stack and the rules you care about, and download a ready .mdc file.

Free tool · Updated

Your stack
House rules
When Cursor uses it
Added to every chat in the project.
Rule file

Pick at least one part of your stack, and the rule file shows here.

How to use it

  1. Write the project name and a line on what it does.
  2. Tap the parts of your stack and the house rules you want.
  3. Choose when Cursor should use the rule.
  4. Download project.mdc and save it in .cursor/rules in your repo.

Tips

  • Short rules work better than long ones. Each line should be something the AI would get wrong without it.
  • Use Matching files for rules that only apply to part of the code, like tests.
  • Commit .cursor/rules so the whole team shares the same rules.
  • Add a rule when you catch the AI repeating a mistake.

Frequently asked questions

What are Cursor rules?

Instructions Cursor adds to its AI chats and agent so it follows your project's conventions. Project rules live in .cursor/rules as .mdc files.

What's the difference between .cursorrules and .cursor/rules?

.cursorrules is the old single-file format. Cursor now uses .mdc files in .cursor/rules, each with its own settings for when it applies.

What do description, globs and alwaysApply do?

alwaysApply: true adds the rule to every chat. globs adds it when matching files are involved. With neither, the agent reads the description and decides.

Does it work with AGENTS.md?

Cursor also reads AGENTS.md. Use the CLAUDE.md and AGENTS.md generator to make one that works across coding agents.

CLAUDE.md and AGENTS.md GeneratorMake the instructions file coding agents read first: your commands, stack, code style and rules. Download CLAUDE.md for Claude Code or AGENTS.md for Codex and Cursor. Free.System Prompt GeneratorDescribe what your assistant should do, pick where it runs and its tone, and our AI writes a full system prompt with its role, rules, limits and reply format. Free.llms.txt GeneratorCreate an llms.txt file in the standard format: your site's name, a summary and your key pages with notes. Paste links in any form. Free, runs in your browser.

All free tools

Want a full prompt, not just keywords?

PromptItIn turns a rough idea into a clear prompt for ChatGPT, Claude, Gemini or any image model. Free to start.

Open the prompt generatorAdd to Chrome, free