From code-analyzer
项目整体代码扫描。当用户要求"分析项目结构"、"扫描项目"、"了解项目模块分布"时触发。 识别模块分布(第三方库、底层模块、业务模块),明确各模块边界和层级关系。
How this skill is triggered — by the user, by Claude, or both
Slash command
/code-analyzer:full-scanThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
执行项目整体代码扫描,识别模块分布并生成项目结构文档。
执行项目整体代码扫描,识别模块分布并生成项目结构文档。
定位:宏观概览。 关注"有哪些模块、它们属于哪一层",不深入分析模块内部的类关系和依赖细节。
如需深入分析某个模块的内部结构、依赖和流程,请使用 module-analyzer。
本 Skill 接收以下参数(由 analyst agent 传递):
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
scope | string | 是 | 扫描路径,通常为 . 表示项目根目录 |
output_file | string | 是 | 输出文件路径,由调用方指定 |
开始执行
[full-scan] 开始执行整体扫描,scope=${scope}, output=${output_file}扫描项目结构
Glob 遍历目录树(遵循 .claudeignore 忽略规则)Bash(wc -l ...) 统计代码量,用 Glob 统计语言分布加载领域知识
${CLAUDE_PLUGIN_ROOT}/docs/game-glossary.md,用于第三方库识别和模块功能分类模块识别与分类
第三方库识别:
third_party/、external/、libs/、vendor/ 等目录game-glossary.md 中间件列表,将 Wwise、FMOD、Spine 等识别为对应类别底层模块识别:
业务模块识别:
game-glossary.md 目录命名映射表,将目录名映射到功能分类引擎级关键流程概览(如能识别)
Grep 搜索程序入口(main 函数、入口注解等),梳理初始化顺序汇总架构健康度评估
生成分析报告(强制执行)
警告:必须严格遵循以下模板结构,不得自由发挥。任何偏离模板的行为都是错误的。
要求:
output_file[📄 描述](路径#L行号) 格式模板文件:${CLAUDE_PLUGIN_ROOT}/docs/templates/full-scan-template.md
output_filenpx claudepluginhub hproof/claude-market-gamedev --plugin code-analyzerIdentifies all modules in a codebase at both directory and file granularity. Categorizes into business, persistence, interface, infrastructure, and utility layers. For analyzing structure, boundaries, and architecture.
Deeply explores existing codebases to map architecture, data flow, domain model, API surface, dependencies, and code health using read-only SubAgents.