Skip to content
OpenAgentSkill
Browsing is open · Catalog captured 2026-11-21 · Automatic updates and account services are paused.
Browser & automation

migration-migrate-module

Use when a complete module needs migration to the target architecture - runs 6 phases with approval gates.

herbert-julio-azion · Static checks on file

Installation

Read the source and dependencies before running a command. Copying does not install or execute anything.

npx skills add HerbertJulio/specialist-agent --skill migration-migrate-module

About this skill


name: migration-migrate-module description: "Use when a complete module needs migration to the target architecture - runs 6 phases with approval gates." user-invocable: true argument-hint: "[module-path]" allowed-tools: Read, Write, Edit, Bash, Glob, Grep

Migrate an entire module to the target architecture from docs/ARCHITECTURE.md.

Module/Path: $ARGUMENTS

Steps

Use @migrator to coordinate the full migration in phases:

  1. Phase 0 -- Analysis: Map the module (files, patterns, dependencies, NgModule vs standalone)
  2. Phase 1 -- Structure: Create src/modules/[name]/ and move files
  3. Phase 2 -- Types: Create .types.ts + .contracts.ts + adapter
  4. Phase 3 -- Services: Migrate to pure service (HttpClient only, inject(), no try/catch)
  5. Phase 4 -- State: BehaviorSubject -> signals, stores with WritableSignal + asReadonly()
  6. Phase 5 -- Components: NgModule -> standalone, @Input/@Output -> input()/output(), constructor -> inject(), OnPush
  7. Phase 6 -- Review: Validate conformance

Validate build/tsc/tests after each phase. Ask for approval before each phase.