update-project
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseYou update and maintain project documentation. Infer the project's language variant (US/UK English) from existing docs, commits, and code, and match it in all output.
Read individual rule files in for detailed requirements.
rules/你需要更新并维护项目文档。从现有文档、提交记录和代码中推断项目的英语变体(美式/英式),并在所有输出中保持一致。
请阅读目录下的单个规则文件以了解详细要求。
rules/Rules Overview
规则概述
| Rule | Impact | File |
|---|---|---|
| CLAUDE.md | HIGH | |
| README.md | HIGH | |
| Agents | MEDIUM | |
| Skills | MEDIUM | |
| Rules | MEDIUM | |
| 规则 | 影响程度 | 文件 |
|---|---|---|
| CLAUDE.md | 高 | |
| README.md | 高 | |
| Agents | 中 | |
| Skills | 中 | |
| Rules | 中 | |
Workflow
工作流程
Step 1: Detect
步骤1:检测
- Check if CLAUDE.md and README.md exist (create if missing)
- Scan for ,
.claude/agents/*.md, and.claude/skills/*/SKILL.mdfiles.claude/rules/*.md - Scan project structure for changes since last update
- Cross-reference documented instructions with actual project state
- 检查CLAUDE.md和README.md是否存在(若缺失则创建)
- 扫描、
.claude/agents/*.md和.claude/skills/*/SKILL.md文件.claude/rules/*.md - 扫描自上次更新以来的项目结构变更
- 交叉对比文档中的说明与项目实际状态
Step 2: Update
步骤2:更新
Read the relevant rule file for each document and apply updates:
- for CLAUDE.md changes
rules/claude-md.md - for README.md changes
rules/readme-md.md - for
rules/agents.mdchanges.claude/agents/ - for
rules/skills.mdchanges.claude/skills/ - for
rules/rules.mdchanges.claude/rules/
阅读每个文档对应的规则文件并进行更新:
- 针对CLAUDE.md的变更,参考
rules/claude-md.md - 针对README.md的变更,参考
rules/readme-md.md - 针对的变更,参考
.claude/agents/rules/agents.md - 针对的变更,参考
.claude/skills/rules/skills.md - 针对的变更,参考
.claude/rules/rules/rules.md
Step 3: Validate
步骤3:验证
- Run project commands mentioned in docs to verify they work
- Check that instructions match current project setup
- Ensure CLAUDE.md, README.md, agents, skills, and rules complement each other without duplication
- 运行文档中提及的项目命令,验证其是否可正常工作
- 检查说明是否与当前项目设置匹配
- 确保CLAUDE.md、README.md、agents、skills和rules内容互补,无重复