agentleFS

Cursor rules examples

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

Best matches · from page 5Worked for most · soon
wchen02Cursor rule

cursor-agent-learning / rules

wchen02/cursor-agent-learning/.cursor/rules/human-in-the-loop.mdc

When and how to use human-in-the-loop (HITL) in agent workflows; apply before merge, deploy, release, or applying security fixes.

39mo agoReviewMountCreate a free account to mount
encoreshaoCursor rule

encore-skills / rules

encoreshao/encore-skills/.cursor/rules/review-code.mdc

Pre-MR self-review — first confirm the problem is actually solved, then check for security, correctness, and simplicity

24mo agoReviewMountCreate a free account to mount
rustic-aiCursor rule

codeprism / rules

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

Enterprise-grade patterns for production systems including security, complex architecture, and deployment. Use this for high-stakes applications requiring authentication, comprehensive testing, and production deployment.

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

ClaudE2E / agents

michele-prandina/ClaudE2E/.cursor/rules/agents/head-of-engineering.mdc

Head of Engineering persona — architecture decisions, technical feasibility, stack governance. Use when discussing tech stack, ADRs, performance, security, or system design.

810mo agoReviewMountCreate a free account to mount
sordi-aiCursor rule

skill-everything / rules

sordi-ai/skill-everything/.cursor/rules/docker.mdc

Apply when writing or reviewing Dockerfiles, docker compose files, or container build pipelines. Covers layer caching, multi-stage builds, security hardening, and compose conventions.

207mo agoReviewMountCreate a free account to mount
raye-dengCursor rule

open-code-review / rules

raye-deng/open-code-review/.cursor/rules/open-code-review.mdc

Open Code Review - AI code quality gate for detecting hallucinated packages, stale APIs, context breaks, security anti-patterns, and over-engineering in AI-generated code.

409mo agoReviewMountCreate a free account to mount
RatimonReads credentialsCursor rule

openquok-monorepo / rules

Ratimon/openquok-monorepo/.cursor/rules/security-guidelines.mdc

Security — no service client in client code, no SUPABASE_SECRET_KEY on client, RLS, correct Supabase client per context, rate limit config, SSR state rules (no authenticationRepository in server load, ssr = false for protected routes)

7956d agoReviewMountCreate a free account to mount
KangaKodeCursor rule

universal-agent-bootstrap / rules

KangaKode/universal-agent-bootstrap/.cursor/rules/code-reviewer.mdc

Code review quality gate — enforces architecture, code quality, and security conventions. Use proactively after any code change.

07mo agoReviewMountCreate a free account to mount
KangaKodeReads credentialsCursor rule

universal-agent-bootstrap / rules

KangaKode/universal-agent-bootstrap/.cursor/rules/red-team.mdc

Adversarial security gate — blocks commits with secrets, injection vulnerabilities, SSRF, and authorization failures. Run before every commit.

07mo agoReviewMountCreate a free account to mount
afaraha8403Cursor rule

balakit / rules

afaraha8403/balakit/.cursor/rules/seo-ai-search.mdc

Universal guidelines for SEO and AI-search implementation — meta tags, JSON-LD, llms.txt, crawlability, and adversarial security.

12mo agoReviewMountCreate a free account to mount
Surya8991Cursor rule

AgentMaster / rules

Surya8991/AgentMaster/.cursor/rules/codereview.mdc

Blunt, factual code review. No sugar coating. Finds bugs, security issues, performance problems, and architecture flaws. Use when user says /codereview or asks to review code.

23mo agoReviewMountCreate a free account to mount
anmolnagpalReads credentialsCursor rule

devops-skills / rules

anmolnagpal/devops-skills/.cursor/rules/github-actions.mdc

GitHub Actions workflow review, scaffolding, and security hardening. Use when user says 'review my workflow', 'check my actions', 'scaffold a workflow', 'is my CI correct', 'pin actions', 'OIDC to AWS', or when working in .github/workflows/*.yml files.

83mo agoReviewMountCreate a free account to mount
codegobrrrr9Reads credentialsCursor rule

seatbelt / rules

codegobrrrr9/seatbelt/.cursor/rules/seatbelt.mdc

seatbelt — pre-ship safety rules. Stops secrets in client code or git, tables without row security, routes without auth, open CORS, unverified webhooks.

22mo agoReviewMountCreate a free account to mount
PsylinksSecurityWebCursor rule

PsyLinks-360-Security / rules

PsylinksSecurityWeb/PsyLinks-360-Security/.cursor/rules/psylinks-360-security.mdc

Apply PsyLinks 360° Security Review when working on authentication, APIs, backend services, databases, secrets, dependencies, deployment, or AI-agent/MCP workflows.

03mo 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

156d agoReviewMountCreate a free account to mount
abxn4rCursor rule

archon-skills / rules

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

Autonomous Multi-Advisor Consensus Council orchestrating Seneca (Strategy), Dijkstra (Architecture), Saltzer (Security & Release Veto), Aperture (UI/UX), Caples (Copy), and Orwell (Growth) on high-stakes decisions, migrations, and architecture changes. Produces a unified Consensus & Disagreements Matrix.

156d agoReviewMountCreate a free account to mount
mchittineniCursor rule

cloud-platform-skills / skills

mchittineni/cloud-platform-skills/.cursor/rules/skills/secops-incident-triage-forensics.mdc

Security incident response: compromise triage, cloud instance and credential containment, forensic disk and memory capture with chain of custody, IAM session and key revocation, and SIEM correlation for threat hunting. Use when a host, container or cloud credential is suspected compromised, when a leaked access key found in a public repository has already been used, or when capturing evidence.

13mo agoReviewMountCreate a free account to mount
edhoferdianReads credentialsCursor rule

EEF / rules

edhoferdian/EEF/.cursor/rules/skill-authoring-edho-ferdian.mdc

Discipline for creating and governing this ecosystem's own skills: search before building (local → marketplace → GitHub → web, with a security vet on anything external), write to a quality bar, measure whether a skill is actually obeyed rather than assuming it, promote recurring cross-skill principles up into rules, and package a finished skill into `dist/*.skill` for manual upload. Use when the user says \"bikin skill baru\", \"ada skill buat X gak\", \"fork skill ini\", \"skill gue kepake gak sih\", \"package skill ini\", \"mau publish skill ini\", \"buatkan .skill-nya\", or before adding anything to this repo's `skills/` or `dist/`.

212mo agoReviewMountCreate a free account to mount
mchittineniCursor rule

cloud-platform-skills / skills

mchittineni/cloud-platform-skills/.cursor/rules/skills/cicd-pipeline-design.mdc

CI/CD pipeline architecture for GitHub Actions and GitLab CI: matrix testing, dependency caching, OIDC keyless cloud authentication, security gating, and concurrency control. Use when a pipeline is slow because every job reinstalls dependencies, when long-lived AWS or cloud access keys stored as CI secrets must be removed, or when building, gating and speeding up a build-test-deploy workflow.

13mo agoReviewMountCreate a free account to mount
mchittineniReads credentialsCursor rule

cloud-platform-skills / skills

mchittineni/cloud-platform-skills/.cursor/rules/skills/shift-left-security-sast-sca.mdc

Shift-left security automation: Semgrep SAST, Trivy and Snyk dependency and image scanning, Gitleaks repository scans for committed credentials, and SBOM generation in CycloneDX or SPDX format. Use when adding code, dependency or image scanning to a CI pipeline, when a scanner reports hundreds of findings that developers now ignore and gates need tuning for false positives, or when a customer or auditor asks for an SBOM produced by the build.

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