AGENT SKILL

架构重构生命周期钩子

appmod-hooks

用于 modernize-rearchitecture 协调器的生命周期钩子。定义钩子点、已注册的动作以及执行规则。

License 许可
MIT
最近更新
2026-09-24
Stars
★ 55
Forks
15

01 前言 Front Matter

name
appmod-hooks
description
Lifecycle hooks for the modernize-rearchitecture coordinator. Defines hook points, registered actions, and execution rules.

02 资源文件 24

03 SKILL.md 正文

appmod-hooks

Lifecycle hooks that fire at defined points during coordinator execution. Each hook point triggers registered actions in order.

Hook Points

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

Registered Actions

See references/actions.yml for the action registry. Actions use dotted namespace: appmod.<domain>.<verb>.

Execution Rules

  1. Actions within a hook point execute in order (top to bottom in the registry)
  2. An action that fails does NOT block subsequent actions — log the error and continue, unless the action explicitly declares itself a quality gate
  3. optional: false actions MUST execute; optional: true actions execute only if their condition is met
  4. The coordinator executes hook actions itself (shell commands for git, file writes for profile) — hooks are NOT delegated to workers
  5. A quality-gate action failure blocks dependent dispatch: keep the task pending or create a remediation task, then re-run the hook after the artifact is updated

04 同仓库更多 Skills

microsoft
microsoft/github-copilot-modernization

迁移后基线测试验证

verify-test-baseline

根据冻结的基线规范生成并运行迁移后测试。

测试工程师测试与质量保障
★ 55
microsoft
microsoft/github-copilot-modernization

团队连接信息与密钥申请

team-request

团队成员如何在团队模式下申请基础设施连接信息并处理密钥

普通用户凭证与密钥管理
★ 55
microsoft
microsoft/github-copilot-modernization

多智能体团队角色章程

team-charters

为多智能体编码团队提供角色章程(使命、职责范围、核心原则、质量标杆)。每份章程定义该角色的使命、职责范围、核心原则(边界约束)和质量标杆。大多数角色还包含沟通规则。协调者在任务分解时读取这些章程,以将工作分配给正确的角色。 触发场景:"查找角色章程"、"架构师负责什么"、"检查角色边界"、"查找团队角色"、"哪个角色处理 X"、"列出智能体章程"、"角色职责"。 不适用于:任务分解(使用 breaking-down-tasks)、代码实现(使用 implementing-code)、架构分析(使用 analyzing-architecture)。

AI 工程师编码任务委派
★ 55
microsoft
microsoft/github-copilot-modernization

Struts 2 至 Spring Boot 迁移

struts-to-spring

将 Apache Struts 2 应用程序迁移到 Spring Boot 3.x 和 Spring MVC 的迁移指南。

软件开发工程师开发参考
★ 55
microsoft
microsoft/github-copilot-modernization

Spring Boot 项目脚手架搭建

spring-boot-scaffolding

在重写迁移过程中创建新 Spring Boot 项目的参考指南。

软件开发工程师开发参考
★ 55
microsoft
microsoft/github-copilot-modernization

项目经验教训记录与共享

sharing-learnings

介绍如何记录项目经验教训,以便后续阶段的工作者和未来的智能体运行能够参考使用。

项目经理知识管理与沉淀
★ 55