agentleFS
NVIDIAKnown publisherNVIDIA/NeMo-Agent-Toolkit/.cursor/rules/cursor-rules.mdc

NeMo-Agent-Toolkit / rules

Cursor rule2.7k starsChanged 16 months agoApache-2.0View on GitHub

Follow these rules when the user's request involves creating, modifying, organizing, or structuring Cursor rules within the project

Trending

Quiet since August.about the whole repository

Dec 2025: 0 mentionsJan 2026: 1 mentionFeb 2026: 0 mentionsMar 2026: 2 mentionsApr 2026: 4 mentionsMay 2026: 2 mentionsJun 2026: 1 mentionJul 2026: 1 mentionAug 2026: 1 mentionSep 2026: 0 mentionsOct 2026: 0 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the NVIDIA/NeMo-Agent-Toolkit repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about NVIDIA/NeMo-Agent-Toolkit

The biggest 5 of 15 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 15

Talked about on GitHub (15 times).

On GitHub · 15

10 more on GitHub

The file

Show its rules and text

We split this cursor-rules.mdc into the rules it gives an agent

14 rules. About 0 are common, 12 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈12

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Always place rule files in PROJECT_ROOT/.cursor/rules/:

    line 10
  2. Distinctive:

    Follow the naming convention:

    line 18
  3. Distinctive:

    Use kebab-case for filenames

    line 19
  4. Distinctive:

    Always use .mdc extension

    line 20
  5. Distinctive:

    When creating topic subdirectories:

    line 46
  6. Distinctive:

    Use kebab-case for directory names

    line 47
  7. Very specific:

    Always include a general.mdc file with overarching guidelines for the topic

    line 48
  8. Distinctive:

    Place specific rules as separate .mdc files within the subdirectory

    line 49
  9. Distinctive:

    Always include a "Referenced Documentation" section that lists all documentation referenced in the rules

    line 53
  10. Distinctive:

    Start with "Follow these rules when": All descriptions should begin with this consistent phrase

    line 71
  11. Distinctive:

    Include relevant action verbs: Use precise verbs like "creating", "modifying", "implementing", "configuring", "adding", "installing", …

    line 73
  12. Distinctive:

    Check for typos: Ensure proper spelling and grammar (avoid errors like "ollow" instead of "Follow")

    line 76
  13. Distinctive:

    Avoid overly narrow descriptions: Don't limit to just one action when the rule covers multiple related scenarios

    line 81
  14. Distinctive:

    Never place rule files:

    line 84

≈ “Common” is an estimate: at least 1 in 5 of the 3,030 Cursor rule files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
cursor-rules.mdc
---
description: Follow these rules when the user's request involves creating, modifying, organizing, or structuring Cursor rules within the project
globs:
alwaysApply: false
---
# Cursor Rules Location

How to add new cursor rules to the project

1. Always place rule files in PROJECT_ROOT/.cursor/rules/:
    ```
    .cursor/rules/
    ├── your-rule-name.mdc
    ├── another-rule.mdc
    └── ...
    ```

2. Follow the naming convention:
    - Use kebab-case for filenames
    - Always use .mdc extension
    - Make names descriptive of the rule's purpose

3. Directory structure:
    ```
    PROJECT_ROOT/
    ├── .cursor/
    │   └── rules/
    │       ├── your-rule-name.mdc
    │       └── ...
    └── ...
    ```

4. For related rules sharing the same topic, create a subdirectory:
    ```
    .cursor/rules/
    ├── topic-name/
    │   ├── general.mdc          # General rules for this topic
    │   ├── specific-rule.mdc    # Specific rules within the topic
    │   └── another-rule.mdc
    ├── another-topic/
    │   ├── general.mdc
    │   └── specific-rule.mdc
    └── standalone-rule.mdc
    ```

5. When creating topic subdirectories:
    - Use kebab-case for directory names
    - Always include a `general.mdc` file with overarching guidelines for the topic
    - Place specific rules as separate .mdc files within the subdirectory
    - Example: `nat-cli/` folder contains general NAT CLI rules in `general.mdc` and specific command rules in separate files

6. For `general.mdc` files in subdirectories:
    - Always include a "Referenced Documentation" section that lists all documentation referenced in the rules
    - Format documentation references with descriptive names and brief descriptions
    - Reference the documentation section in the main rules instead of directly linking to documentation
    - Example structure:
    ```markdown
    # General Rules for [Topic]

    ## Referenced Documentation

    - **Documentation Name**: [filename.md](mdc:path/to/filename.md) - Brief description of the documentation
    - **Another Doc**: [another.md](mdc:path/to/another.md) - Description of this documentation

    ## Rules

    - Rule content referencing "the documentation listed in the Referenced Documentation section above"
    ```

7. Writing effective descriptions for Cursor rules:
    - **Start with "Follow these rules when"**: All descriptions should begin with this consistent phrase
    - **Use specific trigger conditions**: Clearly define when the rule should be requested by the agent
    - **Include relevant action verbs**: Use precise verbs like "creating", "modifying", "implementing", "configuring", "adding", "installing", "evaluating", etc.
    - **Be comprehensive but concise**: Cover all relevant scenarios without being overly verbose
    - **Use consistent terminology**: Match the language used in the project (e.g., "NAT workflows", "NAT CLI commands")
    - **Check for typos**: Ensure proper spelling and grammar (avoid errors like "ollow" instead of "Follow")
    - **Examples of good descriptions:**
      - "Follow these rules when the user's request involves creating, modifying, organizing, or structuring Cursor rules within the project"
      - "Follow these rules when the user's request involves NAT CLI commands, operations, or functionality"
      - "Follow these rules when the user's request involves implementing, adding, creating, or modifying functions within NAT workflows"
    - **Avoid overly narrow descriptions**: Don't limit to just one action when the rule covers multiple related scenarios
    - **Use "user's request involves" pattern**: This clearly indicates the trigger condition for the agent

8. Never place rule files:
    - In the project root
    - In subdirectories outside .cursor/rules
    - In any other location

9. Cursor rules have the following structure:

---
description: Short description of the rule's purpose
globs: optional/path/pattern/**/*
alwaysApply: false
---
# Rule Title

Main content explaining the rule with markdown formatting.

1. Step-by-step instructions
2. Code examples
3. Guidelines
Example:
```python
# Good example
async def good_example_function():
    """Implementation following NeMo Agent Toolkit guidelines."""
    # Use async/await for I/O operations
    # Follow snake_case naming convention
    # Include proper type hints and docstrings
    pass

# Bad example
def badExample():
    # Missing async, type hints, and docstring
    # Uses camelCase instead of snake_case
    pass
```

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.