updating-docs

A writing rule for updating existing documentation while keeping its facts correct and its structure clear.

In plain words
What is it for?
It helps request the current document and its changes, produce a clean final version, and add useful cross-references between focused documents.
Why use it?
It gives the agent a repeatable way to revise documents without returning a confusing change-only draft or duplicating related information.

Cursor rule for Cursor

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.

agentmods
npx agentmods add rules/elirancv/cursormd/updating-docs
Clone the repo
git clone --depth 1 https://github.com/elirancv/CursorMD

Made for: Cursor.

Per session 111 This file is loaded in full into every session.
When invoked 111 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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 $0.00111 $0.00111
Opus 5 $0.00056 $0.00056
Sonnet 5 $0.00022 $0.00022
Haiku 4.5 $0.00011 $0.00011

Measured 2d ago against content hash 6a83301eb185, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

updating-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 2d ago.

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/updating-docs.mdc · 18 lines

What it actually says

Updating Existing Documentation

When updating existing documents, follow this process.

Process

  1. Ask for: current version + what changed
  2. Return: clean final version (not diff)
  3. Improve structure/clarity while preserving correctness
  4. Optional: add brief "Changes" note if helpful

Cross-Referencing

When relevant:

  • Add references: "See docs/ARCHITECTURE_OVERVIEW.md for details"
  • Avoid duplicating content across docs
  • Keep each doc focused but interconnected
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. 2d ago First seen · 18 lines · 111 tokens per session scan A 6a83301eb185

Subscribe to this mod's changes

updating-docs is a cursor rule published in the GitHub repository elirancv/CursorMD (1 stars, last pushed 9mo ago), licensed MIT. It adds 111 tokens to every session, about $0.0006 per session on Opus 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-08-31.

Related

Other cursor rules, from other repositories

create-rule-agent

This rule is responsible for creating and updating Cursor rules. Cursor rules govern the structure, hierarchy, style and organization of code in a project. This rule should be invoked in Agent mode when: 1. a user wants to create a new cursor rule, 2. a user wants to update or change an existing rule, 3. user wants…

usrrname/cursorrules · 3,429 tokens

cloudflare-workers-hono-auto

Cloudflare Workers with Hono framework development standards and best practices.

usrrname/cursorrules · 0 tokens

security-scan-agent

This rule provides comprehensive security scanning for dependencies, complementing the dependency analysis rule with deep security insights including CVE analysis, license compliance, and supply chain risk assessment.

usrrname/cursorrules · 0 tokens

cloudflare-workers-auto

Cloudflare Workers development standards and best practices.

usrrname/cursorrules · 0 tokens

changelog-generator-manual

This rule generates a comprehensive changelog.md file by analyzing all git tags and commits, creating a chronological record of all project changes with proper semantic versioning structure. The changelog.md file is stored at the root of the project.

usrrname/cursorrules · 0 tokens

mysql-auto

This rule enforces MySQL-specific best practices to enhance readability, performance, security, and maintainability. It targets MySQL features (e.g., storage engines, character sets) and common pitfalls, and adds concrete guidance for schema design and creation.

usrrname/cursorrules · 0 tokens