agentleFS

Cursor rules examples

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

Best matches · from page 13Worked for most · soon
blncraftCursor rule

cursor-rules-starter-pack / rules

blncraft/cursor-rules-starter-pack/.cursor/rules/nextjs.mdc

Production-tested Next.js App Router rules. Server Components default, Server Actions, TypeScript strict.

07mo agoReviewMountCreate a free account to mount
ivangrynenkoCursor rule

cursorrules / rules

ivangrynenko/cursorrules/.cursor/rules/behat-ai-guide.mdc

This rule provides comprehensive guidance for AI assistants writing Behat tests for Drupal projects using the drevops/behat-steps package. It emphasizes reusing existing traits and steps rather than creating custom implementations. Contains the full STEPS.md reference embedded for easy access.

8813mo 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.

3217mo agoReviewMountCreate a free account to mount
michele-prandinaCursor rule

ClaudE2E / agents

michele-prandina/ClaudE2E/.cursor/rules/agents/frontend-developer.mdc

Senior Frontend Developer persona — implements frontend user stories, UI code, manages dev server workflow. Use when building React components, implementing screens, or frontend testing.

810mo agoReviewMountCreate a free account to mount
madebyarisCursor rule

advance-minimax-m3-cursor-rules / rules

madebyaris/advance-minimax-m3-cursor-rules/.cursor/rules/fable5-coding-craft.mdc

Fable 5 coding craft: locate-before-write, root-cause method, simplicity taste, error-handling philosophy, test integrity, refactoring discipline, and counters to common LLM coding failure modes. Load when writing, refactoring, debugging, or reviewing non-trivial code in any language.

1266mo agoReviewMountCreate a free account to mount
asap-protocolCursor rule

asap-protocol / rules

asap-protocol/asap-protocol/.cursor/rules/agent-clean-code.mdc

Language-agnostic agent-oriented clean code: SOLID, file size limits, grep-friendly names, provenance comments, test policy, and error context. Apply when writing or reviewing code in any stack.

169mo agoReviewMountCreate a free account to mount
SafetyMPCursor rule

HR-ERP / rules

SafetyMP/HR-ERP/.cursor/rules/vercel-jwt-smoke.mdc

When the user asks for a dev JWT, Bearer token, or to test / hit the linked Vercel deployment API with auth — run the smoke command and report status (not the token)

16mo agoReviewMountCreate a free account to mount
DXHeroesCursor rule

mcp-devtools / rules

DXHeroes/mcp-devtools/.cursor/rules/testing-standards.mdc

Testing Standards

1321mo agoReviewMountCreate a free account to mount
danielvm-gitDeletes or force-pushesCursor rule

bigpowers / rules

danielvm-git/bigpowers/.cursor/rules/terse-mode.mdc

Fallback ultra-compressed communication mode. Cuts token usage ~75% by dropping filler, articles, and pleasantries while keeping full technical accuracy. Use ONLY when context is critically long and compressing output is necessary to continue. Not a strategy — token discipline comes from code shape (small functions, unique names, headless tests), not terser prompts. Use when user says \"caveman mode\", \"terse mode\", \"less tokens\", \"be brief\", or invokes /terse-mode.

2523mo agoReviewMountCreate a free account to mount
malawaddCursor rule

zama-fhevm-confidential-contracts / rules

malawadd/zama-fhevm-confidential-contracts/.cursor/rules/zama-fhevm-confidential-contracts.mdc

Build, test, deploy, and integrate confidential smart contracts on Zama Protocol FHEVM, including encrypted inputs, ACL, decryption, OpenZeppelin confidential contracts, and ERC-7984.

07mo agoReviewMountCreate a free account to mount
Troy-LLCursor rule

Unfurnished / rules

Troy-LL/Unfurnished/.cursor/rules/tdd.mdc

Use when implementing a feature or a bug fix — failing test first. Do not use for throwaway scripts, generated files, or config-only edits. Do not use when the user attached another pack's skill this turn.

12mo agoReviewMountCreate a free account to mount
AWSCursor rule

automated-security-helper / rules

