agentleFS

Cursor rules examples

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

Best matchesWorked for most · soon
maleus-aiCursor rule

frontend-security

maleus-ai/claude-code-setup/.cursor/rules/frontend-security/RULE.md

Security guidelines for frontend code. Covers token storage, XSS prevention, authorization, and secure coding practices. CRITICAL INSTRUCTION You MUST ALWAYS use this skill before editing/writing any file matching "**/frontend/**/*.{ts,tsx}".

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

5339d agoReviewMountCreate a free account to mount
PySpur-DevCursor rule

pyspur / rules

PySpur-Dev/pyspur/.cursor/rules/frontend-api-calls.mdc

API calls in frontend

No other project uses it yet

5.8k20mo 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.

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

89mo agoReviewMountCreate a free account to mount
tomasz-tomczykCursor rule

crit / rules

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

crit — frontend architecture

Steady6 mentions in 2 weeks

No other project uses it yet

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

crit / rules

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

crit — frontend css

Steady6 mentions in 2 weeks

No other project uses it yet

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

crit / rules

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

crit — frontend js

Steady6 mentions in 2 weeks

No other project uses it yet

1.2k16d agoReviewMountCreate a free account to mount
sakaiprojectCursor rule

sakai / rules

sakaiproject/sakai/.cursor/rules/frontend.mdc

Sakai Frontend rules

Steady3 mentions in 2 weeks

No other project uses it yet

1.2k13mo agoReviewMountCreate a free account to mount
fonspCursor rule

Pluto.jl / rules

fonsp/Pluto.jl/.cursor/rules/localization.mdc

How to localize strings in the Pluto.jl frontend.

1 project uses a version of this

5.4k11mo agoReviewMountCreate a free account to mount
backstageCursor rule

backstage / tests

backstage/backstage/.cursor/rules/tests/test-utils.mdc

Enforce usage of @backstage/test-utils in frontend tests

No other project uses it yet

35k25d 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

1.5k13mo 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)

17k6mo agoReviewMountCreate a free account to mount
helixmlCursor rule

helix / rules

helixml/helix/.cursor/rules/frontend-structure.mdc

Frontend frameworks, file structure

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

5339d agoReviewMountCreate a free account to mount
MCSManagerCursor rule

MCSManager / rules

MCSManager/MCSManager/.cursor/rules/frontend-vue-component-standards.mdc

Frontend (Vue 3) development conventions

No other project uses it yet

5k24d 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.

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

17k6mo agoReviewMountCreate a free account to mount
trycompaiCursor rule

comp / rules

trycompai/comp/.cursor/rules/trigger.realtime.mdc

How to use realtime in your Trigger.dev tasks and your frontend

No other project uses it yet

2k5mo 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.

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