repo-audit
深度分析 repo 结构、逻辑、依赖和配置,生成结构化审计报告。 产出两份文档:docs/repo-audit.md(人读)和 docs/repo-audit.json(机读,供 repo-tidy 消费)。 分析优先级:项目结构 > 逻辑疑问 > 代码重复 > 配置管理 > 死代码 > 硬编码 > 依赖健康。 所有不确定的发现收集为问题,一次性呈现给用户批量回答。 TRIGGER when: "审计 repo", "audit repo", "分析项目结构", "repo 理解", "帮我理解这个项目", "review repo structure", or /repo-audit command. DO NOT TRIGGER when: user wants to clean/tidy files (use repo-tidy), user wants to refactor code logic (use optimize), user wants to plan a new feature (use ccplan), user wants a code overview document (use summarize).