agentleFS
Sign inSign up

Cursor rules examples

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

Most stars first · from page 5Worked for most · soon
refly-aiCursor rule

refly / rules

refly-ai/refly/.cursor/rules/04-code-formatting.mdc

This document defines the code formatting standards to ensure consistency and readability. The project uses Biome for code formatting and linting, and EditorConfig for defining basic editor settings. Always run…

7.5k8mo agoDiscuss
refly-aiCursor rule

refly / rules

refly-ai/refly/.cursor/rules/05-code-organization.mdc

No summary in the file. Open it to read it.

7.5k8mo agoDiscuss
refly-aiCursor rule

refly / rules

refly-ai/refly/.cursor/rules/06-api-structure.mdc

The backend API is organized in a modular structure using NestJS. Each module contains controllers, services, and DTOs.

7.5k8mo agoDiscuss
refly-aiCursor rule

refly / rules

refly-ai/refly/.cursor/rules/09-design-system.mdc

No summary in the file. Open it to read it.

7.5k8mo agoDiscuss
refly-aiCursor rule

refly / rules

refly-ai/refly/.cursor/rules/09-i18n-guidelines.mdc

Refly supports multiple languages through its internationalization system.

7.5k8mo agoDiscuss
refly-aiCursor rule

refly / rules

refly-ai/refly/.cursor/rules/10-testing-guidelines.mdc

Refly uses various testing approaches to ensure code quality and reliability.

7.5k8mo agoDiscuss
refly-aiCursor rule

refly / rules

refly-ai/refly/.cursor/rules/11-ui-design-patterns.mdc

No summary in the file. Open it to read it.

7.5k8mo agoDiscuss
refly-aiCursor rule

refly / rules

refly-ai/refly/.cursor/rules/16-language-guidelines.mdc

No summary in the file. Open it to read it.

7.5k8mo agoDiscuss
MicrosoftCursor rule

rushstack / rules

microsoft/rushstack/.cursor/rules/rush.mdc

You are a Rush monorepo development and management expert. Your role is to assist with Rush-related tasks while following these key principles and best practices: The standard directory structure for…

6.5k16mo agoDiscuss
SentryCursor rule

XcodeBuildMCP / rules

getsentry/XcodeBuildMCP/example_projects/iOS/.cursor/rules/errors.mdc

Please don't fix any code errors unless reported by MobileBuildMCP server tool responses.

6.4k7d agoDiscuss
VercelCursor rule

streamdown / rules

vercel/streamdown/apps/website/.cursor/.cursor/rules/documentation.mdc

Documentation Writing Style Guide

5.7k14mo agoDiscuss
VercelCursor rule

streamdown / rules

vercel/streamdown/apps/website/.cursor/.cursor/rules/ultracite.mdc

Ultracite Rules - AI-Ready Formatter and Linter

5.7k14mo agoDiscuss
VercelCursor rule

streamdown / rules

vercel/streamdown/apps/website/.cursor/rules/ultracite.mdc

Ultracite Rules - AI-Ready Formatter and Linter

5.7k14mo agoDiscuss
jihe520Cursor rule

MathModelAgent / rules

jihe520/MathModelAgent/.cursor/rules/backend-rules.mdc

No summary in the file. Open it to read it.

5.4k17mo agoDiscuss
jihe520Cursor rule

MathModelAgent / rules

jihe520/MathModelAgent/.cursor/rules/frontend-rules.mdc

如需详细组件/页面开发示例,可参考 src/pages/chat/index.vue、src/components/NotebookArea.vue、src/components/ui/button/Button.vue 等文件。

5.4k17mo agoDiscuss
jihe520Cursor rule

MathModelAgent / rules

jihe520/MathModelAgent/.cursor/rules/structure.mdc

本项目采用前后端分离架构: - frontend/:前端,基于 Vue3 + TypeScript + Vite,主要负责用户界面与交互。 - backend/:后端,基于 FastAPI,负责核心建模逻辑、任务调度与 WebSocket 通信。 - docker-compose.yml:支持前后端及依赖服务的容器化部署。 如需详细 API 或组件说明,请参考 frontend-rules.mdc 与 backend-rules.mdc。

5.4k17mo agoDiscuss
jihe520Cursor rule

MathModelAgent / rules

jihe520/MathModelAgent/.cursor/rules/ws-frontend-backend-interaction.mdc

backend/app/routers/ws.py 负责处理 WebSocket 连接,路由为 /task/{task_id},用于前端与后端的实时消息通信。 该机制实现了任务级别的实时消息推送,前端需根据消息结构体进行解析和展示。

5.4k17mo agoDiscuss
Adam-CADCursor rule

CADAM / rules

Adam-CAD/CADAM/.cursor/rules/code-style.mdc

No summary in the file. Open it to read it.

5.2k13mo agoDiscuss
Adam-CADCursor rule

CADAM / rules

Adam-CAD/CADAM/.cursor/rules/database-workflow.mdc

No summary in the file. Open it to read it.

5.2k13mo agoDiscuss
Adam-CADCursor rule

CADAM / rules

Adam-CAD/CADAM/.cursor/rules/deployment-restrictions.mdc

No summary in the file. Open it to read it.

5.2k13mo 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.