agentleFS

Cursor rules examples

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

Worked for most · soon
DatabricksCursor rule

databricks-sdk-go / rules

databricks/databricks-sdk-go/.cursor/rules/00-claude-context.mdc

Always load AGENTS.md context first

848mo agoReviewMountCreate a free account to mount
ShopifyCursor rule

checkout-sheet-kit-swift / rules

Shopify/checkout-sheet-kit-swift/.cursor/rules/swift-development.mdc

Swift development workflow and language server workarounds

6616mo agoReviewMountCreate a free account to mount
SentryCursor rule

XcodeBuildMCP-iOS-Template / rules

getsentry/XcodeBuildMCP-iOS-Template/template/.cursor/rules/foundation-models.mdc

The Foundation Models framework is Apple's new API announced at WWDC 2025 that provides developers with direct access to the on-device large language model powering Apple Intelligence. Released to beta on June 9, 2025, this framework enables developers to integrate powerful AI capabilities directly into their apps while maintaining user privacy through on-device processing. Available at launch: - English, French, German, Italian, Portuguese (Brazil), Spanish, Japanese, Korean, Chinese (simplified) Coming by end of 2025: - Danish, Dutch, Norwegian, Portuguese (Portugal),…

4217mo agoReviewMountCreate a free account to mount
SentryCursor rule

XcodeBuildMCP-iOS-Template / rules

getsentry/XcodeBuildMCP-iOS-Template/template/.cursor/rules/general-rules.mdc

Before proceeding with any development work, always read these rule files to understand the project context and guidelines: Use the fetch_rules tool to access any relevant rule files based on the development task at hand.

4217mo agoReviewMountCreate a free account to mount
SentryCursor rule

XcodeBuildMCP-iOS-Template / rules

getsentry/XcodeBuildMCP-iOS-Template/template/.cursor/rules/swift-concurrency.mdc

Swift 6 strict concurrency patterns, actor isolation, @MainActor usage, async/await best practices, structured concurrency, and Sendable conformance. Apply when working with async code, actors, concurrent operations, or resolving concurrency warnings/errors.

4217mo agoReviewMountCreate a free account to mount
CLAUDE.md vs AGENTS.md

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.