agentleFS
Sign inSign up

Cursor rules examples

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

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

NeMo-Agent-Toolkit / nat-setup

NVIDIA/NeMo-Agent-Toolkit/.cursor/rules/nat-setup/nat-toolkit-installation.mdc

Follow these rules when the user's request involves installing, setting up, or configuring NeMo Agent Toolkit or its plugins

2.6k14mo agoReads credentialsDiscuss
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
ShopifyCursor rule

hydrogen / rules

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

description: globs: alwaysApply: true --- # React Router Import Rule for Hydrogen ## Overview This Hydrogen project is based on React Router, not Remix. When working with documentation or code examples, you should

2.1k6mo agoDiscuss
agentset-aiCursor rule

agentset / rules

agentset-ai/agentset/.cursor/rules/nextjs.mdc

Next.js with TypeScript and Tailwind UI best practices

2.1k8mo agoDiscuss
agentset-aiCursor rule

agentset / rules

agentset-ai/agentset/.cursor/rules/project-structure.mdc

Project structure, monorepo management, and architectural patterns for the Agentset platform

2.1k8mo agoReads credentialsDiscuss
superglue-aiCursor rule

superglue / rules

superglue-ai/superglue/.cursor/rules/next-js.mdc

description: globs: alwaysApply: true --- # Rules always use functional react code. always write include typescript type annotations. in nextjs, always use the App Router pattern not the Pages Router pattern. always

2.1k12mo agoDiscuss
AgentDockCursor rule

AgentDock / rules

AgentDock/AgentDock/.cursor/rules/src.mdc

network errors gracefully - Document provider-specific behavior ### Testing Approach - Implement component tests with React Testing Library - Use MSW for API mocking in integration tests - Centralize test fixtures in `__tests__/__fixtures__

1.7k17mo agoDiscuss
callstackincubatorCursor rule

agent-skills / rules

callstackincubator/agent-skills/.cursor/rules/agent-skills-overview.mdc

Callstack agent-skills — SKILL.md entry points and workflow for this repository

1.7k57d agoDiscuss
Open-Source-LegalCursor rule

OpenContracts / rules

Open-Source-Legal/OpenContracts/.cursor/rules/pdf-viewer-and-annotator-architecture.mdc

When working on pdf annotations or pdf rendering, consult this high level overview

1.5k12mo agoDiscuss
Open-Source-LegalCursor rule

OpenContracts / rules

Open-Source-Legal/OpenContracts/.cursor/rules/test-document-knowledge-base.mdc

When testing <DocumentKnowledgeBase/> or our pdf.js annotations

1.5k12mo agoDiscuss
nixopusCursor rule

nixopus / rules

nixopus/nixopus/.cursor/rules/frontend.mdc

TypeScript Next.js View Component Development Rules

1.5k7mo agoDiscuss
KroMioseCursor rule

nekro-agent / rules

KroMiose/nekro-agent/.cursor/rules/frontend-theme-guidelines.mdc

border, background } = getThemeToken('ui'); return { background: background.card, boxShadow: shadow.card, // 其他样式... }; }, }, }; ``` ## 主题切换原理 主题切换基于 Zustand 状态管理和 React Context: 1. `useColorMode` 存储当前主题模式(light/dark/system) 2. `ThemeProvider` 根据当前模式创建并提供 MUI 主题 3. 所有样式通过动态 getter 实时获取当前主题的样式 主题切换顺序为

1.1k6mo agoDiscuss
thedaviddiasCursor rule

llms-txt-hub / rules

thedaviddias/llms-txt-hub/.cursor/rules/functions.mdc

Rules for writing TypeScript functions

90619mo agoDiscuss
thedaviddiasCursor rule

llms-txt-hub / rules

thedaviddias/llms-txt-hub/.cursor/rules/jsdoc-comments.mdc

add jsdoc comments to components and methods

90619mo agoDiscuss
thedaviddiasCursor rule

llms-txt-hub / rules

thedaviddias/llms-txt-hub/.cursor/rules/testing.mdc

Rules for writing Jest tests in TypeScript

90619mo agoDiscuss
thedaviddiasCursor rule

llms-txt-hub / rules

thedaviddias/llms-txt-hub/.cursor/rules/website.mdc

Rules for the main website

90619mo agoDiscuss
nuwax-aiCursor rule

nuwax / rules

nuwax-ai/nuwax/.cursor/rules/project-rules.mdc

智能体平台前端项目开发规则和最佳实践

88911mo agoDiscuss
context-spaceCursor rule

context-space / rules

context-space/context-space/.cursor/rules/commit-message-style.mdc

Generating properly formatted git commit message.

81215mo agoDiscuss
mondaycomCursor rule

vibe / rules

mondaycom/vibe/.cursor/rules/ci-cd-workflows.mdc

This rule provides guidance on the CI/CD pipeline, GitHub Actions workflows (defined in .github/workflows/), custom actions (in .github/actions/), versioning strategies, and release processes. Use this rule if the query involves CI/CD, build/test issues, release procedures, versioning questions, or if it references files within the .github/workflows or .github/actions directories.

6787mo agoDiscuss
mondaycomCursor rule

vibe / rules

mondaycom/vibe/.cursor/rules/dependency-management.mdc

Provides guidelines for managing dependencies in this monorepo. Use this rule when you are considering adding a new dependency, choosing between different packages, or need to understand constraints on package versions. It emphasizes minimizing new dependencies and checking for existing solutions first.

6787mo 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.