agentleFS

Cursor rules examples

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

Best matches · from page 3Worked for most · soon
rustic-aiCursor rule

codeprism / rules

rustic-ai/codeprism/.cursor/rules/bash.mdc

This rule enforces best practices and coding standards for Bash scripting to improve code quality, maintainability, and security. It covers naming conventions, formatting, error handling, security, and performance considerations.

3116mo agoReviewMountCreate a free account to mount
ethereumjsCursor rule

ethereumjs-monorepo / rules

ethereumjs/ethereumjs-monorepo/.cursor/rules/security.mdc

Security trust tiers and constraints for EthereumJS libraries

Steady2 mentions in 2 weeks

No other project uses it yet

2.8k18d agoReviewMountCreate a free account to mount
NVIDIAReads credentialsCursor rule

dcgm-exporter / rules

NVIDIA/dcgm-exporter/.cursor/rules/shell-ci-security.mdc

Shell, CI, Docker, packaging, and security rules

Steady5 mentions in 2 weeks

No other project uses it yet

1.9k4mo agoReviewMountCreate a free account to mount
rustic-aiCursor rule

codeprism / rules

rustic-ai/codeprism/.cursor/rules/docker.mdc

This rule file provides comprehensive guidance on Docker best practices, covering Dockerfile construction, image optimization, and security considerations. It aims to improve the efficiency, maintainability, and security of Docker-based projects.

3116mo agoReviewMountCreate a free account to mount
stackroxCursor rule

stackrox / security

stackrox/stackrox/.cursor/rules/security/helm.mdc

Secure coding rules for Stackrox Helm charts

No other project uses it yet

1.3k7mo agoReviewMountCreate a free account to mount
rustic-aiCursor rule

codeprism / rules

rustic-ai/codeprism/.cursor/rules/rust.mdc

This rule provides comprehensive best practices for Rust development, covering code organization, common patterns, performance, security, testing, pitfalls, and tooling. It aims to guide developers in writing idiomatic, efficient, secure, and maintainable Rust code.

3116mo agoReviewMountCreate a free account to mount
lacymorrowCursor rule

paperclip-hub / rules

lacymorrow/paperclip-hub/.cursor/rules/security.mdc

Security Best Practices and Guidelines

158mo agoReviewMountCreate a free account to mount
DataDogDeletes or force-pushesCursor rule

dd-trace-py / rules

DataDog/dd-trace-py/.cursor/rules/appsec.mdc

Datadog Application Security (AppSec) - Complete Guide

6532mo agoReviewMountCreate a free account to mount
alibabaCursor rule

loongcollector / review-standards

alibaba/loongcollector/.cursor/rules/review-standards/code-review.mdc

Code Review Rule. Use this rule when you need expert code review for quality, security, and maintainability. This rule should be used proactively after writing logical chunks of code, before merging pull requests, or when explicitly asked to review code. Example: After implementing a new feature in a Go plugin, use this rule to review the code for potential issues. Example: When asked '请对 PR 1234 进行代码评审', 'Code Review fork/feature/x', '将 fork/feature/x 对比 main 进行CR' use this rule to perform a thorough security-focused review.

2.2k4mo agoReviewMountCreate a free account to mount
vibeevalReads credentialsCursor rule

vibecosystem / rules

vibeeval/vibecosystem/.cursor/rules/security.mdc

Security rules for code review and vulnerability prevention

5307mo agoReviewMountCreate a free account to mount
aillomCursor rule

casa / rules

aillom/casa/.cursor/rules/01-casa-security.mdc

C.A.S.A security rules

04mo agoReviewMountCreate a free account to mount
jackjin1997Cursor rule

agentgap / rules

jackjin1997/agentgap/.cursor/rules/agentgap-security.mdc

Security best practices

05mo agoReviewMountCreate a free account to mount
ivangrynenkoCursor rule

cursorrules / rules

ivangrynenko/cursorrules/.cursor/rules/drupal-file-permissions.mdc

Drupal file permissions security standards

8812mo agoReviewMountCreate a free account to mount
danielvm-gitReads credentialsCursor rule

bigpowers / rules

danielvm-git/bigpowers/.cursor/rules/security-review.mdc

AI-powered security analysis of code changes — traces data flow, detects injection, auth bypass, secrets exposure, and unsafe deserialization across files. Use when reviewing pending changes, before release-branch, during verify-work Phase 5, during build-epic Step 0 threat modeling, or when the user says \"security review\" or \"scan for vulns\".

2742mo agoReviewMountCreate a free account to mount
brendadeeznuts1111Reads credentialsCursor rule

betting-brain-v3 / rules

brendadeeznuts1111/betting-brain-v3/.cursor/rules/security-patterns.mdc

Security patterns and vulnerability prevention

813mo agoReviewMountCreate a free account to mount
girijashankarjCursor rule

cursor-handbook / architecture

girijashankarj/cursor-handbook/.cursor/rules/architecture/dependency-management.mdc

Dependency management and package security rules

302mo agoReviewMountCreate a free account to mount
girijashankarjReads credentialsCursor rule

cursor-handbook / security

girijashankarj/cursor-handbook/.cursor/rules/security/guardrails.mdc

Security guardrails applied to all AI interactions

302mo agoReviewMountCreate a free account to mount
girijashankarjCursor rule

cursor-handbook / security

girijashankarj/cursor-handbook/.cursor/rules/security/security-compliance.mdc

Security compliance standards and regulatory requirements

302mo agoReviewMountCreate a free account to mount
xu-xiangReads credentialsCursor rule

everything-claude-code-zh / rules

xu-xiang/everything-claude-code-zh/.cursor/rules/python-security.md

Python 安全规范,扩展通用安全规则 (Python security extending common rules)

1.9k8mo 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.