一键导入
appmod-hooks
Lifecycle hooks for the modernize-rearchitecture coordinator. Defines hook points, registered actions, and execution rules.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Lifecycle hooks for the modernize-rearchitecture coordinator. Defines hook points, registered actions, and execution rules.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Generate API and service communication contracts with sequence diagram
Generate architecture diagram with component relationship details from project analysis
Run application assessment for a single repository
Generate core business workflow documentation with sequence diagram
Generate comprehensive configuration and externalized settings inventory
Create a modernization plan to migrate the project to Azure
| name | appmod-hooks |
| description | Lifecycle hooks for the modernize-rearchitecture coordinator. Defines hook points, registered actions, and execution rules. |
Lifecycle hooks that fire at defined points during coordinator execution. Each hook point triggers registered actions in order.
| Point | When | Coordinator context |
|---|---|---|
before_all | After DAG is generated, before first task dispatch | Full DAG available, no tasks started |
before_task | Before dispatching each worker | Task ID and role known, profile read for Progress |
after_task | After worker returns and verify passes | Task artifact available, status decided. If all tasks in the current phase are now ✅, also execute phase-completion actions (git commit, commit-pin, phase counter increment) |
after_all | After completion criteria met (§3.7) | All tasks resolved |
See references/actions.yml for the action registry. Actions use dotted namespace: appmod.<domain>.<verb>.
optional: false actions MUST execute; optional: true actions execute only if their condition is met