agentleFS

Cursor rules examples

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

Best matches · from page 4Worked for most · soon
JustineDevsDeletes or force-pushesCursor rule

Collection / rules

JustineDevs/Collection/.cursor/rules/production.mdc

The standard way for production teams to connect frontend and backend branches and ensure integration before merging to main is to use temporary integration or "test" branches for local verification, automated testing, and code review.

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

7194d agoReviewMountCreate a free account to mount
Surya8991Cursor rule

AgentMaster / rules

Surya8991/AgentMaster/.cursor/rules/repomix-pack.mdc

Packs the entire codebase (or selected folders) into a single token-efficient file using repomix, so other skills can analyze the whole repo without re-reading individual files. Use when the task requires whole-codebase context: full security audits, cross-cutting refactors, architecture review, project-wide code review, or first-time onboarding to an unfamiliar repo. Auto-runs once per session at first invocation of agent-master.

228d agoReviewMountCreate a free account to mount
AmrobillionsCursor rule

cursor-solo-dev-template / rules

Amrobillions/cursor-solo-dev-template/.cursor/rules/01-code-style.mdc

Code style. Apply when writing or reviewing any code file.

09mo agoReviewMountCreate a free account to mount
andr-caCursor rule

agentharness / rules

andr-ca/agentharness/.cursor/rules/code-review-api.mdc

Use when reviewing REST or HTTP API endpoints, controllers, or route handlers. Covers HTTP status codes, idempotency, versioning, auth, pagination, error shapes, and rate limiting. Load instead of the general code-review skill for API-focused reviews.

13mo agoReviewMountCreate a free account to mount
andr-caCursor rule

agentharness / rules

andr-ca/agentharness/.cursor/rules/dependency-injection.mdc

Use when writing or reviewing code with object graphs, service dependencies, or testability concerns. Covers constructor injection, DI containers, lifetimes, and anti-patterns (service locator, ambient context, over-injection).

13mo agoReviewMountCreate a free account to mount
Y0lanCursor rule

laws-of-software-engineering / rules

Y0lan/laws-of-software-engineering/.cursor/rules/laws-of-software-engineering.mdc

56 laws and principles of software engineering (Conway, Brooks, Hyrum, Gall, Postel, CAP, YAGNI, DRY, SOLID, Pareto, Amdahl, Murphy, and more). Use when designing architecture, planning projects, debating scope, reviewing code, running postmortems, or making engineering decisions where an established principle applies.

97mo agoReviewMountCreate a free account to mount
edhoferdianReads credentialsCursor rule

EEF / rules

edhoferdian/EEF/.cursor/rules/security-review-edho-ferdian.mdc

The single source of security review criteria: OWASP-style checklist (SEC-01..19) plus stack- and domain-specific items, standalone, as code-review's security depth, or a lean full-repo audit before production. Use for \"cek keamanan kode ini\", \"security audit\", \"find vulnerabilities\", \"aman gak ini\", \"is it safe to ship security-wise\", \"audit menyeluruh sebelum production\".

2211d 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
nosy-hqCursor rule

nosy / rules

nosy-hq/nosy/.cursor/rules/nosy.mdc

Nosy — the nosy product manager that lives inside your coding agent. Apply for product-decision requests like "what can we build next", "can we do this", "what shipped this week", "what's ready in the backend", "what did rivals do", "roadmap", "write a PRD". Do NOT use for code review (bugs, style, quality).

22mo agoReviewMountCreate a free account to mount
edhoferdianCursor rule

EEF / rules

edhoferdian/EEF/.cursor/rules/ask-eef.mdc

Entry point to the EEF skills: reads the request and the project, then loads the right skill or sequence (dev-kickoff, design-engineering, build-fix, code-review...). Use at the start of a task when no skill is obviously right, or for \"ask-eef\", \"pakai skill apa\", \"mulai dari mana\", \"bantu kerjakan ini\", \"aku mau bikin\", \"gimana caranya\".

2211d agoReviewMountCreate a free account to mount
edhoferdianCursor rule

