docs: 完成所有文档的中文翻译并应用到项目

This commit is contained in:
xuxiang
2026-01-28 00:12:54 +08:00
parent 0ced59a26b
commit e133f58e1c
76 changed files with 6808 additions and 6170 deletions

View File

@@ -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 进行分析。侧重于高层级结构,而非实现细节。