write-document

write-document is a cursor rule for Cursor from danielvm-git/bigpowers. It costs 48 tokens per session (2,307 once invoked), scanned A, original, MIT.

A documentation workflow for creating clear, durable technical documents with the BMAD method: Bold, Minimal, Actionable, and Durable. It is intended for new architecture documents, technical guides, and specifications.

In plain words
What is it for?
Use it to create architectural decisions, technical guides, and files in a specs/ directory. It helps define boundaries, actionable requirements, and checks that show whether the document is useful.
Why use it?
It prevents documentation from becoming vague, bloated, or disconnected from verifiable outcomes. It also helps keep project knowledge usable for both developers and coding agents.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/. Also seen: mentions CLAUDE.md; mentions AGENTS.md; mentions Gemini CLI.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is See [CHANGELOG.md](../../CHANGELOG.md) or [Releases](https://github.com/user/repo/releases)..

Good fit Use it to create architectural decisions, technical guides, and files in a specs/ directory. It helps define boundaries, actionable requirements, and checks that show whether the document is useful.

Compare 6 cursor rules from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/danielvm-git/bigpowers
agentmods
npx agentmods add rules/danielvm-git/bigpowers/write-document

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 write-document

README.md
[![agentmods](https://agentmods.dev/badge/rules/danielvm-git/bigpowers/write-document/github.svg)](https://agentmods.dev/rules/danielvm-git/bigpowers/write-document)
Your own site
<a href="https://agentmods.dev/rules/danielvm-git/bigpowers/write-document"><img src="https://agentmods.dev/badge/rules/danielvm-git/bigpowers/write-document/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 write-document

Your own site · 80×15
<a href="https://agentmods.dev/rules/danielvm-git/bigpowers/write-document"><img src="https://agentmods.dev/badge/rules/danielvm-git/bigpowers/write-document.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 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,307 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.00048 $0.02307
Opus 5.5 $0.00019 $0.00923
Sonnet 5.5 $0.00010 $0.00461
Haiku 4.5 $0.00005 $0.00231

Measured 2mo ago against content hash 5504bfa7134e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

write-document 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 2mo 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/write-document.mdc · 281 lines

How it starts

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

Write Document (BMAD)

Create high-signal technical documentation that serves as an expert collaborator for both humans and AI. This skill enforces the BMAD principles to prevent context rot and ensure architectural durability.

Distinct from edit-document: Use this skill to create a document that does not yet exist. Use edit-document when a document already exists and needs restructuring, clarity, or prose improvements.

HARD GATE — Every document must have a clear "Reason for Existence." If a document doesn't provide actionable leverage for a caller or test, do not create it.

The BMAD Principles

Principle Execution
Bold Make strong assertions. Define clear boundaries and "Never" rules. No "it might" or "usually."
Minimal High-density, low-filler. Circuit Breaker: If the file exceeds 300 lines or the session exceeds 20 turns, you MUST run terse-mode and compact state before saving.
Actionable Link every doc to a verifiable outcome. Architectural Docs: Verify via Gherkin features (specs/verifications/features/) or grep-based structure checks (grep -c "pattern" file) that prove the design's constraints are present.
Durable Design for the long-term. Scalability: Use "Nested Indexing"—root files link to module-level GEMINI.md indexes; do not list individual sub-files in the root.

Process

1. Identify the Artifact Type & Scope

Choose the correct BMAD-BigPowers artifact:

  • Decision Record (ADR): For "Why" decisions (saved to specs/adr/).
  • Context Map: For system-wide architectural mapping (specs/tech-architecture/tech-stack.md).
  • Technical Guide: For "How-to" with verification (saved to <module>/REFERENCE.md).
  • Behavioral Feature: Gherkin-style compliance specs (saved to specs/verifications/features/).
  • Project README: Project-facing documentation (saved to README.md at project root).

Cross-Cutting Concerns: If a doc affects multiple modules, place the authoritative source in the lowest common ancestor directory and use "Delegates" (one-line pointers) in sub-directories to maintain the Single Source of Truth without violating the Stepdown Rule.

Read the full file on GitHub · 281 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. 2mo ago First seen · 281 lines · 48 tokens per session scan A 5504bfa7134e

Subscribe to this mod's changes

write-document is a cursor rule published in the GitHub repository danielvm-git/bigpowers (297 stars, last pushed 4d ago), licensed MIT. It adds 48 tokens to every session and 2,307 once invoked, about $0.0002 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-09-03.

Related

write-document compared with cursor rules from other repositories

write-document next to 6 cursor rules from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
write-documentdanielvm-git/bigpowersCursor rule2974d agoMITA48Cursor
app-router-patternstugkanboz/awesome-cursorrulesCursor rule242mo agoMITA2,554Cursor
tddJkudjo/oh-my-cursorCursor rule117d agoMITA9Cursor
00-project-ruleskok-o/koko-contextos-agentsCursor rule22mo agoMITA4,614Cursor
nodekok-o/koko-contextos-agentsCursor rule22mo agoMITA0Cursor
python-cryptographic-failuresivangrynenko/cursorrulesCursor rule881y agoMITA0Cursor
unity-performanceCommon-ka/ai-agent-unity-rulesCursor rule4311mo agoMITA2Cursor