/omni-reverse:reverse-deep-logic-architecturefrom omni-reverse
Automatically identifies and generates deep logic architecture documentation from codebases, extracting business logic layers, data flow patterns, module dependencies, and decision logic centralization points.
Ships in omni-reverse. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
logic_architecture.md(Markdown),供按需反构和人工分析复用。reverse --target deep_logic_architecture ... 触发;--path / --files / --exclude 等参数确定分析范围(由入口命令解析并传入)。{REPO_ROOT}/omni-doc/on-demand/logic_architecture.md{REPO_ROOT}/omni-doc/on-demand/logic_architecture.cache-status.mdreverse 命令的关系reverse 在 --target deep_logic_architecture 时激活本 Skill。--target all 的默认全流程。{REPO_ROOT}/omni-doc/on-demand/logic_architecture.mdlogic_architecture.cache-status.mddeep-architecture-identifier(通过 Task 工具调用,详见阶段文档中的"子 Agent 调用规范"章节){REPO_ROOT}/omni-doc/on-demand/logic_architecture.mdAI Agent 在执行本 Skill 时,应读取上述文档并严格按照其中描述执行。
本 Skill 需要以下工具权限:
| 工具 | 用途 |
|---|---|
Read | 读取代码库文件,分析代码结构 |
Write | 写入 logic_architecture.md 和 logic_architecture.cache-status.md |
Agent | 通过 Task 工具调用 deep-architecture-identifier 子 Agent |
本 Skill 分为两个阶段,阶段间通过文件状态传递数据:
| 数据 | 传递方式 | 格式 |
|---|---|---|
| 缓存命中状态 | 文件可读性检查 | logic_architecture.md 是否存在且非空 |
| 识别结果 | 写入主产物文件 | logic_architecture.md(Markdown) |
| 执行状态 | 写入状态文件 | logic_architecture.cache-status.md(可选) |
依赖链约束:
logic_architecture.md 前验证文件非空(size > 0)cache-status.md 中的状态字段共同判定What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub zte-aicloud/co-omnispec --plugin omni-reverse12 skills in this plugin
/reverse执行 reverse 命令从代码库反构接口、架构、实体、场景、需求等要素,生成标准化文档。/reverse-entities实体清单与实体关系反构的编排Skill. 当 reverse 的 --target 为 entities 或 all 的实体阶段时触发./reverse-external-interfaces识别代码库中的外部依赖接口并生成标准化文档。扫描导入语句,将外部符号按系统/本库/外部分类,仅对有调用点的外部接口生成 EXTERNAL-API_xxx.md 和汇总文件。当用户执行 reverse --target external-interfaces 或 --target all 的外部接口阶段时触发。/reverse-functions功能清单与功能详情文档反构编排Skill。当用户提到"功能反构"、"reverse functions"、或执行 `reverse --target functions` 时自动触发。编排5个阶段:阶段0缓存检查、阶段1项目入口识别、阶段2场景识别、阶段3功能划分、阶段4功能文档生成。支持批量并发处理和缓存复用。Other plugins' skills for the same job