Full glossary

Glossary

Cursor rules

Also: .cursor/rules · .mdc

Instructions for Cursor's agent: .mdc files in .cursor/rules with description, globs and alwaysApply fields, applied always, intelligently, by file pattern or manually.

Example

A rule with globs: src/api/**/*.ts is attached only when the agent works on API files.

Where it shows up

Related terms

Source