# Cursor Rules Generator

> Pick your stack and house rules and get a Cursor project rule as an .mdc file, with description, globs and alwaysApply set. Download it into .cursor/rules. Free.

Canonical: https://promptitin.com/free-tools/cursor-rules-generator
Last updated: 2026-11-13

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.

This is an interactive tool. Use it at https://promptitin.com/free-tools/cursor-rules-generator.

## 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.

## FAQ

### 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.

## Related

- [CLAUDE.md and AGENTS.md Generator](https://promptitin.com/free-tools/claude-md-generator)
- [System Prompt Generator](https://promptitin.com/free-tools/system-prompt-generator)
- [llms.txt Generator](https://promptitin.com/free-tools/llms-txt-generator)
