DESIGN_AND_EXECUTION_STANDARDS

DESIGN_AND_EXECUTION_STANDARDS is a cursor rule for Cursor from SilenceInsect/AIDocxWorkFlow. It costs 13,646 tokens per session, scanned A, original, MIT.

A set of project-wide rules for making decisions across the AIDocxWorkFlow stages. It defines where module information, stage instructions, skills, and project assets belong.

In plain words
What is it for?
It is for enforcing shared rules across requirement review, test generation, compliance checks, documentation, and other workflow stages.
Why use it?
It gives all workflow stages the same source of truth and records how to classify, validate, and handle project files.

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/silenceinsect/aidocxworkflow/design_and_execution_standards
Clone the repo
git clone --depth 1 https://github.com/SilenceInsect/AIDocxWorkFlow

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 DESIGN_AND_EXECUTION_STANDARDS

README.md
[![agentmods](https://agentmods.dev/badge/rules/silenceinsect/aidocxworkflow/design_and_execution_standards.svg)](https://agentmods.dev/rules/silenceinsect/aidocxworkflow/design_and_execution_standards)
Your own site
<a href="https://agentmods.dev/rules/silenceinsect/aidocxworkflow/design_and_execution_standards"><img src="https://agentmods.dev/badge/rules/silenceinsect/aidocxworkflow/design_and_execution_standards.svg" alt="Measured on agentmods" height="20"></a>
Per session 13,646 This file is loaded in full into every session.
When invoked 13,646 The same file — it is already loaded in full.
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.13646 $0.13646
Opus 5 $0.06823 $0.06823
Sonnet 5 $0.02729 $0.02729
Haiku 4.5 $0.01365 $0.01365

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

Security

Grade A, and why

DESIGN_AND_EXECUTION_STANDARDS 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 4d 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/DESIGN_AND_EXECUTION_STANDARDS.mdc · 898 lines

How it starts

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

AIDocxWorkFlow 全局执行约束与跨阶段决策

适用对象:所有阶段 模块定义.cursor/MODULES.md(项目级唯一真相源) 各阶段规范.cursor/rules/STAGE_S*.mdc(阶段完整定义,含必读材料 + push 块 + 质量门禁) 各阶段技能.cursor/skills/aidocx-*/SKILL.md(阶段执行入口)


维护规范

职责 文件
模块定义/边界/枚举/种子 TP / O_boundary .cursor/MODULES.md + knowledge/public/module_templates/<MODULE>/
阶段规范/必读材料/push 块/质量门禁/产出格式 .cursor/rules/STAGE_S*.mdc
技能操作/执行入口/必读材料清单/push 块 .cursor/skills/aidocx-*/SKILL.md
本文件 跨阶段判决/跨模块规则/is_assumed/全局违规认定

0.1 版本控制分层原则

本节是项目级 Git 资产分类的 SSOT——每类资产列具体路径 + 对应 .gitignore 行号 + 强制验证命令。仅写抽象名词("过程资产""项目级知识库")的条款作废,必须可机械对照。

0.1.1 资产分类表(路径 + .gitignore 模式锚点)

锚点选择:本表用 .gitignore 模式文本(如 *.jsonl / knowledge/project_local/ / feedback_logs/)作为锚点,不用行号——

  • 行号会随 .gitignore 任意编辑漂移,今天第 91 行明天可能第 95 行
  • 模式文本是 .gitignore 文件本身的语义内容,人本可审查:肉眼 grep 一行即可对照
  • 自动化验证用 git check-ignore -v(输出 .gitignore:N:<模式> <路径>),行号只是机器附带输出

本表同步铁律:改 .gitignore必须重跑 grep -nF "<模式>" .gitignore 验证锚点仍在;若改模式文本,本表同步改;若删模式,删表行。

资产类别 具体路径 Git 归属 .gitignore 模式锚点 验证命令
功能代码 ai_workflow/*.py(非 pycache) 无显式模式(依赖默认) git check-ignore ai_workflow/test.py → NOT IGNORED
测试代码 tests/*.py 无显式模式 同上
规则治理资产 .cursor/rules/*.mdc / .cursor/skills/*/SKILL.md / .cursor/MODULES.md / .cursor/hooks/*.py 无显式模式 同上
公共知识库 knowledge/public/**.json / .md 等非录制类 无显式模式(依赖默认 + *.jsonl 反向排除) git check-ignore knowledge/public/test_point_library/tp_library.db → NOT IGNORED
过程录制 jsonl 所有 *.jsonl 文件——包括 feedback_logs/*.jsonl / workflow_assets/**/*.jsonl / knowledge/project_local/**/*.jsonl 不入 *.jsonl git check-ignore -v knowledge/public/goal_loop/x.jsonl.gitignore:N:*.jsonl ...(即使在 public/ 下也命中)
项目级知识库 knowledge/project_local/** 不入 knowledge/project_local/ git check-ignore -v knowledge/project_local/foo.md.gitignore:N:knowledge/project_local/ ...
本地输入材料 resource/<req_name>/** 不入 resource/ git check-ignore -v resource/foo.md.gitignore:N:resource/ ...
单次需求过程资产 workflow_assets/<req_name>/<version>/「S*」/** 不入 workflow_assets/* git check-ignore -v workflow_assets/foo/v1.0/test.md.gitignore:N:workflow_assets/* ...
阶段上下文包 workflow_assets/**/stage_context.md / stage_context.json / read_ack.json 不入 workflow_assets/**/*.stage_context.md / workflow_assets/**/stage_context.json / workflow_assets/**/read_ack.json git check-ignore -v workflow_assets/foo/v1.0/「S5」/stage_context.md.gitignore:N:workflow_assets/**/stage_context.md ...
运行反馈日志 feedback_logs/** + *.log 不入 feedback_logs/ + *.log git check-ignore -v feedback_logs/foo.log.gitignore:N:feedback_logs/ ...
治理档 governance/**(方案/INDEX/归档) 不入 governance/ git check-ignore -v governance/foo.md.gitignore:N:governance/ ...
CHANGELOG CHANGELOG.md(本地迭代历史) 不入 CHANGELOG.md git check-ignore -v CHANGELOG.md.gitignore:N:CHANGELOG.md ...
Goal loop 过程资产 .goal-log-db/ + workflow_assets/goals/ 不入 .goal-log-db/ + workflow_assets/goals/ git check-ignore -v .goal-log-db/foo.db.gitignore:N:.goal-log-db/ ...
本地 secrets / 配置 .env / .env.local / secrets.json / .cursor/private/ 不入 .env / .env.local / secrets.json / .cursor/private/ git check-ignore -v .env.gitignore:N:.env ...
构建/缓存产物 __pycache__/ / *.pyc / .pytest_cache/ / dist/ / build/ 不入 __pycache__/ / *.pyc / *.egg-info/ / .pytest_cache/ git check-ignore -v ai_workflow/__pycache__/x.cpython-39.pyc.gitignore:N:__pycache__/ ...

Read the full file on GitHub · 898 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. 4d ago First seen · 898 lines · 13,646 tokens per session scan A bc4067348ddb

Subscribe to this mod's changes

DESIGN_AND_EXECUTION_STANDARDS is a cursor rule published in the GitHub repository SilenceInsect/AIDocxWorkFlow (2 stars, last pushed 1mo ago), licensed MIT. It adds 13,646 tokens to every session, about $0.0682 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.