agentleFS
Sign inSign up

Cursor rules examples

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

Best matches · from page 3Worked for most · soon
louisbrulenaudetCursor rule

monorepo-template / frontend

louisbrulenaudet/monorepo-template/.cursor/rules/frontend/react.mdc

React 19 SPA invariants - client-only, no fetch in useEffect, Compiler memo policy

196d agoDiscuss
VirtusLab-Open-SourceCursor rule

astro-strapi-starter / rules

VirtusLab-Open-Source/astro-strapi-starter/.cursor/rules/tailwind-shadcn.mdc

Tailwind CSS 4 + shadcn-style UI — global.css, components.json, cn(), Astro + React

212mo agoDiscuss
agent-anatomyCursor rule

cursor / rules

agent-anatomy/cursor/.cursor/rules/react-components.mdc

React component conventions — auto-applied to TSX files

05mo agoDiscuss
PierreTsiaCursor rule

workout-app / rules

PierreTsia/workout-app/.cursor/rules/prefer-shadcn-components.mdc

Prefer shadcn/ui components over raw HTML elements in React components

037d agoDiscuss
ashish7802Cursor rule

awesome-agent-skills / rules

ashish7802/awesome-agent-skills/.cursor/rules/nextjs-15-approuter.mdc

Enforces React Server Component boundaries, server actions, and layout streaming.

120d agoDiscuss
mondaycomCursor rule

vibe / rules

mondaycom/vibe/.cursor/rules/component-internal-structure.mdc

This rule defines conventions for the internal structure of React components within the `@vibe/core` library (located in "packages/core" directory). Adhering to these conventions ensures consistency, readability, and maintainability across the codebase.

6787mo agoDiscuss
sordi-aiCursor rule

skill-everything / rules

sordi-ai/skill-everything/.cursor/rules/react.mdc

Apply when writing React components. Hook discipline, state placement, performance, async cleanup, and list keys.

205mo agoDiscuss
StormixCursor rule

transcripts-mcp / rules

Stormix/transcripts-mcp/.cursor/rules/030-coding-style.mdc

Coding Style: Guidelines for code formatting, naming conventions, and best practices across TypeScript and React

827d agoDiscuss
agent-kit-startupCursor rule

agent-kit / rules

agent-kit-startup/agent-kit/.cursor/rules/cursor-skills-webdesign.mdc

CURSOR-SKILLS rules for Web (HTML, CSS, JS, React, Vue, Angular). A11y, BEM, responsive.

2010d agoDiscuss
LuxvilCursor rule

ai-coding-rules / rules

Luxvil/ai-coding-rules/.cursor/rules/67-stack-nextjs15.mdc

USE WHEN: working with Next.js 15 App Router, React Server Components, or Server Actions.

38mo agoDiscuss
madebyarisCursor rule

advance-minimax-m3-cursor-rules / rules

madebyaris/advance-minimax-m3-cursor-rules/.cursor/rules/mobile-cross-platform.mdc

Cross-platform mobile: Flutter, React Native, Expo. Load when editing mobile manifests, platform folders, or shared mobile architecture — not for everyday app logic.

1254mo agoDiscuss
danielvm-gitCursor rule

bigpowers / rules

danielvm-git/bigpowers/.cursor/rules/context7-mcp.mdc

Fetch current library docs via Context7 MCP instead of training data. Use when user asks about frameworks, APIs, setup, or code examples for React, Next.js, Prisma, etc.

24032d agoDiscuss
mondaycomCursor rule

vibe / rules

mondaycom/vibe/.cursor/rules/naming-conventions.mdc

Defines naming conventions for files, directories, components, props, variables, types, and CSS classes within the `@vibe/core` package (located in `packages/core/`). Ensures consistency and readability across the codebase for React components and related TypeScript/SCSS files.

6787mo agoDiscuss
PhongLee1210Cursor rule

cursor-rules-craft / rules

PhongLee1210/cursor-rules-craft/.cursor/rules/react-code.rules.mdc

React code structure and best practices for organizing components with proper ordering and performance optimization

111mo agoDiscuss
madebyarisCursor rule

advance-minimax-m3-cursor-rules / rules

madebyaris/advance-minimax-m3-cursor-rules/.cursor/rules/3d-graphics.mdc

Three.js / React Three Fiber syntax: scene setup, R3F hooks, models, controls. Load for 3D code — taste, perf budgets, and mobile WebGL live in the 3d-web-experiences skill.

1254mo agoDiscuss
blncraftCursor rule

cursor-rules-starter-pack / rules

blncraft/cursor-rules-starter-pack/.cursor/rules/react.mdc

Production-tested React development rules. Functional components, TypeScript strict, TanStack Query, Tailwind.

05mo agoDiscuss
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.

88mo agoDiscuss
galyarderlabsCursor rule

galyarder-framework / rules

galyarderlabs/galyarder-framework/.cursor/rules/remotion-engineer.mdc

Remotion specialist for programmatic video generation using React. Use PROACTIVELY when the user wants to create, debug, or optimize Remotion video projects. Specializes in frame-perfect animations, physics-based motion, and FFmpeg rendering optimization.

223mo agoDiscuss
alonsariasCursor rule

agent-rules / rules

alonsarias/agent-rules/.cursor/rules/react-advanced-patterns.mdc

Advanced React patterns for refs, stable callbacks, useEffectEvent, and application initialization. Use when dealing with event handler refs, stable callback references, subscription management, effect dependencies, or one-time app initialization.

48mo agoDiscuss
CostumaryCursor rule

gsap-choreography / rules

Costumary/gsap-choreography/.cursor/rules/gsap-choreography.mdc

Use when building multi-scene GSAP animations for product demos, hero walkthroughs, or scripted UI sequences in React. Covers timeline architecture, cursor choreography, scene transitions, click systems, typed text, and animation coordination across components.

95mo agoDiscuss
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.