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

NeMo-Agent-Toolkit / documentation

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

Use consistent formatting to help convey meaning and improve readability. All formatting should be consistent throughout technical content.

  • Installs packages

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 formatting.mdc into the rules it gives an agent

30 rules. About 0 are common, 25 are distinctive, and 5 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈25

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 5

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use consistent formatting to help convey meaning and improve readability.

    line 8
  2. Very specific:

    Inline example: Use npm install to add packages

    line 20
  3. Very specific:

    Example: Ensure delay > 10 evaluates to True

    line 28
  4. Distinctive:

    Format: No special formatting

    line 74
  5. Distinctive:

    Note: Don't capitalize unless it's a proper name

    line 86
  6. Distinctive:

    If you see "Invalid input value," the add-on was unable to generate a certificate

    line 97
  7. Distinctive:

    Example: Search for "Query Tables" on the website

    line 102
  8. Distinctive:

    If the user holds the admin_all_objects capability

    line 116
  9. Distinctive:

    Simple expressions: Use inline code formatting

    line 125
  10. Distinctive:

    Use the same formatting for the same type of element throughout a document

    line 134
  11. Distinctive:

    Don't mix formatting styles (e.g., don't use both bold and italic for the same purpose)

    line 135
  12. Distinctive:

    Follow the hierarchy: headings, subheadings, body text, code, emphasis

    line 136
  13. Distinctive:

    Use formatting to enhance meaning, not just for decoration

    line 139
  14. Distinctive:

    Don't overuse formatting - too much emphasis reduces impact

    line 140
  15. Distinctive:

    Leave white space around formatted elements for better readability

    line 141
  16. Distinctive:

    Use syntax highlighting when available

    line 145
  17. Distinctive:

    Keep code examples concise and focused

    line 146
  18. Distinctive:

    Use comments in code to explain complex parts

    line 148
  19. Distinctive:

    Use consistent formatting for similar UI elements (all buttons bold, all menus italic)

    line 153
  20. Distinctive:

    Use parallel structure when listing UI steps

    line 155
  21. Distinctive:

    Don't use quotation marks for emphasis (use italic instead)

    line 160
  22. Distinctive:

    Don't use ALL CAPS for emphasis

    line 161
  23. Distinctive:

    Don't mix square brackets [ ] and angle brackets < > for variables

    line 162
  24. Distinctive:

    Don't use bold for code elements (use monospace instead)

    line 163
  25. Distinctive:

    Don't skip formatting for technical terms that need it

    line 164
  26. Distinctive:

    Don't overformat simple text

    line 165
  27. Distinctive:

    Instead of "IMPORTANT", use Important or *Important*

    line 168
  28. Very specific:

    Instead of [variable], use <variable>

    line 169
  29. Very specific:

    Instead of code, use code

    line 170
  30. Very specific:

    Instead of plain text for filenames, use filename.txt

    line 171

