writing-docs

writing-docs is a cursor rule for Cursor from NVIDIA-NeMo/nemo-helix. It costs 15 tokens per session (2,226 once invoked), scanned A, original, Apache-2.0.

A documentation-writing guide based on Diátaxis, a framework that separates tutorials, task-focused how-to guides, explanations, and reference material. It provides quality principles for documenting platform features.

In plain words
What is it for?
Use it when creating or revising documentation for platform features, especially when deciding whether content should teach, solve a task, explain a concept, or list facts.
Why use it?
It helps authors choose a structure that matches what readers are trying to do. This reduces the chance of mixing lessons, instructions, background, and lookup information together.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Good fit Use it when creating or revising documentation for platform features, especially when deciding whether content should teach, solve a task, explain a concept, or list facts.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/nvidia-nemo/nemo-helix/writing-docs
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/NVIDIA-NeMo/nemo-helix

Made for: Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for writing-docs

README.md
[![agentmods](https://agentmods.dev/badge/rules/nvidia-nemo/nemo-helix/writing-docs/github.svg)](https://agentmods.dev/rules/nvidia-nemo/nemo-helix/writing-docs)
Your own site
<a href="https://agentmods.dev/rules/nvidia-nemo/nemo-helix/writing-docs"><img src="https://agentmods.dev/badge/rules/nvidia-nemo/nemo-helix/writing-docs/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for writing-docs

Your own site · 80×15
<a href="https://agentmods.dev/rules/nvidia-nemo/nemo-helix/writing-docs"><img src="https://agentmods.dev/badge/rules/nvidia-nemo/nemo-helix/writing-docs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 15 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,226 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00015 $0.02226
Opus 5.5 $0.00006 $0.00890
Sonnet 5.5 $0.00003 $0.00445
Haiku 4.5 $0.00002 $0.00223

Measured today against content hash 13740fa5b27c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

writing-docs scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.cursor/rules/writing-docs.mdc · 343 lines

How it starts

The opening of the file, as written. The whole thing — 343 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Writing Documentation

Content Classification (Diataxis Framework)

Before writing, identify the content type to determine the appropriate structure.

The Four Content Types

Diataxis organizes documentation into four types based on two axes:

  • Horizontal axis: Learning-oriented (left) vs Information-oriented (right)
  • Vertical axis: Doing/Practical (top) vs Information/Theoretical (bottom)
Type User Goal Orientation Characteristics Examples
TUTORIAL Learn by doing Learning + Practical Step-by-step lessons, guided learning, builds confidence "Getting Started", "Your First Project", "Quickstart"
HOW-TO Solve a problem Practical + Task Goal-oriented steps, problem-solving, real scenarios "Deploy on AWS", "Configure Auth", "Troubleshoot X"
EXPLANATION Understand concepts Information + Understanding Why things work, context, background, architecture "How X Works", "Architecture Overview", "Key Concepts"
REFERENCE Look up facts Information + Lookup Technical descriptions, complete specs, precise details "API Reference", "CLI Commands", "Configuration Options"

Decision Tree

Ask: "What is the user trying to DO?"

  1. Learn by doing a guided lesson → TUTORIAL

    • They're new and need to build confidence
    • They need a complete working example
    • Focus: Learning-oriented, step-by-step
  2. Accomplish a specific task → HOW-TO

    • They have a goal and need steps to achieve it
    • They want to solve a specific problem
    • Focus: Task-oriented, practical
  3. Understand how/why something works → EXPLANATION

    • They need context and conceptual understanding
    • They want to know the "why" behind decisions
    • Focus: Understanding-oriented, conceptual
  4. Look up specific information → REFERENCE

    • They know what they're looking for
    • They need complete, precise specifications
    • Focus: Information-oriented, comprehensive

Read the full file on GitHub · 343 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today First seen · 343 lines · 15 tokens per session scan A 13740fa5b27c

Subscribe to this mod's changes

writing-docs is a cursor rule published in the GitHub repository NVIDIA-NeMo/nemo-helix (160 stars, last pushed today), licensed Apache-2.0. It adds 15 tokens to every session and 2,226 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-12-05.

Related

writing-docs compared with cursor rules from other repositories

writing-docs next to 6 cursor rules from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
writing-docsNVIDIA-NeMo/nemo-helixCursor rule160todayApache-2.0A15Cursor
langsmith_evaluationyu-iskw/llmops-demo-tsCursor rule64d agoApache-2.0A0Cursor
build-test-commandsyu-iskw/llmops-demo-tsCursor rule64d agoApache-2.0A262Cursor
20-testsJott2121/agent-gateCursor rule317d agoMITA0Cursor
ponytailDietrichGebert/ponytailCursor rule205k13d agoMITA604Cursor
angular-20angular/angularCursor rule102ktodayMITA0Cursor
dev-standardapache/supersetCursor rule76ktodayApache-2.0A1,147Cursor