Ad space · Your tool here
PluginStack
Rules & Prompts · by Cursor

Cursor Rules

Cursor Rules official site ↗

Last checked against the official docs:

What it does

Cursor's rules feature gives the Agent persistent instructions. Project rules are .mdc files in .cursor/rules, and there are also User Rules, Team Rules and plain AGENTS.md files.

Who it's for

Cursor users who are tired of repeating the same instructions every chat.

How to set it up

  1. Type the create-rule command (with a leading slash) in Cursor's Agent chat and describe the rule, or add one from Customize → Rules → Add Rule.

  2. Rules are saved as .mdc files in .cursor/rules (plain .md files there are ignored). Commit them to git. Example rule:

    markdown
    ---
    globs: src/components/**/*.tsx
    alwaysApply: false
    ---
    
    - Use named exports, not default exports
  3. Pick how each applies: Always Apply, Apply Intelligently (by description), Apply to Specific Files (globs), or Apply Manually (@-mention). Keep each under ~500 lines.

Check the official Cursor Rules docs for the latest steps.

Set it up / Fixes

Step-by-step guides for getting Cursor Rules running and fixing common errors.

Example prompts

prompt
/create-rule Use named exports and Tailwind for all components in src/components.
prompt
Following our project rules, create a new API route for user settings.
prompt
Write an AGENTS.md for this repo based on package.json and the folder structure.

Made Cursor Rules? Add the badge

If you like, show that Cursor Rules is listed and hand-checked here. It's optional: listings are free and we never ask for a link back.

Hand-checked on PluginStack
Get the Markdown or HTML

Markdown (for a GitHub README)

markdown
[![Hand-checked on PluginStack](https://www.pluginstackai.com/badge/hand-checked.svg)](https://www.pluginstackai.com/plugins/cursor-rules/)

HTML (for a website)

html
<a href="https://www.pluginstackai.com/plugins/cursor-rules/"><img src="https://www.pluginstackai.com/badge/hand-checked.svg" alt="Hand-checked on PluginStack" width="226" height="28"></a>

About the badge

Free: MCP Starter Checklist

After you set this tool up, use the one-page checklist so your next MCP server doesn't fail on first connect.

Markdown download + occasional PluginStack updates. No spam. Privacy policy.

See all Rules & Prompts on PluginStack