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.
npx agentmods add rules/xyzbit/ai-coding/p-design-tech-solutiongit clone --depth 1 https://github.com/xyzbit/AI-CodingWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00009 | $0.00398 |
| Opus 5 | $0.00005 | $0.00199 |
| Sonnet 5 | $0.00002 | $0.00080 |
| Haiku 4.5 | $0.00001 | $0.00040 |
Grade A, and why
p-design-tech-solution 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 2d 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.
What it actually says
技术方案编写规则
整体要求
- 如果判断某个部分内容较多、较复杂,建议简单描述+功能标注 '//TODO 需要后续补充'
- 对应复杂功能给出多个实现方案+建议方案
文档交付内容要求
交付形式:在当前项目的 docs 文件夹下建立 xxx.md 保存 文档模版如下:
## 需求详情
## 需求目的
> 介绍需求背景,让大家了解相关上下文信息。
## 需求涉及历史业务逻辑
> 如果需要
## 技术方案
业务逻辑
主要逻辑描述:
> 介绍技术方案,包括但不限于以下章节。
> 如果有多个可选方案,需要增加方案对比。
### 流程图
### (如果需要)上下游服务,子模块关系等。
技术实现
**方案流程图 / 描述**
> 抽象和描述业
**数据库表设计(如果有)**
**接口设计(如果有)**
// 参考如下:
service AdAutoRuleLog { rpc GetList (GetListRequest) returns (GetListResp) { option (google.api.http) = { post: "/v1/marketing/ad-auto-rule-log/list", body: "*" };
option (openapi.v3.operation) = {
summary: "列表",
operation\_id: "列表",
};
}
}
## 上线注意事项
确认历史数据迁移是否成功
确认调整是否生效
## 任务拆解
> 任务拆解与排期
## 项目脚本执行入口及参数说明(如果有)
## 上线文档
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.
- 2d ago First seen · 88 lines · 9 tokens per session scan A 4d8da7cfd5c5
p-design-tech-solution is a cursor rule published in the GitHub repository xyzbit/AI-Coding (21 stars, last pushed 10mo ago), licensed Apache-2.0. It adds 9 tokens to every session and 398 once invoked, about $0.0000 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.
Other cursor rules, from other repositories
angular-20
This rule provides comprehensive best practices and coding standards for Angular development, focusing on modern TypeScript, standalone components, signals, and performance optimizations.
dev-standard
Apache Superset development standards and guidelines for Cursor IDE.
typescript
Changes to these high-fan-out internals can affect every message, delta, element, or rerun. Keep work in them minimal, and benchmark changes with representative stress-test apps.
coolify-ai-docs
Master reference to all Coolify AI documentation in .ai/ directory.
python_lib
Tips and guidelines specific to the development of the Streamlit Python library, not applicable to scripts and e2e tests.
specs
This directory contains product and tech specs for Streamlit features.