初始化项目 AI 上下文,生成/更新根级与模块级 CLAUDE.md 索引
Initializes project AI context by generating root and module-level CLAUDE.md indexes with Mermaid diagrams and navigation breadcrumbs.
/plugin marketplace add ysicing/code-pilot/plugin install ysicing-code-pilot@ysicing/code-pilot<项目摘要或名称>/re-init <项目摘要或名称>
以"根级简明 + 模块级详尽"的混合策略初始化项目 AI 上下文:
CLAUDE.md(高层愿景、架构总览、模块索引、全局规范)。CLAUDE.md(接口、依赖、入口、测试、关键文件等)。CLAUDE.md 中自动生成 Mermaid 结构图,并为每个模块 CLAUDE.md 添加导航面包屑。步骤 1:调用 get-current-datetime 子智能体获取当前时间戳。
步骤 2:调用一次 init-architect 子智能体,输入:
project_summary: $ARGUMENTScurrent_timestamp: (来自步骤1的时间戳)/init-project 时按上次索引做增量更新与断点续扫。CLAUDE.md 是否创建/更新、主要栏目概览。CLAUDE.md 的生成/更新情况。