Skip to content
AI & Agents
Command

/update-codemaps

分析代码库结构并更新架构文档:

BOOST
From plugin
ai-max
33610 skills9 agents10 commands
Install
$ npx -y skills add zhukunpenglinyutong/ai-max --agent claude-code

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/update-codemaps

Context preview

What this command does when you run it.

分析代码库结构并更新架构文档:

Command definition

update-codemaps.md

更新代码地图

分析代码库结构并更新架构文档:

1. 扫描所有源文件的导入、导出和依赖关系 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 进行分析。专注于高层结构,而非实现细节。

Ships withai-max

这是基于 everything-claude-code 进行二次开发,提供npm一键安装方式,协议沿用MIT Claude Code 增强配置,开箱即用。 本仓库包含生产级 agents(代理)、skills(技能)、hooks(钩子)、commands(命令)、rules(规则)和 MCP 配置,帮助你快速提升 Claude Code 的使用体验。

Get the whole plugin

Other commands on ai-max.