≈ “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
formatting.mdc
---
description: 
globs: **/*.md
alwaysApply: false
---
# Formatting Guidelines

Use consistent formatting to help convey meaning and improve readability. All formatting should be consistent throughout technical content.

## Formatting Reference

### Code and Technical Elements

#### Code Samples and Command-Line Arguments
- **Format**: Monospaced font (markdown code blocks or inline code)
- **Example**: 
  ```
  npm install @nvidia/aicore
  ```
- **Inline example**: Use `npm install` to add packages

#### Configuration File Parameters
- **Format**: Inline monospaced font
- **Example**: Set the `timeout` parameter to `30`

#### Expressions and Code Variables
- **Format**: Inline monospaced font
- **Example**: Ensure `delay > 10` evaluates to True

#### File Names
- **Format**: Inline monospaced font
- **Example**: Navigate to the `config.json` file

#### File Paths and Directories
- **Format**: Inline monospaced font
- **Variables**: Surround changeable variables with angle brackets
- **Example (correct)**: `/home/<username>/.login`
- **Example (incorrect)**: `/home/[username]/.login`

#### Knowledge Objects (fields, event types, lookups, tags, etc.)
- **Format**: Inline monospaced font
- **Example**: The default field `index` identifies the index location

#### Source Types
- **Format**: Inline monospaced font
- **Example**: This entry defines the `access_combined` source type

#### Simple XML Elements
- **Format**: Inline monospaced font
- **Example**: Find the `<title>all</title>` element

#### REST API Requests and Responses
- **Format**: Monospaced font block (code blocks)

#### Simple XML Source Code
- **Format**: Monospaced font block (code blocks)

### User Interface Elements

#### Menu Items and UI Elements
- **Format**: Italic text
- **Examples**: 
  - Select *Settings* > *Data Inputs*
  - In the *Name* field, enter your name
  - Click the *Save* button

#### User Input and Actions
- **Format**: Bold text
- **Examples**:
  - For the *Destination* field, enter **ca_counties**
  - From the *Set Source* step, click **Timestamp**

#### Keyboard Shortcuts
- **Format**: No special formatting
- **Example**: Press Ctrl+Alt+Delete

### Text Formatting

#### Guide Titles and Document References
- **Format**: Italic text
- **Example**: Refer to the *Quick Start Guide*

#### Domain-Specific Terms
- **Format**: Italic text on first use or when emphasis is needed
- **Example**: Access permissions are handled through *projects*, *applications*, and *roles*
- **Note**: Don't capitalize unless it's a proper name

#### In-text Emphasis
- **Format**: Italic text
- **Examples**:
  - What users did *after* a starting event
  - What users did *before* an ending event

#### Error Messages
- **Format**: Quotation marks
- **Examples**:
  - If you see "Invalid input value," the add-on was unable to generate a certificate
  - The payload is keyed with "d" whose value is an array

#### Offset Words (not part of sentence meaning)
- **Format**: Quotation marks
- **Example**: Search for "Query Tables" on the website

#### Speech and Dialogue
- **Format**: Quotation marks
- **Examples**:
  - User speech: "Hey Riva"
  - Bot response: "My name is Riva. I was created by engineers at NVIDIA."

### Special Cases

#### User Roles and Capabilities
- **Format**: No special formatting
- **Examples**:
  - You need the admin role to configure settings
  - If the user holds the admin_all_objects capability

#### Variables in Paths
- **Format**: Angle brackets (< >)
- **Example (correct)**: `/home/<username>/.login`
- **Example (incorrect)**: `/home/[username]/.login`

#### Equations
- **Format**: MathML for complex equations
- **Simple expressions**: Use inline code formatting

#### Article Citations
- **Format**: APA style
- **Example**: Include proper author, year, title, and source information

## Formatting Best Practices

### Consistency Rules
- Use the same formatting for the same type of element throughout a document
- Don't mix formatting styles (e.g., don't use both bold and italic for the same purpose)
- Follow the hierarchy: headings, subheadings, body text, code, emphasis

### Readability Guidelines
- Use formatting to enhance meaning, not just for decoration
- Don't overuse formatting - too much emphasis reduces impact
- Leave white space around formatted elements for better readability
- Group related formatted elements together

### Code Formatting
- Use syntax highlighting when available
- Keep code examples concise and focused
- Include only relevant parts of longer code samples
- Use comments in code to explain complex parts
- Format code consistently with project standards

### UI Element Formatting
- Match the exact capitalization and spelling of UI elements
- Use consistent formatting for similar UI elements (all buttons bold, all menus italic)
- Include enough context to help users locate elements
- Use parallel structure when listing UI steps

## Common Formatting Mistakes

### Don't Do These
- Don't use quotation marks for emphasis (use italic instead)
- Don't use ALL CAPS for emphasis
- Don't mix square brackets [ ] and angle brackets < > for variables
- Don't use bold for code elements (use monospace instead)
- Don't skip formatting for technical terms that need it
- Don't overformat simple text

### Alternative Approaches
- Instead of "IMPORTANT", use **Important** or *Important*
- Instead of [variable], use `<variable>`
- Instead of **code**, use `code`
- Instead of plain text for filenames, use `filename.txt`

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.