agentleFS

Cursor rules examples

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

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

mfe-skills / rules

lucamezzalira/mfe-skills/.cursor/rules/mfe-boundary-review.mdc

Reviews and generates micro-frontend code against eight boundary rules from Building Micro-Frontends (O'Reilly), plus governance extensions for feature-flag scope, edge strategy, SSR ownership, and boundary fitness functions. Use when a user says "review my shell code", "is this a boundary violation?", "generate a Module Federation shell", "how do I mount this MFE?", "review my micro-frontend architecture", "set up event communication between MFEs", "create a new micro-frontend", "how should we use edge with MFEs?", "where should feature flags live?", or "how do I enforce boundaries in a monorepo?". Loads automatically when the user pastes shell integration code, Module Federation config, Single SPA registration, or Native Federation routes. Does not activate for component-level code within a single deployed unit, or for generic React, Vue, or Angular questions with no cross-team deployment angle.

5340d agoReviewMountCreate a free account to mount
Dowon-Kim7949Cursor rule

llm-wiki-governance / rules

Dowon-Kim7949/llm-wiki-governance/.cursor/rules/llm-wiki-docs-sync.mdc

Sync LLM-WIKI docs with recent code changes (needs_review).

054d agoReviewMountCreate a free account to mount
sakurablushCursor rule

zeroagent-studio / rules

sakurablush/zeroagent-studio/.cursor/rules/zeroagent-reviewer.mdc

Code and architecture review for ZeroAgent Studio. Use for PR feedback or quality assessment — do not implement fixes unless asked.

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

1255mo agoReviewMountCreate a free account to mount
btseeeCursor rule

clean-code-skills / rules

btseee/clean-code-skills/.cursor/rules/clean-code.mdc

Apply language-agnostic clean-code discipline to all code writing, editing, reviewing, testing, and refactoring, including file placement, single responsibility, and verified completion.

1237d 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).

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

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

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

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

224mo agoReviewMountCreate a free account to mount
JosefGisisCursor rule

skills / rules

JosefGisis/skills/.cursor/rules/implementation.mdc

Corrects recurring implementation habits — verbosity, premature abstraction, unsafe types, dependency tangles, and scope creep. Apply whenever writing, modifying, reviewing, or refactoring code (features, bugs, utilities, or small targeted changes). Not a design-pattern encyclopedia; a targeted correction set that takes precedence over default coding instincts when they conflict.

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

224mo 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).

12mo 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á.

433d 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

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

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

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

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

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

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