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}".

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

532mo agoReviewMountCreate a free account to mount
MN-Lizard-TeamCursor rule

aiyu-multi-agent / agents

MN-Lizard-Team/aiyu-multi-agent/.cursor/rules/agents/frontend-orchestrator.mdc

Frontend-focused orchestrator that coordinates frontend-specialist, react-developer, angular-developer, nextjs-developer, html5-css-developer, accessibility-specialist, and performance-optimizer for UI development, component design, and user-facing features. Use when building UI features, redesigning interfaces, or optimizing frontend performance. Triggers on frontend orchestrate, UI orchestration, component orchestration, design system, frontend pipeline, user interface orchestration.

87mo 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.8k21mo 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

Steady9 mentions in 2 weeks

No other project uses it yet

1.4k6d agoReviewMountCreate a free account to mount
tomasz-tomczykCursor rule

crit / rules

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

crit — frontend css

Steady9 mentions in 2 weeks

No other project uses it yet

1.4k6d agoReviewMountCreate a free account to mount
tomasz-tomczykCursor rule

crit / rules

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

crit — frontend js

Steady9 mentions in 2 weeks

No other project uses it yet

1.4k6d agoReviewMountCreate a free account to mount
sakaiprojectCursor rule

sakai / rules

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

Sakai Frontend rules

1.2k14mo 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.4k12mo agoReviewMountCreate a free account to mount
novuhqReads credentialsCursor rule

novu / rules

novuhq/novu/.cursor/rules/dashboard.mdc

Rules for working in the Dashboard (React frontend)

Steady6 mentions in 2 weeks

No other project uses it yet

40k5d 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.6k3d 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)

17k7mo agoReviewMountCreate a free account to mount
MN-Lizard-TeamCursor rule

aiyu-multi-agent / agents

MN-Lizard-Team/aiyu-multi-agent/.cursor/rules/agents/fullstack-developer.mdc

Full-stack developer who works across frontend and backend. Builds complete features end-to-end, from database to UI. Use when a task requires both frontend and backend changes, or when you need someone who understands the entire stack. Triggers on fullstack, end-to-end, full feature, database to UI, both frontend and backend, complete implementation.

87mo agoReviewMountCreate a free account to mount
helixmlCursor rule

helix / rules

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

Frontend frameworks, file structure

8347mo 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
MCSManagerCursor rule

MCSManager / rules

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

Frontend (Vue 3) development conventions

No other project uses it yet

5k39d 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

17k7mo 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.