design-doc-bootstrap

design-doc-bootstrap is a cursor rule for Codex, Cursor from reddishz/designdoc. It costs 253 tokens per session, scanned A, original, MIT.

A project rule requiring a design document and a review gate before changing features, defects, product behaviour, or design documentation. It also defines what to do when the project's main guidance is missing or outdated.

In plain words
What is it for?
Guiding design-first work on product and code changes in a repository.
Why use it?
It prevents implementation from starting before the intended change has been documented and approved.

Cursor rule for CodexCursor

Written for Cursor: a Cursor rule (.mdc). Also seen: installed under .agents/ (shared by several agents); mentions AGENTS.md.

Good fit Guiding design-first work on product and code changes in a repository.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/reddishz/designdoc/design-doc-bootstrap
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/reddishz/designdoc

Made for: Codex, 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 design-doc-bootstrap

README.md
[![agentmods](https://agentmods.dev/badge/rules/reddishz/designdoc/design-doc-bootstrap/github.svg)](https://agentmods.dev/rules/reddishz/designdoc/design-doc-bootstrap)
Your own site
<a href="https://agentmods.dev/rules/reddishz/designdoc/design-doc-bootstrap"><img src="https://agentmods.dev/badge/rules/reddishz/designdoc/design-doc-bootstrap/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 design-doc-bootstrap

Your own site · 80×15
<a href="https://agentmods.dev/rules/reddishz/designdoc/design-doc-bootstrap"><img src="https://agentmods.dev/badge/rules/reddishz/designdoc/design-doc-bootstrap.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 253 This file is loaded in full into every session.
When invoked 253 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.00253 $0.00253
Opus 5.5 $0.00101 $0.00101
Sonnet 5.5 $0.00051 $0.00051
Haiku 4.5 $0.00025 $0.00025

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

Security

Grade A, and why

design-doc-bootstrap 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 7d 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.

.agents/skills/design-doc/assets/snippets/design-doc-bootstrap.mdc · 12 lines

What it actually says

design-doc 设计优先(常驻规则)

  • 本项目采用 design-doc。改功能、修缺陷、改产品可观察行为,或改动设计目录(ued/)文档之前,先读根目录 AGENTS.md 中的「设计优先(design-doc)」托管块,并按其中的编码前设计 Gate 执行。
  • 无论设计目录是否已存在,只要用户要做上述变更,本规则都适用。
  • 若根 AGENTS.md 不存在、没有 design-doc 托管块,或托管块落后于已装技能:先按 .agents/skills/design-doc/references/project-agents-guide.md 处理。写入或更新前 MUST 向用户说明将写入的内容并取得确认,不得静默写入。
  • 本规则只是常驻提醒;规则正文与流程以 .agents/skills/design-doc/ 为准。
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. 7d ago First seen · 12 lines · 253 tokens per session scan A 2b44027c3917

Subscribe to this mod's changes

design-doc-bootstrap is a cursor rule published in the GitHub repository reddishz/designdoc (15 stars, last pushed yesterday), licensed MIT. It adds 253 tokens to every session, about $0.0010 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-11-25.

Related

design-doc-bootstrap compared with cursor rules from other repositories

design-doc-bootstrap next to 6 cursor rules from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
design-doc-bootstrapreddishz/designdocCursor rule15yesterdayMITA253Codex, Cursor
explorer-interface-briefmohitagw15856/pm-claude-skillsCursor rule1.6ktodayMITA91Cursor
prototype-previewerchocpink123/prototype-previewer-skillCursor rule327mo agoMITA14Cursor
figma-performancehoshikitsunoda/figma-plugins-vibe-coding-templateCursor rule2111mo agoMITA0Cursor
ant-designTideTree/awesome-cursor-rules-mdc-zhCursor rule148mo agononeA0Cursor
7-day-nextjs-web-design-cursormattcsnyder/7-day-mobile-and-web-design-skillCursor rule26mo agononeA16Cursor
clone-aiOmerfaruk-aydn/siteclonerCursor rule26mo agononeA374Cursor