agentleFS

Cursor rules examples

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

Best matchesWorked for most · soon
lucamezzaliraCursor rule

mfe-skills / rules

lucamezzalira/mfe-skills/.cursor/rules/mfe-architecture.mdc

Provides micro-frontend architecture vocabulary, principles, and decisions framework grounded in Building Micro-Frontends (O'Reilly). Use when a user asks "should we use micro-frontends?", "how do I split my frontend into MFEs?", "what is a micro-frontend?", "help me define MFE boundaries", "should I use horizontal or vertical split?", "how do micro-frontends communicate?", or "is my architecture a distributed monolith?". Requires independent deployment or multi-team scaling as the explicit context. Does not activate for single-team frontend architecture, component design, or build tooling questions with no cross-team deployment angle.

532mo agoReviewMountCreate a free account to mount
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.

532mo 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
tomasz-tomczykCursor rule

crit / rules

tomasz-tomczyk/crit/.cursor/rules/frontend-architecture.mdc

crit — frontend architecture

No other project uses it yet

1.2k2mo agoReviewMountCreate a free account to mount
tomasz-tomczykCursor rule

crit / rules

tomasz-tomczyk/crit/.cursor/rules/frontend-css.mdc

crit — frontend css

No other project uses it yet

1.2k2mo agoReviewMountCreate a free account to mount
tomasz-tomczykCursor rule

crit / rules

tomasz-tomczyk/crit/.cursor/rules/frontend-js.mdc

crit — frontend js

No other project uses it yet

1.2k2mo agoReviewMountCreate a free account to mount
Open-Source-LegalCursor rule

OpenContracts / rules

Open-Source-Legal/OpenContracts/.cursor/rules/running-frontend-tests.mdc

How to run frontend component tests

No other project uses it yet

1.5k14mo agoReviewMountCreate a free account to mount
MicrosoftCursor rule

data-formulator / rules

microsoft/data-formulator/.cursor/rules/frontend-test-conventions.mdc

Frontend TypeScript test conventions (Vitest)

18k7mo agoReviewMountCreate a free account to mount
lucamezzaliraCursor rule

mfe-skills / rules

lucamezzalira/mfe-skills/.cursor/rules/mfe-architecture-decisions.mdc

Micro-frontend architecture: Micro-frontends decisions framework. Load when this topic is in scope; part of mfe-skills.

532mo agoReviewMountCreate a free account to mount
lucamezzaliraCursor rule

mfe-skills / rules

lucamezzalira/mfe-skills/.cursor/rules/mfe-architecture-canvas-pointer.mdc

Micro-frontend architecture: Micro-Frontend Canvas — external skill. Load when this topic is in scope; part of mfe-skills.

532mo agoReviewMountCreate a free account to mount
MicrosoftCursor rule

data-formulator / rules

microsoft/data-formulator/.cursor/rules/unified-error-protocol.mdc

Unified error handling protocol for backend and frontend

18k7mo agoReviewMountCreate a free account to mount
edhoferdianCursor rule

EEF / rules

edhoferdian/EEF/.cursor/rules/frontend-engineering-edho-ferdian.mdc

Authoring and configuration guidance for building React/Next.js frontend applications well from the start — component composition, UX/interaction recipes, Vite config, HeroUI setup, and AI-slop detection (see the Reference files table below for the full breakdown). A companion to language-code-review-edho-ferdian (which reviews code after it's written) — use this when DESIGNING or WRITING new frontend code, not when reviewing existing code. Trigger phrases: \"bagaimana cara structure component ini\", \"best practice React untuk X\", \"setup Vite untuk Y\", \"biar UI-nya gak keliatan AI banget\", \"kok hasil desainnya generic/template banget\", or when starting a new frontend feature.

212mo agoReviewMountCreate a free account to mount
wangqiqiCursor rule

cursor-ai / tech

wangqiqi/cursor-ai/.cursor/rules/tech/react.mdc

React frontend SOP

32mo agoReviewMountCreate a free account to mount
wangqiqiCursor rule

cursor-ai / tech

wangqiqi/cursor-ai/.cursor/rules/tech/vue.mdc

Vue frontend SOP

32mo agoReviewMountCreate a free account to mount
PostHogCursor rule

posthog / rules

PostHog/posthog/.cursor/rules/react-typescript.mdc

Rules for writing frontend code at PostHog (mostly React + Typescript with Kea)

1 project uses a version of this

40k56d agoReviewMountCreate a free account to mount
neoshopcnCursor rule

neo-admin / rules

neoshopcn/neo-admin/.cursor/rules/20-frontend.mdc

Vue3 + Element Plus frontend rules

125mo agoReviewMountCreate a free account to mount
okandemirelCursor rule

Strada.Brain / rules

okandemirel/Strada.Brain/.cursor/rules/web-portal.mdc

Rules for the React + Vite web portal frontend

258mo agoReviewMountCreate a free account to mount
NVIDIACursor rule

auto-ontology / rules

NVIDIA/auto-ontology/.cursor/rules/frontend-formatting.md

Enforce Prettier formatting on frontend file edits

92mo agoReviewMountCreate a free account to mount
bybren-llcCursor rule

safe-agentic-workflow / rules

bybren-llc/safe-agentic-workflow/.cursor/rules/11-frontend-react.mdc

Frontend development rules for React 18, Electron, ShadCN UI, and Tailwind CSS.

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