mirror of
https://github.com/sweetwisdom/everything-claude-code-zh.git
synced 2026-03-22 06:20:10 +00:00
fix: restore missing files (package.json etc) and fix sync script logic
This commit is contained in:
17
docs/zh-TW/commands/update-codemaps.md
Normal file
17
docs/zh-TW/commands/update-codemaps.md
Normal file
@@ -0,0 +1,17 @@
|
||||
# 更新程式碼地圖
|
||||
|
||||
分析程式碼庫結構並更新架構文件:
|
||||
|
||||
1. 掃描所有原始檔案的 imports、exports 和相依性
|
||||
2. 以下列格式產生精簡的程式碼地圖:
|
||||
- codemaps/architecture.md - 整體架構
|
||||
- codemaps/backend.md - 後端結構
|
||||
- codemaps/frontend.md - 前端結構
|
||||
- codemaps/data.md - 資料模型和結構描述
|
||||
|
||||
3. 計算與前一版本的差異百分比
|
||||
4. 如果變更 > 30%,在更新前請求使用者批准
|
||||
5. 為每個程式碼地圖新增新鮮度時間戳
|
||||
6. 將報告儲存到 .reports/codemap-diff.txt
|
||||
|
||||
使用 TypeScript/Node.js 進行分析。專注於高階結構,而非實作細節。
|
||||
Reference in New Issue
Block a user