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
NVIDIACursor rule

NeMo-Agent-Toolkit / nat-tests

NVIDIA/NeMo-Agent-Toolkit/.cursor/rules/nat-tests/integration-tests.mdc

Follow these rules when the user's request involves writing, creating, or modifying integration tests for NeMo Agent Toolkit workflows

2.6k14mo agoReads credentialsDiscuss
NVIDIACursor rule

NeMo-Agent-Toolkit / nat-tests

NVIDIA/NeMo-Agent-Toolkit/.cursor/rules/nat-tests/nat-test-llm.mdc

Follow these rules when the user's request involves using NAT test LLM (nat_test_llm) to simulate deterministic responses in workflows or tests

2.6k14mo agoDiscuss
NVIDIACursor rule

NeMo-Agent-Toolkit / nat-workflows

NVIDIA/NeMo-Agent-Toolkit/.cursor/rules/nat-workflows/add-functions.mdc

Follow these rules when the user's request involves implementing, adding, creating, or modifying functions within NeMo Agent Toolkit workflows

2.6k14mo agoDiscuss
NVIDIACursor rule

NeMo-Agent-Toolkit / nat-workflows

NVIDIA/NeMo-Agent-Toolkit/.cursor/rules/nat-workflows/add-tools.mdc

Follow these rules when the user's request involves adding, integrating, implementing, or configuring tools for NeMo Agent Toolkit workflows

2.6k14mo agoReads credentialsDiscuss
NVIDIACursor rule

NeMo-Agent-Toolkit / nat-workflows

NVIDIA/NeMo-Agent-Toolkit/.cursor/rules/nat-workflows/general.mdc

Follow these rules when the user's request involves adding functions or tools to NeMo Agent Toolkit workflows

2.6k14mo agoDiscuss
NVIDIACursor rule

cccl / rules

NVIDIA/cccl/.cursor/rules/tuning-analysis.mdc

Analyze CUDA benchmark performance data from sqlite MCP to identify the optimal tuning variant configuration for requested algorithm. Database Context: - Table: cub.bench.{ALGORITHMNAME} contains performance measurements - Key columns: -…

2.5k13d agoDiscuss
VercelCursor rule

workflow / rules

vercel/workflow/.cursor/rules/swc-plugin.mdc

The specification for how to plugin is meant to work can be found in spec.md. To test the plugin, run pnpm test inside swc-plugin-workflow. If changes have been made, use UPDATE=1 pnpm test to have the fixtures be updated to pass the tests.

2.4k11mo agoDiscuss
VercelCursor rule

workflow / rules

vercel/workflow/.cursor/rules/workflow-deployment.mdc

Workflow testing and deployment process guide

2.4k11mo agoDiscuss
ShopifyCursor rule

hydrogen / rules

Shopify/hydrogen/templates/skeleton/.cursor/rules/hydrogen-react-router.mdc

This Hydrogen project is based on React Router, not Remix. When working with documentation or code examples, you should always use imports from the appropriate React Router packages instead of Remix packages. When you see imports from Remix packages, replace them with their equivalent React Router v7 packages. Here are the common replacements: NEVER USE 'react-router-dom' imports! When working in this codebase, always follow the React Router patterns that are already established in the existing code. For more information, consult…

2.1k6mo agoDiscuss
NVIDIACursor rule

dcgm-exporter / rules

NVIDIA/dcgm-exporter/.cursor/rules/go-standards.mdc

Go implementation standards for DCGM Exporter

1.9k3mo agoDiscuss
NVIDIACursor rule

dcgm-exporter / rules

NVIDIA/dcgm-exporter/.cursor/rules/helm-kubernetes.mdc

Helm chart and Kubernetes deployment conventions

1.9k3mo agoDiscuss
NVIDIACursor rule

dcgm-exporter / rules

NVIDIA/dcgm-exporter/.cursor/rules/metrics-contracts.mdc

Metric CSV, exporter counter, and Prometheus exposition contracts

1.9k3mo agoDiscuss
NVIDIACursor rule

dcgm-exporter / rules

NVIDIA/dcgm-exporter/.cursor/rules/shell-ci-security.mdc

Shell, CI, Docker, packaging, and security rules

1.9k3mo agoReads credentialsDiscuss
NVIDIACursor rule

dcgm-exporter / rules

NVIDIA/dcgm-exporter/.cursor/rules/testing.mdc

DCGM Exporter test layer selection and validation gates

1.9k3mo agoDiscuss
NVIDIACursor rule

Personal-AI-Router / rules

NVIDIA/Personal-AI-Router/.cursor/rules/absolute-imports.mdc

Use the `@/*` path alias instead of relative (`../`) imports across the codebase

1.5k9d agoDiscuss
NVIDIACursor rule

Personal-AI-Router / rules

NVIDIA/Personal-AI-Router/.cursor/rules/agent-onboarding.mdc

Read PAIR's rules and docs before changing desktop or services code

1.5k9d agoDiscuss
NVIDIACursor rule

Personal-AI-Router / rules

NVIDIA/Personal-AI-Router/.cursor/rules/architecture.mdc

Core PAIR boundaries for naming, communication, backend ownership, and reactive state

1.5k9d agoDiscuss
NVIDIACursor rule

Personal-AI-Router / rules

NVIDIA/Personal-AI-Router/.cursor/rules/backend-constants.mdc

Prefer backend-reported values over hardcoded constants; keep the remaining backend-coupled constants in one canonical file

1.5k9d agoDiscuss
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.5k9d agoDiscuss
NVIDIACursor rule

Personal-AI-Router / rules

NVIDIA/Personal-AI-Router/.cursor/rules/commit-sign-off.mdc

Sign off every commit with git commit -s; the DCO trailer must match the commit author

1.5k9d 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.