agentleFS

Cursor rules examples

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

Best matches · from page 6Worked for most · soon
moclam1905Cursor rule

CocktailRecipes / core-rules

moclam1905/CocktailRecipes/.cursor/rules/core-rules/rule-generating-agent.mdc

This rule is essential for maintaining consistency and quality in rule creation across the codebase. It must be followed whenever: (1) A user requests a new rule to be created, (2) An existing rule needs modification, (3) The user asks to remember certain behaviors or patterns, or (4) Future behavior changes are requested. This rule ensures proper organization, clear documentation, and effective rule application by defining standard formats, naming conventions, and content requirements. It's particularly crucial for maintaining the rule hierarchy, ensuring rules are discoverable by the AI, and preserving the effectiveness of the rule-based system. The rule system is fundamental to project consistency, code quality, and automated assistance effectiveness.

120mo agoReviewMountCreate a free account to mount
linkpranay-aiCursor rule

context-engineering-protocol / rules

linkpranay-ai/context-engineering-protocol/.cursor/rules/ult-autoscaffold-content.mdc

Generate real starter content for a project's What-L2 (requirements) and How-L2 (architecture/conventions) CEP layers once ult-repo-layout has resolved their paths but found them empty — an honest, minimal, YAML-frontmatter-first overview document per layer for small/single targets, or graphify-informed per-module tiering with resumable per-module CONTEXT.md generation, existence-gated CODING-STANDARDS.md/TESTING-GUIDELINES.md, interface-boundary docs for graph-crossing module pairs, and a rendered CEP-INDEX.md router for large repos, optionally informed by a user-supplied domain-pack of terminology/references if one is configured. This skill generates a NEW starter doc only when none exists — it never compiles or reconciles EXISTING scattered guideline sources (that's compiling-project-guidelines' job). Do NOT use to enforce layout paths or run layer discovery — that's ult-repo-layout. Do NOT use to author or generate a domain pack — this skill only ever consumes one you already wrote.

93mo agoReviewMountCreate a free account to mount
sergeyklayCursor rule

cityhive / rules

sergeyklay/cityhive/.cursor/rules/always-enable-context7.mdc

Whenever you use a library or a tool that has documentation.

218mo agoReviewMountCreate a free account to mount
PostHogCursor rule

posthog / rules

PostHog/posthog/.cursor/rules/django-python.mdc

Rules for writing Python services at PostHog (Python servers powered by the Django framework)

1 project uses a version of this

40k56d agoReviewMountCreate a free account to mount
PostHogCursor rule

posthog / rules

PostHog/posthog/.cursor/rules/rust.mdc

Rules for writing Rust services at PostHog. Focuses on writing async Rust with Tokio and encoding general Rust best practices from the Rust book and docs.

1 project uses a version of this

40k56d agoReviewMountCreate a free account to mount
VercelCursor rule

chatbot / rules

vercel/chatbot/.cursor/rules/ultracite.mdc

Ultracite Rules - AI-Ready Formatter and Linter

5 projects use a version of this

21k14mo agoReviewMountCreate a free account to mount
MicrosoftCursor rule

data-formulator / rules

microsoft/data-formulator/.cursor/rules/dev-guides-first.mdc

Require reading dev-guides before development and keeping docs in sync

No other project uses it yet

18k7mo agoReviewMountCreate a free account to mount
triggerdotdevCursor rule

trigger.dev / rules

triggerdotdev/trigger.dev/.cursor/rules/repo.mdc

understanding the structure of the monorepo

No other project uses it yet

16k4mo agoReviewMountCreate a free account to mount
0xJackyCursor rule

nginx-ui / rules

0xJacky/nginx-ui/.cursor/rules/backend.mdc

Follow consistent coding standards and formatting rules across the project to enhance clarity. ## 5. Documentation and Comments - **English Language:** All code comments and documentation should be written in English

No other project uses it yet

12k2mo agoReviewMountCreate a free account to mount
refly-aiCursor rule

refly / rules

refly-ai/refly/.cursor/rules/00-language-priority.mdc

variable names, function names, class names, and other identifiers MUST use English words** - **ALL documentation (READMEs, API docs, inline documentation) MUST be in English** - **ALL Git commit messages MUST

No other project uses it yet

7.5k10mo agoReviewMountCreate a free account to mount
refly-aiCursor rule

refly / rules

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

description: globs: alwaysApply: true --- # Code Formatting Guidelines This document defines the code formatting standards to ensure consistency and readability. ## Formatting Tools The project uses Biome for code formatting and linting

7.5k10mo agoReviewMountCreate a free account to mount
refly-aiCursor rule

refly / rules

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

components - Avoid overusing global state - Consider adopting a predictable state container for complex applications - Document the structure of shared state

7.5k10mo agoReviewMountCreate a free account to mount
refly-aiCursor rule

refly / rules

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

functionality ## Best Practices - Follow NestJS module structure - Use dependency injection - Implement proper error handling - Document APIs with OpenAPI - Schema-First Development - All API contracts must be defined in [schema.yml

7.5k10mo agoReviewMountCreate a free account to mount
airweave-aiCursor rule

airweave / rules

airweave-ai/airweave/.cursor/rules/airweave-overview.mdc

General overview of Airweave.

6.6k8mo agoReviewMountCreate a free account to mount
airweave-aiCursor rule

airweave / rules

airweave-ai/airweave/.cursor/rules/connector-development-end-to-end.mdc

backend/airweave/platform/auth/yaml/dev.integrations.yaml` - ✅ Monke authentication configured in `monke/configs/{short_name}.yaml` (Composio or direct) - ✅ API documentation loaded into context Your task is to write the code. The human will handle testing

6.6k8mo agoReviewMountCreate a free account to mount
airweave-aiCursor rule

airweave / rules

airweave-ai/airweave/.cursor/rules/fern-docs-generation.mdc

globs: **/fern/** alwaysApply: false --- # Fern Documentation Generation System - Internal Guide ## Overview The custom internal Fern documentation generator automatically creates MDX documentation for Airweave connectors by introspecting Python source code using

6.6k8mo agoReviewMountCreate a free account to mount
airweave-aiCursor rule

airweave / rules

airweave-ai/airweave/.cursor/rules/integrations-yaml.mdc

Description of how the integrations yaml works.

6.6k8mo agoReviewMountCreate a free account to mount
airweave-aiReads credentialsCursor rule

airweave / rules

airweave-ai/airweave/.cursor/rules/monke-testing-guide.mdc

bytes, filename) """ llm = LLMClient(model_override=model) instruction = ( f"Generate content for a technical document or specification. " f"You MUST include the literal token '{token}' in the content. " f"Make

6.6k8mo agoReviewMountCreate a free account to mount
airweave-aiCursor rule

airweave / rules

airweave-ai/airweave/.cursor/rules/search-module.mdc

/search.py,**/domains/search/** alwaysApply: false --- # Airweave Search Rules > **WARNING — PARTIALLY OUTDATED (March 2026)** > > This file documents the **legacy V1 search module** (`airweave/search/`), which > uses an operation-based pipeline with Qdrant, Cerebras/OpenAI/Groq

6.6k8mo agoReviewMountCreate a free account to mount
airweave-aiCursor rule

airweave / rules

airweave-ai/airweave/.cursor/rules/source-connector-implementation.mdc

Types There are two base entity types: 1. **ChunkEntity** - Text-based entities (tasks, messages, documents, etc.) 2. **FileEntity** - File attachments (PDFs, images, etc.) ### Basic Structure ```python """Entity schemas for {Connector

6.6k8mo 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.