appmod-hooks

Хуки жизненного цикла для координатора modernize-rearchitecture. Определяет точки подключения, зарегистрированные действия и правила выполнения.

npx skills add https://github.com/microsoft/github-copilot-modernization --skill appmod-hooks

appmod-hooks

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

Hook Points

PointWhenCoordinator context
before_allAfter DAG is generated, before first task dispatchFull DAG available, no tasks started
before_taskBefore dispatching each workerTask ID and role known, profile read for Progress
after_taskAfter worker returns and verify passesTask 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_allAfter 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

Больше skills от microsoft

oss-growth
microsoft
Персона OSS-хакера роста
official
accessibility-aria-expert
microsoft
Обнаруживает и исправляет проблемы доступности в веб-представлениях React/Fluent UI. Используйте при проверке кода на совместимость с экранными дикторами, исправлении ARIA-меток, обеспечении…
official
generate-canvas-app
microsoft
[УСТАРЕЛО — используйте canvas-app] Создать полное приложение Power Apps canvas.
official
django
microsoft
Лучшие практики веб-разработки на Django, включая модели, представления, шаблоны и тестирование.
official
github-issue-creator
microsoft
Преобразует сырые заметки, журналы ошибок, голосовой ввод или скриншоты в четкие отчеты о проблемах в формате GitHub-flavored markdown. Используется, когда пользователь вставляет информацию об ошибке, сообщение об ошибке…
official
python-package-management
microsoft
Использует uv для управления зависимостями и poethepoet для автоматизации задач.
official
runtime-validation
microsoft
Проверка во время выполнения для перенесённых приложений — охватывает стратегию тестирования (этап планирования) и выполнение тестов (этап валидации): проверка запуска,…
official
azure-postgres-ts
microsoft
Подключение к Azure Database for PostgreSQL Flexible Server с использованием пакета pg (node-postgres) с поддержкой аутентификации по паролю и Microsoft Entra ID (без пароля).
official