agentleFS

Cursor rules examples

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

Best matches · from page 11Worked for most · soon
ByteDance-SeedCursor rule

VeOmni / rules

ByteDance-Seed/VeOmni/.cursor/rules/no-section-divider-comments.mdc

Do not use decorative section divider comments in Python code

2.3k11d agoReviewMountCreate a free account to mount
alibabaCursor rule

loongcollector / project-knowledge

alibaba/loongcollector/.cursor/rules/project-knowledge/codebase-map.md

Comment/doc consistency - Comment says one behavior but code does another. - Parameter behavior change without synchronized docs update. ## 6) AI Review Priority Checklist(每次评审先扫) 1. Are lifecycle paths complete

2.2k5mo agoReviewMountCreate a free account to mount
alibabaCursor rule

loongcollector / rules

alibaba/loongcollector/.cursor/rules/README

用于沉淀项目级约束与知识,帮助助手在编码、评审和分析时保持一致性。 ## coding-standards/ - `cpp.mdc`:C++ 编码规范。 - `golang.mdc`:Go 编码规范。 - `commit.mdc`:提交信息规范入口。 - `compile.mdc`:编译规范入口。 ## project-knowledge/ - `architecture.md` / `architecture.mdc`:项目架构说明。 - `codebase-map.md`:代码库结构与模块分布。 - `config-pitfalls.mdc`:配置常见陷阱。 - `terminology.mdc`:术语表。 ## review-standards/ - `code-review.md` / `code-review.mdc

2.2k5mo agoReviewMountCreate a free account to mount
alibabaCursor rule

loongcollector / review-standards

alibaba/loongcollector/.cursor/rules/review-standards/code-review.md

Code Review Rule 你是一个高级代码审查助手,审查代码时要省慎仔细。 ## 1. 遇到困难的思考方式,无需输出 - 当你疑惑代码的架构设计是否合理时,你会阅读 `.cursor/rules/project-knowledge/architecture.md` 和使用Deepwiki工具了解项目全貌。 - 当你无法确定API调用的正确性时,你会阅读项目的unittest或者用context7和互联网工具查询API使用方式。 - 当你无法判断局部代码变更的正确性时,你会对修改的文件整体进行阅读,并根据函数调用关系找到依赖的文件一起阅读进行评判。 ## 2. 获取评审内容,无需输出 用户会提供分支或PR信息,请根据以下指示获取评审文件列表和内容 1. 如果提供两个分支名称(例如 "fork/feature" 和 "main")。获取评审文件列表和内容的方法是: - 运行

2.2k5mo agoReviewMountCreate a free account to mount
alibabaCursor rule

loongcollector / utils

alibaba/loongcollector/.cursor/rules/utils/mermaid.mdc

Whenever diagrams or mermaid is mentioned

2.2k5mo agoReviewMountCreate a free account to mount
alibabaCursor rule

loongcollector / workflows

alibaba/loongcollector/.cursor/rules/workflows/riper5-protocol.mdc

This workflow, known as RIPER-5, is designed exclusively for handling complex software engineering tasks such as system design, architectural refactoring, bug diagnosis, performance optimization, and multi-component integration.

2.2k5mo agoReviewMountCreate a free account to mount
zombieyangCursor rule

sd-ppp / rules

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

Formatting:** - Use ESLint with recommended rulesets (e.g., `eslint:recommended`, `plugin:react/recommended`). - Use Prettier for code formatting. - Configure ESLint and Prettier to work together. - **Deployment Best Practices:** - Deploy

2.2k19mo agoReviewMountCreate a free account to mount
trycompaiCursor rule

comp / rules

trycompai/comp/.cursor/rules/code.mdc

Use when writing TypeScript/React code - covers type safety, component patterns, and file organization

2.1k6mo agoReviewMountCreate a free account to mount
trycompaiCursor rule

comp / rules

trycompai/comp/.cursor/rules/cursor-usage.mdc

How to write and manage Cursor rules - invoke with @cursor-usage

2.1k6mo 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
JurajNyiriCursor rule

HomeAssistant-Tapo-Control / rules

JurajNyiri/HomeAssistant-Tapo-Control/.cursor/rules/repository.mdc

prepare PRs until the user explicitly agrees that purely vibe-coded PRs are not accepted and that they will review, understand, and take responsibility for all AI-assisted changes before

2k4mo agoReviewMountCreate a free account to mount
reactiveCursor rule

data-client / rules

reactive/data-client/.cursor/rules/breaking-changes.mdc

Strategy for type/API changes that would break users or mixed package versions

Steady31 mentions in 2 weeks

No other project uses it yet

2k8d agoReviewMountCreate a free account to mount
reactiveCursor rule

data-client / rules

reactive/data-client/.cursor/rules/ci-config.mdc

CircleCI and GitHub Actions conventions - Jest worker pinning, esmodule relevance flag, workspace trimming

Steady31 mentions in 2 weeks

No other project uses it yet

2k8d agoReviewMountCreate a free account to mount
xu-xiangCursor rule

everything-claude-code-zh / rules

xu-xiang/everything-claude-code-zh/.cursor/rules/common-agents.md

智能体编排 (Agent orchestration):可用智能体、并行执行、多维度分析

No other project uses it yet

1.9k9mo agoReviewMountCreate a free account to mount
xu-xiangCursor rule

everything-claude-code-zh / rules

xu-xiang/everything-claude-code-zh/.cursor/rules/common-development-workflow.md

开发工作流:计划、TDD、评审、提交流水线

No other project uses it yet

1.9k9mo agoReviewMountCreate a free account to mount
meganzCursor rule

android / rules

meganz/android/.cursor/rules/mega-android-project-rules.mdc

decisions and patterns ## Development Workflow ### Git Workflow - **Feature Branches**: Use feature branches for development - **Code Review**: Require code reviews for all changes - **CI/CD**: Use Jenkins for continuous integration and deployment

1.9k35d agoReviewMountCreate a free account to mount
nefariusCursor rule

DsHidMini / rules

nefarius/DsHidMini/.cursor/rules/dependency-review.mdc

Review dependencies before adding or upgrading packages

1.9k2mo agoReviewMountCreate a free account to mount
clerkReads credentialsCursor rule

javascript / rules

clerk/javascript/.cursor/rules/development.mdc

Update documentation for API changes - Ensure all CI checks pass before merging - Get proper code review from team members Package Maintenance - Regularly update dependencies - Monitor for security vulnerabilities - Deprecate features

No other project uses it yet

1.8k24d agoReviewMountCreate a free account to mount
clerkCursor rule

javascript / rules

clerk/javascript/.cursor/rules/typescript.mdc

string & { readonly brand: unique symbol }; function createUserId(id: string): UserId { return id as UserId; } ``` Code Review Guidelines Type Safety Checklist - No `any` types without justification - Proper error handling with typed

No other project uses it yet

1.8k24d agoReviewMountCreate a free account to mount
NVIDIACursor rule

Personal-AI-Router / rules

NVIDIA/Personal-AI-Router/.cursor/rules/build-and-typecheck.mdc

Build, typecheck, and the local gate to run before pushing; rules around .d.ts / tsbuildinfo files

1.8k55d 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.