agentleFS

Cursor rules examples

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

Best matches · from page 6Worked for most · soon
oaknationalCursor rule

oak-open-curriculum-ecosystem / rules

oaknational/oak-open-curriculum-ecosystem/.cursor/rules/bot-identity-on-third-party-systems.mdc

Bot identity on third-party systems. Owner ruling — wherever a bot identity exists to represent us (on GitHub, the bot the clone's merge-bot config names; a Linear agent actor; ...), every agent WRITE on that system MUST use it: PR creation, PR and issue comments, standalone inline review comments and replies, merges, thread resolutions, label and state edits. Commits and pushes follow the estate's identity contract, which a tracked host surface records (the lane set-up skill's identity step). The rule's action map (owner ruling 2026-08-17) carries the only exceptions, exhaustively: in a detected ChatGPT Work cloud, the configured default credential for the task's delivery writes; a pull-request review submitted through the reviews endpoint or the GraphQL review mutations — APPROVE, REQUEST_CHANGES or COMMENT state, including its body and any inline comments in the same call — under the operator's own credential, because only a human credential discharges a code-owner review gate; and a Copilot review request under the operator's credential where the host's merge-bot reference records that the bot's request does not register. Every other fallback to owner credentials without user-instigated permission is never permitted; a bot capability gap is a blocker to surface, never a licence.

107mo agoReviewMountCreate a free account to mount
contextmuxCursor rule

contextmux / rules

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

Forces the laziest solution that actually works, simplest, shortest, most minimal. Channels a senior dev who has seen everything: question whether the task needs to exist at all (YAGNI), reach for the standard library before custom code, native platform features before dependencies, one line before fifty. Supports intensity levels: lite, full (default), ultra. Use on ANY coding task: writing, adding, refactoring, fixing, reviewing, or designing code, and choosing libraries or dependencies. Also use whenever the user says "ponytail", "be lazy", "lazy mode", "simplest solution", "minimal solution", "yagni", "do less", or "shortest path", or complains about over-engineering, bloat, boilerplate, or unnecessary dependencies. Do NOT use for non-coding requests (general knowledge, prose, translation, summaries, recipes).

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

agentharness / rules

andr-ca/agentharness/.cursor/rules/big-work-plan-review.mdc

Use before implementing big work — new systems, pipelines, daemons, or anything stateful/concurrent — where a bug would be expensive to find after code exists. Requires a written implementation plan to pass multi-round adversarial review by two independent LLM reviewers before any code is written. Not for scoped bug fixes or single-file changes; see requirements-clarification for those.

13mo agoReviewMountCreate a free account to mount
Vladimir-BrCursor rule

swiftui-project-template / rules

Vladimir-Br/swiftui-project-template/.cursor/rules/30-ai-marker.mdc

Convention for marking AI-generated code for later human review

07mo agoReviewMountCreate a free account to mount
murphycheng-24Cursor rule

coding-guidelines / rules

murphycheng-24/coding-guidelines/.cursor/rules/engineering-discipline.mdc

Enhanced version of Andrej Karpathy's 4 behavioral guidelines for LLM coding, expanded to 10 engineering discipline rules. Use when writing, reviewing, refactoring, or debugging code to reduce overcomplication, make surgical changes, surface assumptions, and verify outcomes.

15mo agoReviewMountCreate a free account to mount
galyarderlabsReads credentialsCursor rule

galyarder-framework / rules

galyarderlabs/galyarder-framework/.cursor/rules/pr-review-expert.mdc

Use when the user asks to review pull requests, analyze code changes, check for security issues in PRs, or assess code quality of diffs.

225mo agoReviewMountCreate a free account to mount
galyarderlabsCursor rule

galyarder-framework / rules

galyarderlabs/galyarder-framework/.cursor/rules/vercel-react-best-practices.mdc

React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.

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

agentharness / rules

andr-ca/agentharness/.cursor/rules/go-conventions.mdc

Use when writing, reviewing, or refactoring Go code — naming conventions, receiver naming, error wrapping, interface design, goroutine safety, and common pitfalls (goroutine leaks, defer-in-loop, nil map writes).

13mo agoReviewMountCreate a free account to mount
VoTruongDanhCursor rule

Skills-Agent / rules

VoTruongDanh/Skills-Agent/.cursor/rules/enhance.mdc

Improve existing code — refactor, optimize performance, tighten security, or enhance UX. Use when the user wants to make code better without changing its purpose. Triggers: enhance, improve, refactor, optimize, review, cải thiện, tối ưu, nhanh hơn, code dài quá.

42mo agoReviewMountCreate a free account to mount
oaknationalCursor rule

oak-open-curriculum-ecosystem / rules

oaknational/oak-open-curriculum-ecosystem/.cursor/rules/pre-execution-code-expert-review-per-loop-cycle.mdc

Every /loop cycle: dispatch code-expert twice — pre-execution, before the implementer fan-out (per-site FIX/FALSE_POSITIVE/DEFER/SPLIT dispositions or scope feedback the fan-out brief absorbs), and post-execution as the gateway before commit. Plan names the reviewer set: fan-from-brief, specialists parallel from cycle-open. Set unknown: fan-from-verdict, code-expert routes first. Not for edits outside /loop cadence — invoke-code-experts covers those. Failure shapes: fanning out implementers with no returned pre-execution review; serialising a named-set cycle through code-expert as router.

107mo agoReviewMountCreate a free account to mount
CultureDigitaliCursor rule

gigiloop / rules

CultureDigitali/gigiloop/.cursor/rules/gigiloop.mdc

Verification-first autonomous coding loop with resumable state, adversarial review, and local CI fallback

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

agentharness / rules

andr-ca/agentharness/.cursor/rules/typescript-conventions.mdc

Use when writing, reviewing, or refactoring TypeScript or JavaScript code — naming conventions, type annotations, private fields, null vs. undefined, async/await pitfalls, and module structure.

13mo agoReviewMountCreate a free account to mount
formhaus-devCursor rule

formhaus / rules

formhaus-dev/formhaus/.cursor/rules/formhaus.mdc

Formhaus form definitions. Use when creating, editing or reviewing a Formhaus JSON form definition, or code that passes one to FormEngine or FormRenderer.

852d agoReviewMountCreate a free account to mount
andr-caCursor rule

agentharness / rules

andr-ca/agentharness/.cursor/rules/react-best-practices.mdc

Use when writing, reviewing, or optimizing React or Next.js code — component architecture, hooks rules, server vs. client components, data fetching patterns, bundle size, and accessibility in React.

13mo agoReviewMountCreate a free account to mount
andr-caReads credentialsCursor rule

agentharness / rules

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

Use when reviewing a diff, pull request, or code change — systematic checklist for correctness, clarity, security, testability, and adherence to the project's conventions. Covers what to look for, how to give actionable feedback, and when to approve vs. request changes.

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

skill-everything / rules

sordi-ai/skill-everything/.cursor/rules/code-quality.mdc

Apply when writing or refactoring code. Generic rules to prevent the most common review comments — function length, naming, error handling, security, and tooling.

207mo agoReviewMountCreate a free account to mount
madebyarisCursor rule

advance-minimax-m3-cursor-rules / rules

madebyaris/advance-minimax-m3-cursor-rules/.cursor/rules/language-agnostic-patterns.mdc

Language-agnostic programming patterns: SOLID, design patterns, clean code, and architecture. Load when refactoring, designing abstractions, or reviewing structure — not for everyday syntax.

1256mo agoReviewMountCreate a free account to mount
oaknationalCursor rule

oak-open-curriculum-ecosystem / rules

oaknational/oak-open-curriculum-ecosystem/.cursor/rules/third-party-skills-require-security-review.mdc

Adopting a third-party skill, pack, or plugin — a pnpx skills install, vendoring, plugin install, or a pin bump: review the executable surface (hooks, scripts, install-time code, session-start injectors) before landing — record what runs, when, with what reach, and the reviewed source SHA; markdown-only payloads record the zero-executables determination. Prefer file-level content to auto-run plugin installs; pin bumps re-fire the gate. Not for repo-authored skills. Failure shape: installing a pack whose session-start hook injects into every session while its SSRF findings sit open.

107mo agoReviewMountCreate a free account to mount
MANVENDRA-githubCursor rule

supply-chain-security

MANVENDRA-github/agentry/.cursor/rules/supply-chain-security.mdc

Dependency and supply-chain threat discipline — pin and lock, audit for advisories, vet a new dependency before adding it, and treat install scripts and typosquats as attack surface. Invoke before adding or upgrading a dependency, or when hardening a project's build against a compromised package. Complements the security-review skill, which covers your own code's threat model.

Often used withjs-reversepentest-toolsmobile-reverse

05mo agoReviewMountCreate a free account to mount
oaknationalCursor rule

oak-open-curriculum-ecosystem / rules

oaknational/oak-open-curriculum-ecosystem/.cursor/rules/invoke-code-experts.mdc

After non-trivial changes, invoke code-expert as the gateway and the specialist reviewers the change profile names; the roster table maps what changed to the reviewer, and the host's executive catalogue adds its domain reviewers and path triggers.

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