agentleFS
Sign inSign up

Cursor rules examples

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

Best matches · from page 18Worked for most · soon
MicrosoftCursor rule

data-formulator / rules

microsoft/data-formulator/.cursor/rules/test-driven-workflow.mdc

测试优先开发与测试保护规则。确保新功能/Bug 修复必须有测试覆盖,测试失败时先诊断后修改。

17k5mo agoDiscuss
MicrosoftCursor rule

data-formulator / rules

microsoft/data-formulator/.cursor/rules/unified-error-protocol.mdc

Unified error handling protocol for backend and frontend

17k5mo agoDiscuss
triggerdotdevCursor rule

trigger.dev / rules

triggerdotdev/trigger.dev/.cursor/rules/executing-commands.mdc

how to run commands in the monorepo

16k50d agoDiscuss
triggerdotdevCursor rule

trigger.dev / rules

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

Making updates to the main trigger.dev remix webapp

16k50d agoReads credentialsDiscuss
triggerdotdevCursor rule

trigger.dev / rules

triggerdotdev/trigger.dev/.cursor/rules/writing-tasks.mdc

Guidelines for writing Trigger.dev tasks

16k50d agoReads credentialsDiscuss
logancyangCursor rule

obsidian-copilot / rules

logancyang/obsidian-copilot/.cursor/rules/test-rule.mdc

alwaysApply: true --- Use "npx" command to run test

7.8k8d agoDiscuss
refly-aiCursor rule

refly / rules

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

feature" not "added feature") - Start with a type: feat, fix, docs, style, refactor, test, chore - Keep messages concise but descriptive - Format: `type(scope): short description` - Example: `feat(auth): implement

7.5k8mo agoDiscuss
refly-aiCursor rule

refly / rules

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

description: globs: alwaysApply: true --- # Testing Guidelines Refly uses various testing approaches to ensure code quality and reliability. ## Test Types ### Unit Tests - Test individual functions and components in isolation - Focus

7.5k8mo agoDiscuss
refly-aiCursor rule

refly / rules

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

feature" not "added feature") - Start with a type: feat, fix, docs, style, refactor, test, chore - Keep messages concise but descriptive - Format: `type(scope): short description` - Example: `feat(auth): implement

7.5k8mo agoDiscuss
airweave-aiCursor rule

airweave / rules

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

General overview of Airweave.

6.6k6mo agoDiscuss
airweave-aiCursor rule

airweave / rules

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

domains/arf/replay_source.py` (internal source for ARF replay) - **Protocols**: `domains/arf/protocols.py` (`ArfServiceProtocol`, `ArfReaderProtocol`) - **Fakes**: `domains/arf/fakes/` (in-memory test doubles: `FakeArfService`, `FakeArfReader`) - **StorageBackend protocol**: `domains/storage/protocols.py` (injected into ArfService/ArfReader) - **Storage adapters** (FYI): `adapters/storage/` (Filesystem, Azure

6.6k6mo agoDiscuss
airweave-aiCursor rule

airweave / rules

airweave-ai/airweave/.cursor/rules/auth-providers.mdc

composio.py # API key provider │ ├── klavis.py # Future provider │ └── pipedream.py # OAuth2 provider (tokens expire in 3600s) └── tests/ ``` ### Provider Registration ```python @auth_provider( name="Pipedream", short_name="pipedream", auth_config_class=PipedreamAuthConfig, config

6.6k6mo agoDiscuss
airweave-aiCursor rule

airweave / rules

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

secrets.token_bytes()`, or `secrets.token_urlsafe()` instead - Seeded `random.Random(seed)` is acceptable **only** for deterministic test-data generation (stub sources

6.6k6mo agoReads credentialsDiscuss
airweave-aiCursor rule

airweave / rules

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

Building and Testing a Source Connector: End-to-End Guide ## Overview This is the **master guide** for building a complete, production-ready source connector for Airweave. It combines source implementation

6.6k6mo agoDiscuss
airweave-aiCursor rule

airweave / rules

airweave-ai/airweave/.cursor/rules/connect-widget.mdc

embedded via packages: ``` connect/packages/ ├── react/ # React wrapper component └── vanilla/ # Vanilla JS embed script ``` ## Testing Run tests with: ```bash cd connect && npm run test ``` Use Vitest with Testing Library for component

6.6k6mo agoReads credentialsDiscuss
airweave-aiCursor rule

airweave / rules

airweave-ai/airweave/.cursor/rules/form-validation.mdc

repoNameValidation`**: Enforces owner/repo format (e.g., "airweave-ai/airweave") **Stripe** - **`stripeApiKeyValidation`**: Checks for sk_test_ or sk_live_ prefix, min 20 chars **Bitbucket** - **`workspaceValidation`**: Alphanumeric + hyphens + underscores - **`repoSlugValidation`**: Alphanumeric + hyphens + underscores

6.6k6mo agoDiscuss
airweave-aiCursor rule

airweave / rules

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

Description of how the integrations yaml works.

6.6k6mo agoDiscuss
airweave-aiCursor rule

airweave / rules

airweave-ai/airweave/.cursor/rules/mcp-server.mdc

MCP (Model Context Protocol) server architecture and implementation

6.6k6mo agoReads credentialsDiscuss
airweave-aiCursor rule

airweave / rules

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

globs: **/monke/** alwaysApply: false --- # Monke - Airweave Connector Testing Framework **End-to-end testing framework for Airweave connectors using real external APIs** ## Overview Monke validates Airweave's data synchronization pipeline

6.6k6mo agoReads credentialsDiscuss
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.