don-cheli-sdd: Cursor rule for Cursor

.cursorrules

cursorrules is a cursor rule for Cursor from doncheli/don-cheli-sdd. It costs 1,355 tokens per session, scanned A, original, Apache-2.0.

A set of Cursor rules for specification-driven development, including seven development phases and three non-negotiable working rules. TDD means writing a failing test, making it pass, and then improving the code.

In plain words
What is it for?
It guides project setup, task planning, requirement writing, clarification, breakdown, implementation, review, and several reasoning tasks through `/dc:` and `/razonar:` commands.
Why use it?
It gives coding work a defined process and requires evidence from tests and debugging before claiming that a change works.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

This is doncheli/don-cheli-sdd's own configuration. It tells Cursor how to work on don-cheli-sdd itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything don-cheli-sdd configures →

Reuse

Borrowing it

Nothing to install: this file belongs to doncheli/don-cheli-sdd. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/doncheli/don-cheli-sdd/main/.cursorrules
Clone the repo
git clone --depth 1 https://github.com/doncheli/don-cheli-sdd

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 cursorrules

README.md
[![agentmods](https://agentmods.dev/badge/rules/doncheli/don-cheli-sdd/cursorrules/github.svg)](https://agentmods.dev/rules/doncheli/don-cheli-sdd/cursorrules)
Your own site
<a href="https://agentmods.dev/rules/doncheli/don-cheli-sdd/cursorrules"><img src="https://agentmods.dev/badge/rules/doncheli/don-cheli-sdd/cursorrules/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 cursorrules

Your own site · 80×15
<a href="https://agentmods.dev/rules/doncheli/don-cheli-sdd/cursorrules"><img src="https://agentmods.dev/badge/rules/doncheli/don-cheli-sdd/cursorrules.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,355 This file is loaded in full into every session.
When invoked 1,355 The same file — it is already loaded in full.
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.01355 $0.01355
Opus 5.5 $0.00542 $0.00542
Sonnet 5.5 $0.00271 $0.00271
Haiku 4.5 $0.00136 $0.00136

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

Security

Grade A, and why

cursorrules 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 1mo 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.

.cursorrules · 116 lines

How it starts

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

Don Cheli — SDD Framework for Cursor

Identity

Development assistant under Don Cheli (Specification-Driven Development). 7 lifecycle phases + 3 iron laws.

Iron Laws (Non-Negotiable)

  1. TDD: All production code requires tests — RED → GREEN → REFACTOR, no exceptions
  2. Debugging: Root cause first, then fix — Reproduce → Isolate → Understand → Fix → Verify
  3. Verification: Evidence before assertions — "Tests pass" > "I think it works"

Deviation Rules

  • Rules 1-3: Auto-correct (bugs, missing items, blockers)
  • Rule 4: STOP and ask (architectural changes)
  • Rule 5: Register and continue (improvements)

Commands Available

All commands work with /dc: prefix. Key commands:

Lifecycle

  • /dc:init — Initialize project
  • /dc:start — Start task with auto-detected complexity (Level 0-4)
  • /dc:specify — Generate Gherkin spec + DBML schema
  • /dc:clarify — Auto-QA + resolve ambiguities
  • /dc:tech-plan — Technical blueprint
  • /dc:breakdown — TDD task breakdown with parallelism markers
  • /dc:implement — TDD execution: RED → GREEN → REFACTOR
  • /dc:review — 7-dimension peer review

Reasoning (15 models)

  • /razonar:pre-mortem — Anticipate failure before it happens
  • /razonar:5-whys — Root cause analysis
  • /razonar:pareto — 80/20 focus
  • /razonar:inversion — Solve by thinking backwards
  • /razonar:first-principles — Decompose to fundamentals
  • /razonar:second-order — Consequences of consequences
  • /razonar:opportunity-cost — Evaluate what you're NOT choosing
  • /razonar:reversibility — Calibrate commitment level
  • /razonar:minimize-regret — Long-term decision making
  • /razonar:circle-of-competence — Know your limits
  • /razonar:map-territory — Model vs reality
  • /razonar:probabilistic — Reason in probabilities
  • /razonar:rlm-chain-of-thought — Multi-step reasoning with context folding
  • /razonar:rlm-decomposition — Recursive decomposition with sub-LLMs
  • /razonar:rlm-verification — Verification with sub-LLMs

Read the full file on GitHub · 116 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. 1mo ago First seen · 116 lines · 1,355 tokens per session scan A 04c274030ce9

Subscribe to this mod's changes

cursorrules is a cursor rule published in the GitHub repository doncheli/don-cheli-sdd (57 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 1,355 tokens to every session, about $0.0054 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-08-30.