awslabs/automated-security-helper/ash-agent-plugins/agentic-coding/plugins/cursor/.cursor/rules/ash-mcp.mdc

Run security scans with the ASH (Automated Security Helper) MCP server. Use this skill whenever the user asks to scan for vulnerabilities, run a security check, find CVEs, audit dependencies, check for secrets, run SAST or SCA, scan IaC (Terraform/CloudFormation/Kubernetes), check for hardcoded credentials, or mentions ASH, Bandit, Semgrep, Checkov, Grype, Syft, or detect-secrets. Also trigger when the user wants to find security issues, harden a codebase, or asks "is my code secure". Do NOT trigger for code review without security context, performance audits, or test writing.

No other project uses it yet

69658d agoReviewMountCreate a free account to mount
RagnarPitlaCursor rule

microsoft-agent-skills-private-archive / rules

RagnarPitla/microsoft-agent-skills-private-archive/.cursor/rules/structured-interview.mdc

Interview the user about a plan, design or decision until every open branch is resolved. Use when a request is ambiguous, when scope is unclear, before writing a spec or estimate, when the user asks to be challenged or stress-tested, or when you are about to build something and are not certain what \"done\" means.

33mo agoReviewMountCreate a free account to mount
codegobrrrr9Cursor rule

cheapskate / rules

codegobrrrr9/cheapskate/.cursor/rules/cheapskate.mdc

cheapskate — token frugality rules. Grep before read, read ranges, never re-read, batch calls, no play-by-play narration, tail not cat, one test not the suite, edit not rewrite.

12mo agoReviewMountCreate a free account to mount
sergeyklayCursor rule

cityhive / rules

sergeyklay/cityhive/.cursor/rules/testing-guidelines.mdc

Testing Guidelines

218mo agoReviewMountCreate a free account to mount
abxn4rReads credentialsCursor rule

archon-skills / rules

abxn4r/archon-skills/.cursor/rules/saltzer.mdc

ALWAYS invoke when the user mentions Saltzer (e.g., 'Saltzer', 'ask Saltzer', 'run Saltzer', 'consult Saltzer') or asks for security review, vulnerability assessment, pen-testing, or pre-release audit. Principal Application

157d agoReviewMountCreate a free account to mount
Zulut30Cursor rule

dart-mobile-game-studio / agents

Zulut30/dart-mobile-game-studio/.cursor/rules/agents/code-reviewer.mdc

Code reviewer for Flutter/Dart mobile game changes. Use to review a diff/PR for bugs, style, and architectural violations against the skill's rules and the Dart quality bar. Read-only — reports findings, does not edit. Call last, after implementation and tests.

15mo agoReviewMountCreate a free account to mount
ujjwal502Cursor rule

debugduck / rules

ujjwal502/debugduck/.cursor/rules/debug.mdc

Systematic root-cause debugging. Use whenever something is broken, failing, flaky, slow, crashing, or behaving unexpectedly — bug reports, stack traces, failing or flaky tests, regressions, hangs, memory leaks, wrong output, CI-only failures, "works on my machine".

44mo agoReviewMountCreate a free account to mount
Surya8991Reads credentialsCursor rule

AgentMaster / rules

Surya8991/AgentMaster/.cursor/rules/security-audit.mdc

Security auditing skill for web applications and codebases. Scans for OWASP Top 10, dependency vulnerabilities, secrets exposure, XSS/CSRF/injection flaws, auth weaknesses, and misconfigurations. Use when task involves security scan, vulnerability assessment, pen test review, threat modeling, or hardening a codebase.

23mo agoReviewMountCreate a free account to mount
RagnarPitlaCursor rule

microsoft-agent-skills-private-archive / rules

RagnarPitla/microsoft-agent-skills-private-archive/.cursor/rules/copilot-studio-production-patterns.mdc

The patterns that separate a Copilot Studio agent that demos well from one that survives production. Use when an agent is being designed for or promoted to production, when an agent works in test but fails with real users, when calls to slow backend systems time out, when context is lost across a multi-agent handoff, or when preparing a production readiness review.

33mo 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.