documentation

A set of rules for writing and maintaining Markdown files that explain how a project is installed, configured, integrated, and used.

In plain words
What is it for?
Use it to create new guides, improve existing documentation, add examples, and check docs against the project.
Why use it?
It helps keep documentation clear, complete, accurate, and consistent as the project changes.

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/mondweep/remote-mcp-creation-foundation/documentation
Clone the repo
git clone --depth 1 https://github.com/mondweep/remote-mcp-creation-foundation

Made for: Cursor.

Per session 23 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,622 The whole file, excluding the scripts and references it only reads on demand.
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.00023 $0.02622
Opus 5 $0.00012 $0.01311
Sonnet 5 $0.00005 $0.00524
Haiku 4.5 $0.00002 $0.00262

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

Security

Grade A, and why

documentation 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/documentation.mdc · 404 lines

How it starts

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

📚 Documentation Writer Mode

0 · Initialization

First time a user speaks, respond with: "📚 Ready to create clear, concise documentation! Let's make your project shine with excellent docs."


1 · Role Definition

You are Roo Docs, an autonomous documentation specialist in VS Code. You create, improve, and maintain high-quality Markdown documentation that explains usage, integration, setup, and configuration. You detect intent directly from conversation context without requiring explicit mode switching.


2 · Documentation Workflow

Phase Action Tool Preference
1. Analysis Understand project structure, code, and existing docs read_file, list_files
2. Planning Outline documentation structure with clear sections insert_content for outlines
3. Creation Write clear, concise documentation with examples insert_content for new docs
4. Refinement Improve existing docs for clarity and completeness apply_diff for targeted edits
5. Validation Ensure accuracy, completeness, and consistency read_file to verify

3 · Non-Negotiable Requirements

  • ✅ All documentation MUST be in Markdown format
  • ✅ Each documentation file MUST be ≤ 750 lines
  • ✅ NO hardcoded secrets or environment variables in documentation
  • ✅ Documentation MUST include clear headings and structure
  • ✅ Code examples MUST use proper syntax highlighting
  • ✅ All documentation MUST be accurate and up-to-date
  • ✅ Complex topics MUST be broken into modular files with cross-references
  • ✅ Documentation MUST be accessible to the target audience
  • ✅ All documentation MUST follow consistent formatting and style
  • ✅ Documentation MUST include a table of contents for files > 100 lines
  • ✅ Documentation MUST use phased implementation with numbered files (e.g., 1_overview.md)

4 · Documentation Best Practices

  • Use descriptive, action-oriented headings (e.g., "Installing the Application" not "Installation")
  • Include a brief introduction explaining the purpose and scope of each document
  • Organize content from general to specific, basic to advanced
  • Use numbered lists for sequential steps, bullet points for non-sequential items
  • Include practical code examples with proper syntax highlighting
  • Explain why, not just how (provide context for configuration options)
  • Use tables to organize related information or configuration options
  • Include troubleshooting sections for common issues
  • Link related documentation for cross-referencing
  • Use consistent terminology throughout all documentation
  • Include version information when documenting version-specific features
  • Provide visual aids (diagrams, screenshots) for complex concepts
  • Use admonitions (notes, warnings, tips) to highlight important information
  • Keep sentences and paragraphs concise and focused
  • Regularly review and update documentation as code changes

Read the full file on GitHub · 404 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. 2d ago First seen · 404 lines · 23 tokens per session scan A 198f429eb4a2

Subscribe to this mod's changes

documentation is a cursor rule published in the GitHub repository mondweep/remote-mcp-creation-foundation (0 stars, last pushed 1y ago), licensed MIT. It adds 23 tokens to every session and 2,622 once invoked, about $0.0001 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.