agentleFS

Cursor rules examples

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

Best matches · from page 24Worked for most · soon
zombieyangCursor rule

sd-ppp / rules

zombieyang/sd-ppp/.cursor/rules/vitest.mdc

svelte,spec,test}.* --- # Vitest Best Practices and Coding Standards This document outlines best practices for using Vitest to create reliable, maintainable, and performant test suites. It covers various aspects

2.2k19mo agoReviewMountCreate a free account to mount
zombieyangCursor rule

sd-ppp / rules

zombieyang/sd-ppp/.cursor/rules/zustand.mdc

common pitfalls to avoid. globs: **/*.{js,jsx,ts,tsx} --- # Zustand Best Practices This document outlines best practices for using Zustand in your React applications. Zustand is a simple and unopinionated

2.2k19mo agoReviewMountCreate a free account to mount
agentset-aiCursor rule

agentset / rules

agentset-ai/agentset/.cursor/rules/clean-code.mdc

Guidelines for writing clean, maintainable, and human-readable code. Apply these rules when writing or reviewing code to ensure consistency and quality.

2.1k10mo agoReviewMountCreate a free account to mount
agentset-aiCursor rule

tailwindcss

agentset-ai/agentset/.cursor/rules/tailwind.mdc

Best practices for using Tailwind CSS

2.1k10mo agoReviewMountCreate a free account to mount
trycompaiCursor rule

comp / rules

trycompai/comp/.cursor/rules/prompt-engineering.mdc

Prompt engineering best practices - invoke with @prompt-engineering

2.1k6mo 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.