From oh-my-agent
Scans repository structure, entry points, configs, and commands; summarizes architecture, risks, and mappings; generates markdown files for persistent project context.
How this command is triggered — by the user, by Claude, or both
Slash command
/oh-my-agent:deep-initThe summary Claude sees in its command listing — used to decide when to auto-load this command
运行 oma `deep-init`。 目标: $ARGUMENTS 协议: 1. 扫描仓库结构、入口点、构建/测试命令和关键配置文件。 2. 总结架构边界和高风险区域。 3. 构建包含模块、职责和依赖热点的项目映射。 4. 在编码之前记录验证命令和已知约束。 5. 除非明确要求,否则在此步骤中不实现功能。 6. 如果文件系统工具可用,创建/更新: - `.oma/state/deep-init.md` - `.oma/state/project-map.md` - `.oma/state/validation.md` 输出格式: ## 深度初始化摘要 - 仓库类型: - 活动技术栈: - 关键入口点: ## 项目映射 | 区域 | 职责 | 风险 | 验证钩子 | | --- | --- | --- | --- | ## 护栏 - ... ## 建议的下一个命令 - `/oma:intent` 或 `/oma:team-plan`
运行 oma deep-init。
目标: $ARGUMENTS
协议:
.oma/state/deep-init.md.oma/state/project-map.md.oma/state/validation.md输出格式:
| 区域 | 职责 | 风险 | 验证钩子 |
|---|
/oma:intent 或 /oma:team-plannpx claudepluginhub sswym/oh-my-agent --plugin oh-my-agent/re-initInitializes project AI context: generates/updates root CLAUDE.md with Mermaid diagram, module indexes, and navigation breadcrumbs in module CLAUDE.md files. Provide project summary.
/map-codebaseAnalyzes existing repository and creates persistent codebase map in docs/project/codebase-map.md plus current status in docs/project/current.md. Optional focus area.
/init-projectScans a project and generates structured AI context documentation — navigation-only CLAUDE.md, detailed docs/PROJECT_CONTEXT.md and ARCHITECTURE.md, per-module CLAUDE.md files, and a metadata index.
/initCompiles full project context into a .first-plan directory: runs discovery on stacks, conventions, reuse, domain, risks; performs spec-code reconciliation and Git intelligence. Supports --force to rebuild.
/map-codebaseAnalyzes codebase using parallel mapper agents to produce structured .planning/codebase/ documents. Also supports --fast scan and --query intelligence modes.
/bootstrap-repoExplores the current repository with 10 parallel subagents to produce a comprehensive CODEBASE.md file containing full architecture analysis.