agentleFS

Cursor rules examples

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

Worked for most · soon
Hugging FaceCursor rule

nanotron / rules

huggingface/nanotron/.cursor/rules/performance-optimization.mdc

Better pattern:

2.8k20mo agoReviewMountCreate a free account to mount
Hugging FaceCursor rule

nanotron / rules

huggingface/nanotron/.cursor/rules/philosophy.mdc

Core development principles and workflow for the Nanotron project. Apply when discussing project architecture, planning new features, or reviewing code structure.

2.8k20mo agoReviewMountCreate a free account to mount
Hugging FaceCursor rule

nanotron / rules

huggingface/nanotron/.cursor/rules/pipeline-parallelism.mdc

A PipelineBlock wraps modules for efficient pipeline-parallel execution. Each block operates on a specific device and communicates with other pipeline stages through P2P. When passing data between pipeline stages: Design modules with clean interfaces for pipeline parallelism: Use TensorPointer to reference tensors across pipeline stages without copying: In pipeline parallelism, different tensors are only available on specific pipeline ranks (see src/nanotron/data/dataloader.py):

2.8k20mo agoReviewMountCreate a free account to mount
Hugging FaceCursor rule

nanotron / rules

huggingface/nanotron/.cursor/rules/project-overview.mdc

Overview of Nanotron project structure and key components, useful for onboarding and orientation. Apply when discussing project architecture or organization.

2.8k20mo agoReviewMountCreate a free account to mount
Hugging FaceCursor rule

nanotron / rules

huggingface/nanotron/.cursor/rules/tensor-parallelism.mdc

No summary in the file. Open it to read it.

2.8k20mo agoReviewMountCreate a free account to mount
Hugging FaceCursor rule

nanotron / rules

huggingface/nanotron/.cursor/rules/troubleshooting.mdc

Common issues and solutions for Nanotron development. Apply when debugging performance, memory, or training problems.

2.8k20mo 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.