awesome-cursorrules-zh: Instructions file for Claude Code

CLAUDE.md

awesome-cursorrules-zh CLAUDE.md is an instructions file for Claude Code from holtwood/awesome-cursorrules-zh. It costs 1,269 tokens per session, scanned A, original, MIT.

Project instructions for Claude Code, a command-line coding assistant, in a Chinese-language collection of Cursor editor rules. They describe the project, its tools, common commands, folders, and contribution workflow.

In plain words
What is it for?
Use them when working on the documentation site, adding or updating rule files, running validation and builds, or following the project's commit conventions.
Why use it?
They give the coding assistant and contributors shared project context, reducing guesswork about how the site is organised and checked.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md; mentions Claude Code; mentions AGENTS.md.

This is holtwood/awesome-cursorrules-zh's own configuration. It tells Claude Code how to work on awesome-cursorrules-zh 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 awesome-cursorrules-zh configures →

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/holtwood/awesome-cursorrules-zh/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/holtwood/awesome-cursorrules-zh

Made for: Claude Code.

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 awesome-cursorrules-zh CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/holtwood/awesome-cursorrules-zh/claude-md/github.svg)](https://agentmods.dev/instructions/holtwood/awesome-cursorrules-zh/claude-md)
Your own site
<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.

agentmods 80×15 button for awesome-cursorrules-zh CLAUDE.md

Your own site · 80×15
<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>
Per session 1,269 This file is loaded in full into every session.
When invoked 1,269 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.01269 $0.01269
Opus 5.5 $0.00508 $0.00508
Sonnet 5.5 $0.00254 $0.00254
Haiku 4.5 $0.00127 $0.00127

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

Security

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.

CLAUDE.md · 98 lines

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),确保站点展示的数据与规则资产一致。

Read the full file on GitHub · 98 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 Changed · -23 lines · +421 tokens per session 58b2555ffe6d
  2. 2mo ago First seen · 121 lines · 848 tokens per session scan A cd88f58ff415

Subscribe to this mod's changes

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.

Related

awesome-cursorrules-zh CLAUDE.md compared with instructions from other repositories

awesome-cursorrules-zh CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
awesome-cursorrules-zh CLAUDE.mdholtwood/awesome-cursorrules-zhInstructions file24118d agoMITA1,269Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode