agentleFS

Cursor rules examples

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

Best matches · from page 17Worked for most · soon
codejunkie99Cursor rule

agentic-stack / rules

codejunkie99/agentic-stack/.cursor/rules/caveman.mdc

Caveman full communication mode for all agent replies in this repo.

2.3k2mo agoReviewMountCreate a free account to mount
alibabaCursor rule

loongcollector / coding-standards

alibaba/loongcollector/.cursor/rules/coding-standards/cpp.mdc

Catch2. - Mock dependencies with libraries like Google Mock. - Implement integration tests for system components. ## Security - Use secure coding practices to avoid vulnerabilities (e.g., buffer overflows, dangling pointers). - Prefer `std::array

2.2k5mo agoReviewMountCreate a free account to mount
alibabaCursor rule

loongcollector / coding-standards

alibaba/loongcollector/.cursor/rules/coding-standards/golang.mdc

channels or sync primitives. - **Defer closing resources** and handle them carefully to avoid leaks. ### Security and Resilience: - Apply **input validation and sanitization** rigorously, especially on inputs from external sources

2.2k5mo agoReviewMountCreate a free account to mount
alibabaCursor rule

loongcollector / testing-standards

alibaba/loongcollector/.cursor/rules/testing-standards/e2e-example-ebpf-process.mdc

alwaysApply: false --- # EBPF进程安全-E2E测试 本文档是针对eBPF进程安全采集的E2E测试设计,主要测试基础功能。 ## 1 基本说明 ### 1.1 配置 eBPF进程安全采集,配置名为`ebpf_process_security_default`,配置为 ```plaintext enable: true inputs: - Type: input_process_security ``` ### 1.2 日志字段 主要日志字段如下: | 字段 | 类型

2.2k5mo agoReviewMountCreate a free account to mount
zombieyangCursor rule

sd-ppp / rules

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

Design (antd) UI library within React applications. It covers code organization, performance, security, testing, and common pitfalls to ensure maintainable and efficient applications. globs: **/*.{js,jsx,ts,tsx} --- # Ant Design

2.2k19mo agoReviewMountCreate a free account to mount
zombieyangCursor rule

sd-ppp / rules

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

globs: alwaysApply: false --- --- description: Comprehensive guide to React best practices, covering code organization, performance, security, testing, and common pitfalls. Adhering to these guidelines helps developers build maintainable, scalable, and high

2.2k19mo agoReviewMountCreate a free account to mount
zombieyangCursor rule

sd-ppp / rules

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

guidelines for developing applications using Vite, covering aspects from code organization and performance to security and testing. globs: **/*.{js,jsx,ts,tsx,vue,svelte} --- - **Introduction:** - This document outlines best practices

2.2k19mo agoReviewMountCreate a free account to mount
zombieyangCursor rule

sd-ppp / rules

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

provides comprehensive best practices for using Vitest, covering code organization, testing strategies, performance, and security within Vitest projects. These guidelines ensure clean, maintainable, and reliable test suites. globs

2.2k19mo agoReviewMountCreate a free account to mount
zombieyangCursor rule

sd-ppp / rules

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

Based Lazy Loading:** Lazy load routes using `react-router-dom`'s `lazy` function. ## 4. Security Best Practices ### 4.1. Common Vulnerabilities and How to Prevent Them - **Cross-Site Scripting (XSS):** Sanitize

2.2k19mo 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
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-patterns.md

通用模式:仓库(Repository)、API 响应、骨架项目(Skeleton Projects)

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-security.md

安全:强制检查、密钥管理、响应协议

No other project uses it yet

1.9k9mo agoReviewMountCreate a free account to mount
xu-xiangReads credentialsCursor rule

everything-claude-code-zh / rules

xu-xiang/everything-claude-code-zh/.cursor/rules/golang-security.md

Go 安全性规则,扩展了通用安全性内容

1.9k9mo agoReviewMountCreate a free account to mount
xu-xiangReads credentialsCursor rule

everything-claude-code-zh / rules

xu-xiang/everything-claude-code-zh/.cursor/rules/swift-security.md

扩展通用规则的 Swift 安全规范

No other project uses it yet

1.9k9mo agoReviewMountCreate a free account to mount
xu-xiangReads credentialsCursor rule

everything-claude-code-zh / rules

xu-xiang/everything-claude-code-zh/.cursor/rules/typescript-security.md

扩展自通用规则的 TypeScript 安全规约

1.9k9mo agoReviewMountCreate a free account to mount
meganzCursor rule

android / rules

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

Data Binding where appropriate - **Fragment Lifecycle**: Properly handle fragment lifecycle with View Binding ## Security & Privacy ### Data Encryption - **SQLCipher**: Encrypt local database - **Sensitive Data**: Encrypt sensitive data using `EncryptData` - **API Keys

1.9k35d agoReviewMountCreate a free account to mount
clerkReads credentialsCursor rule

javascript / rules

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

React components - Use efficient data structures and algorithms - Profile and optimize critical paths Security Guidelines - Never commit sensitive keys or credentials - Use environment variables for configuration - Validate all inputs

No other project uses it yet

1.8k24d agoReviewMountCreate a free account to mount
clerkCursor rule

javascript / rules

clerk/javascript/.cursor/rules/nextjs.mdc

next.js

No other project uses it yet

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