mirror of
https://github.com/sweetwisdom/everything-claude-code-zh.git
synced 2026-03-26 01:40:10 +00:00
docs: 完成所有文档的中文翻译并应用到项目
This commit is contained in:
@@ -1,17 +1,17 @@
|
||||
# Update Codemaps
|
||||
# 更新代码映射表(Update Codemaps)
|
||||
|
||||
Analyze the codebase structure and update architecture documentation:
|
||||
分析代码库结构并更新架构文档:
|
||||
|
||||
1. Scan all source files for imports, exports, and dependencies
|
||||
2. Generate token-lean codemaps in the following format:
|
||||
- codemaps/architecture.md - Overall architecture
|
||||
- codemaps/backend.md - Backend structure
|
||||
- codemaps/frontend.md - Frontend structure
|
||||
- codemaps/data.md - Data models and schemas
|
||||
1. 扫描所有源文件中的导入(imports)、导出(exports)和依赖关系
|
||||
2. 生成符合以下格式的 Token 精简版代码映射表(Codemaps):
|
||||
- `codemaps/architecture.md` - 整体架构
|
||||
- `codemaps/backend.md` - 后端结构
|
||||
- `codemaps/frontend.md` - 前端结构
|
||||
- `codemaps/data.md` - 数据模型与模式(Schemas)
|
||||
|
||||
3. Calculate diff percentage from previous version
|
||||
4. If changes > 30%, request user approval before updating
|
||||
5. Add freshness timestamp to each codemap
|
||||
6. Save reports to .reports/codemap-diff.txt
|
||||
3. 计算与上一版本的差异百分比
|
||||
4. 如果变更超过 30%,在更新前请求用户批准
|
||||
5. 为每个代码映射表(Codemap)添加更新时间戳
|
||||
6. 将报告保存至 `.reports/codemap-diff.txt`
|
||||
|
||||
Use TypeScript/Node.js for analysis. Focus on high-level structure, not implementation details.
|
||||
使用 TypeScript/Node.js 进行分析。侧重于高层级结构,而非实现细节。
|
||||
|
||||
Reference in New Issue
Block a user