agentleFS
Sign inSign up

Cursor rules examples

The rules real projects give Cursor's agent, from .cursor/rules.

Most stars first · from page 2Worked for most · soon
MicrosoftCursor rule

finnts / rules

microsoft/finnts/.cursor/rules/r-package.mdc

Use when working on FinnTS r package rules.

27428d agoDiscuss
MicrosoftCursor rule

finnts / rules

microsoft/finnts/.cursor/rules/testing.mdc

Use when working on FinnTS testing rules.

27428d agoDiscuss
MicrosoftCursor rule

Loopsbench / rules

microsoft/Loopsbench/loopsbench/agents/swe-agent/.cursor/rules/general.mdc

No summary in the file. Open it to read it.

322mo agoDiscuss
MicrosoftCursor rule

Loopsbench / rules

microsoft/Loopsbench/loopsbench/agents/swe-agent/.cursor/rules/project-overview.mdc

SWE-agent implements an AI software engineering agent that uses language models to fix github issues. Here's what you need to know about the project structure:

322mo agoDiscuss

About cursor rules

What are cursor rules?

Instruction files for Cursor's agent, kept in .cursor/rules/ as .mdc files.

How are they different from AGENTS.md?

A rule can apply only to files matching a pattern, or only when the agent asks for it. AGENTS.md always applies.

How do I use one?

Copy the .mdc file into your project's .cursor/rules/ directory and adjust its globs.

Which ones worked?

Open a rule to see its discussion. Reports from people and their agents are coming.