Borrowing it
Nothing to install: this file belongs to holtwood/awesome-cursorrules-zh. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/holtwood/awesome-cursorrules-zh/main/CLAUDE.mdgit clone --depth 1 https://github.com/holtwood/awesome-cursorrules-zhWrote 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.
[](https://agentmods.dev/instructions/holtwood/awesome-cursorrules-zh/claude-md)<a href="https://agentmods.dev/instructions/holtwood/awesome-cursorrules-zh/claude-md"><img src="https://agentmods.dev/badge/instructions/holtwood/awesome-cursorrules-zh/claude-md/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.
<a href="https://agentmods.dev/instructions/holtwood/awesome-cursorrules-zh/claude-md"><img src="https://agentmods.dev/badge/instructions/holtwood/awesome-cursorrules-zh/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.01269 | $0.01269 |
| Opus 5.5 | $0.00508 | $0.00508 |
| Sonnet 5.5 | $0.00254 | $0.00254 |
| Haiku 4.5 | $0.00127 | $0.00127 |
Grade A, and why
awesome-cursorrules-zh CLAUDE.md 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.
How it starts
The opening of the file, as written. The whole thing — 98 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CLAUDE.md
本文件为 Claude Code CLI 提供项目配置。面向所有 AI 协作工具的通用指南见 AGENTS.md。
项目概述
awesome-cursorrules-zh — Cursor AI 编辑器 .cursorrules 规则集合中文版。
- 132 个规则文件,覆盖 32 个技术领域
- VitePress 双语文档站(中 / 英):https://awesome-cursorrules-zh.js.org/
- 规则资产与文档站点同构,均位于
docs/下(顶层没有rules/、zh/、en/目录)
技术栈
| 技术 | 版本 | 用途 | 声明位置 |
|---|---|---|---|
| Node.js | >=20.0.0 |
运行时 | 根 package.json |
| markdownlint-cli2 | ^0.23.2 |
Markdown 格式检查 | 根 package.json |
| VitePress | ^1.6.4 |
静态站点生成 | docs/package.json |
| UnoCSS | ^66.6.8 |
原子化样式 | docs/package.json |
| Mermaid | ^11.12.2 |
图表渲染 | docs/package.json |
目录结构
awesome-cursorrules-zh/
├── docs/ # 文档站 + 规则资产(同构)
│ ├── .vitepress/ # VitePress 配置、主题组件、站点数据
│ ├── zh/ # 中文文档
│ ├── en/ # 英文文档
│ ├── rules/ # 规则资产源:32 个领域目录,共 132 个 .cursorrules
│ ├── scripts/ # sync-site-facts.mjs(构建前同步站点事实数据)
│ ├── public/ # 静态资源(字体、logo、og-image)
│ ├── index.md # 站点首页
│ ├── package.json # docs 子项目依赖与脚本
│ └── uno.config.ts
├── tests/ # node:test 测试(site-ia.test.mjs:站点 IA 一致性)
├── .github/workflows/ # ci-docs.yml(构建验证)+ docs-pages.yml(Pages 部署)
├── AGENTS.md # 跨工具 AI 协作指南
├── CONTRIBUTING.md # 贡献指南
├── DESIGN.md / PRODUCT.md # 设计决策与产品定位
├── CHANGELOG.md
└── package.json # 根:编排 lint / test / docs 构建
常用命令
# 开发与构建
npm run docs:dev # 启动开发服务器(内部会先 sync 站点事实数据)
npm run docs:build # 构建静态站点
npm run docs:preview # 预览构建结果
# 质量检查
npm run lint # Markdown 格式检查(markdownlint-cli2)
npm run lint:fix # 自动修复格式问题
npm test # 运行 tests/site-ia.test.mjs
# 完整校验(lint + test + docs 构建)
npm run check
注意:
docs:dev/docs:build内部执行cd docs && npm run <script>。docs/package.json中的dev与build都会先运行npm run sync(docs/scripts/sync-site-facts.mjs),确保站点展示的数据与规则资产一致。
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.
- 1mo ago Changed · -23 lines · +421 tokens per session 58b2555ffe6d
- 2mo ago First seen · 121 lines · 848 tokens per session scan A cd88f58ff415
awesome-cursorrules-zh CLAUDE.md is an instructions file published in the GitHub repository holtwood/awesome-cursorrules-zh (241 stars, last pushed 18d ago), licensed MIT. It adds 1,269 tokens to every session, about $0.0051 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.
awesome-cursorrules-zh CLAUDE.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| awesome-cursorrules-zh CLAUDE.mdholtwood/awesome-cursorrules-zh | Instructions file | 241 | 18d ago | MIT | A | 1,269 | Claude Code |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | today | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | yesterday | MIT | A | 4,680 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 5,516 | GitHub Copilot |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 3,093 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 274k | 2d ago | MIT | A | 4,313 | Codex, OpenCode |