EEF / rules

edhoferdian/EEF/.cursor/rules/code-review-edho-ferdian.mdc

Senior code review across quality, security, performance, spec consistency and tests, with evidence-backed, severity-ranked findings. Load it for any review, even a short snippet or a quick \"is this OK?\". Use for \"review this\", \"cek kode\", \"cek dulu sebelum merge\", \"ada yang salah gak\", \"review PR\", \"find bugs\". Security-only asks go to security-review.

2211d agoReviewMountCreate a free account to mount
Fadi88Cursor rule

one-man-startup / rules

Fadi88/one-man-startup/.cursor/rules/agent-reviewer.mdc

An independent second reader for both documents and code - reviews specs, designs, contracts and tickets for gaps and contradictions before they are handed on, and every developer diff for correctness, simplicity and fit to its ticket before it goes to QA. Writes findings and never changes what it reviews, and suggests adding agents to the team when the project or its requirements have grown past the team setup chose. Use on every spec, design and diff before the next hand-off.

1631d agoReviewMountCreate a free account to mount
encoreshaoCursor rule

encore-skills / rules

encoreshao/encore-skills/.cursor/rules/eng-workflow.mdc

Full GitLab development loop — from issue to confirmed-resolved. Covers write-issue, analyze-issue, fix-issue, review-code, create-mr, summarize-issue, triage-issue, and post-merge verification.

214d agoReviewMountCreate a free account to mount
andr-caReads credentialsCursor rule

agentharness / rules

andr-ca/agentharness/.cursor/rules/security-review.mdc

Use when reviewing code for security vulnerabilities, performing a security audit, or checking for OWASP Top 10 issues — covers injection flaws, broken access control, cryptographic failures, secrets exposure, dependency vulnerabilities, and language-specific pitfalls for Python, TypeScript/JavaScript, and Go.

13mo agoReviewMountCreate a free account to mount
Zulut30Cursor rule

dart-mobile-game-studio / agents

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

Whole-codebase code auditor for Flutter/Dart mobile games (iOS + Android). Use to audit the ENTIRE project (not just a diff) for correctness, architecture conformance, consistency, dead code, and test coverage. Complements code-reviewer (which reviews a single diff/PR). Read-only — reports findings.

15mo agoReviewMountCreate a free account to mount
Zulut30Cursor rule

dart-mobile-game-studio / agents

Zulut30/dart-mobile-game-studio/.cursor/rules/agents/gameplay-programmer.mdc

Gameplay programmer for Flutter/Dart mobile games (iOS + Android). Use to implement game systems, player abilities, interaction/collision logic, input/gesture handling, and UI flow in Dart/Flutter/Flame. Call after engine-architect; runs dart analyze/test; hands off to qa-tester and code-reviewer.

15mo agoReviewMountCreate a free account to mount
forrestchangCursor rule

andrej-karpathy-skills / rules

forrestchang/andrej-karpathy-skills/.cursor/rules/karpathy-guidelines.mdc

Behavioral guidelines to reduce common LLM coding mistakes. Use when writing, reviewing, or refactoring code to avoid overcomplication, make surgical changes, surface assumptions, and define verifiable success criteria.

11 projects use a version of this

217k8mo agoReviewMountCreate a free account to mount
contextmuxCursor rule

contextmux / rules

contextmux/contextmux/.cursor/rules/skill-ponytail-review.mdc

Code review focused exclusively on over-engineering. Finds what to delete: reinvented standard library, unneeded dependencies, speculative abstractions, dead flexibility. One line per finding: location, what to cut, what replaces it. Use when the user says "review for over-engineering", "what can we delete", "is this over-engineered", "simplify review", or invokes /ponytail-review. Complements correctness-focused review, this one only hunts complexity.

13mo agoReviewMountCreate a free account to mount
first-flukeCursor rule

fullstack-starter / rules

first-fluke/fullstack-starter/.cursor/rules/quality.mdc

Quality assurance standards for security (OWASP), performance, accessibility (WCAG), and code quality reviews

22657d 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.