CLAUDE.md
CLAUDE.mdCLAUDE.mdroot
Quality
74/100
Scores the file, not the repository.Length
298 words
20 headings · 3 code blocksRepository
217
— · pushed 3 days agoLast changed
3 days ago
First indexed 3 days ago.1# CLAUDE.md23> 本文件为 Claude Code CLI 提供项目特定配置和指导。45## 项目概述67**awesome-cursorrules-zh** 是一个 Cursor AI 编辑器规则集合网站,提供精选的 `.cursorrules` 规则文件。89## 技术栈1011| 技术 | 版本 | 用途 |12|------|------|------|13| Node.js | >=20.0.0 | 运行时 |14| VitePress | ^1.6.4 | 静态站点生成 |15| markdownlint-cli2 | ^0.22.1 | Markdown 检查 |1617## 常用命令1819```bash20npm run dev # 启动开发服务器21npm run build # 构建静态站点22npm run preview # 预览构建结果23npm run lint # Markdown 格式检查24npm run lint:fix # 自动修复格式问题25npm run validate # 验证规则文件26npm run check # lint + validate27npm run ci # check + build28```2930## 目录结构3132```33awesome-cursorrules-zh/34├── .vitepress/ # VitePress 配置35├── docs/ # 文档源文件36│ ├── zh/ # 中文文档37│ └── en/ # 英文文档38├── zh/ # 中文站点页面(符号链接)39├── en/ # 英文站点页面(符号链接)40├── rules/ # 规则文件(核心)41├── scripts/ # 工具脚本42├── AGENTS.md # AI 助手工作指南43└── CLAUDE.md # 本文件44```4546## 开发工作流4748### 添加新规则49501. 在 `rules/` 对应领域下创建目录512. 编写 `.cursorrules` 文件523. 编写 `README.md` 说明534. 运行 `npm run validate` 验证5455### 文档更新56571. 更新 `docs/zh/` 中文文档582. 更新 `docs/en/` 英文文档593. 运行 `npm run lint` 检查格式6061### 提交规范6263使用约定式提交:`feat`/`fix`/`docs`/`chore`/`translate`6465## 规则文件规范6667### 标准模板6869```markdown70# [技术名称] .cursorrules 提示文件7172你是 [技术领域] 方面的专家。7374## 核心原则7576- 原则177- 原则27879## 技术栈8081- 技术182- 技术28384## 最佳实践85861. 实践1872. 实践288```8990### 质量要求9192- 文件大小 >= 200 字节93- 必须包含角色定义94- 推荐包含最佳实践95- 使用中文编写9697## 双语支持9899- 文档:`docs/zh/` 和 `docs/en/`100- 规则文件:中文为主101- 技术术语:保持英文原文102103## CI/CD104105| 工作流 | 触发 | 功能 |106|--------|------|------|107| ci.yml | push/PR | 质量检查 + 构建 |108| deploy.yml | push main | 部署 GitHub Pages |109110## 注意事项1111121. **规则验证**:所有规则文件必须通过 `npm run validate`1132. **Markdown 格式**:遵循 `.markdownlint.json` 配置1143. **提交规范**:使用约定式提交1154. **双语更新**:文档更新需同步中英文116117## 相关文档118119- [AGENTS.md](./AGENTS.md) - AI 助手工作指南120- [CONTRIBUTING.md](./CONTRIBUTING.md) - 贡献指南121
Also in LessUp/awesome-cursorrules-zh
Diff this repo’s formatsOne repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| LessUp/awesome-cursorrules-zh.github/copilot-instructions.md · 217 | Copilot instructions | buildagent-behaviour | 55/100 | 3 days ago | |
| LessUp/awesome-cursorrules-zhAGENTS.md · 217 | AGENTS.md | build | 69/100 | 3 days ago |
Similar configs
Same format, overlapping stack, ranked by quality.
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| livewire/livewireCLAUDE.md · 24k | CLAUDE.md | setupbuildteststyle+4 | 100/100 | 3 days ago | |
| filamentphp/filamentCLAUDE.md · 32k | CLAUDE.md | buildtestlint-formatstyle+7 | 100/100 | 3 days ago | |
| stacklok/toolhiveCLAUDE.md · 2.0k | CLAUDE.md | buildteststylearch+4 | 100/100 | 3 days ago | |
| dotCMS/corecore-web/CLAUDE.md · 949 | CLAUDE.md | teststylearchtesting-strategy+3 | 100/100 | 3 days ago | |
| Adit-Jain-srm/NightmareNetCLAUDE.md · 45 | CLAUDE.md | buildtestlint-formatstyle+6 | 100/100 | 3 days ago | |
| microsoft/playwrightCLAUDE.md · 94k | CLAUDE.md | buildtestlint-formatstyle+7 | 100/100 | 3 days ago | |
| nimbalyst/nimbalystpackages/android/CLAUDE.md · 1.4k | CLAUDE.md | setupbuildstylearch+2 | 100/100 | 3 days ago | |
| bagisto/bagistoCLAUDE.md · 28k | CLAUDE.md | setupbuildteststyle+5 | 100/100 | 3 days ago |
