RULE

RULE is a cursor rule for Cursor from muchengracedriver/awesome-requirements-writer. It costs 34 tokens per session (586 once invoked), scanned A, original, MIT.

A set of writing rules for turning engineering notes and other technical input into clear product requirements. Requirements state what a system must do so it can be built, tested, and traced.

In plain words
What is it for?
Use it to draft, rewrite, review, split apart, or formalize requirements for software, hardware, diagnostics, interfaces, and verification tests.
Why use it?
It removes ambiguity, hidden assumptions, unexplained numbers, and mixed-up background information from requirement documents. It also highlights missing values instead of making them up.

Cursor rule for Cursor

Written for Cursor: a Cursor rule (.mdc).

Good fit Use it to draft, rewrite, review, split apart, or formalize requirements for software, hardware, diagnostics, interfaces, and verification tests.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/muchengracedriver/awesome-requirements-writer/rule
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/muchengracedriver/awesome-requirements-writer

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 RULE

README.md
[![agentmods](https://agentmods.dev/badge/rules/muchengracedriver/awesome-requirements-writer/rule/github.svg)](https://agentmods.dev/rules/muchengracedriver/awesome-requirements-writer/rule)
Your own site
<a href="https://agentmods.dev/rules/muchengracedriver/awesome-requirements-writer/rule"><img src="https://agentmods.dev/badge/rules/muchengracedriver/awesome-requirements-writer/rule/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 RULE

Your own site · 80×15
<a href="https://agentmods.dev/rules/muchengracedriver/awesome-requirements-writer/rule"><img src="https://agentmods.dev/badge/rules/muchengracedriver/awesome-requirements-writer/rule.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 586 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.00034 $0.00586
Opus 5 $0.00017 $0.00293
Sonnet 5 $0.00007 $0.00117
Haiku 4.5 $0.00003 $0.00059

Measured 10d ago against content hash da60593599c1, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

RULE 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 10d 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.

adapters/codebuddy/.codebuddy/rules/awesome-requirements-writer/RULE.mdc · 51 lines

How it starts

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

Awesome Requirements Writer

Use this rule when the user asks for technical product requirements, automotive software requirements, system requirements, diagnostics requirements, interface requirements, or requirement quality review.

Core Behavior

  • Convert informal engineering notes into requirements that can be designed, reviewed, implemented, verified, and traced.
  • Match the user's language. If the user writes in Chinese, draft requirements in Chinese unless they request English.
  • Separate information from requirements. Rationale, examples, repeated context, diagrams, and verification notes are information, not normative requirement text.
  • Prefer positively defined requirements: describe when the system shall perform the required behavior; avoid defining behavior by negating the opposite condition.
  • Use named static variables instead of hard-coded numbers. Put missing values in a variable table as TBD.
  • Use explicit AND, OR, NOT, and XOR for compound logic.

Requirement Principles

A strong requirement is clean and direct, unambiguous, atomic, positively defined, free of magic numbers, directly testable, separated from explanatory information, and traceable to source, design, and verification evidence.

Output Shape

For information:

[Info] <information body>

For requirements:

[Req <ID>] <requirement body> | <acceptance criteria>

Use stable IDs such as SYS-001, SWE-001, and HW-001. Do not renumber existing IDs unless the user asks.

Variable and Keyword Style

  • Local or process variables: italic lowercase, for example *lateral speed*.
  • Global or calibratable variables: bold uppercase, for example **TIMEOUT THRESHOLD**.
  • Signals: italic title case, preserving acronyms, for example *ACC Active State*.
  • Keywords: TRUE, FALSE, ACTIVE, INACTIVE, ACTIVATED, DEACTIVATED, SUPPRESSED, ENABLED, DISABLED, VALID, INVALID.

Bundled References

Do not load all references by default. Read only the file that matches the current task:

Read the full file on GitHub · 51 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. 10d ago First seen · 51 lines · 34 tokens per session scan A da60593599c1

Subscribe to this mod's changes

RULE is a cursor rule published in the GitHub repository muchengracedriver/awesome-requirements-writer (104 stars, last pushed 2mo ago), licensed MIT. It adds 34 tokens to every session and 586 once invoked, about $0.0002 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-30.