migrate
Installation
SKILL.md
Angular 21+ Migration: $ARGUMENTS
If $ARGUMENTS is empty, ask the user for a component path or folder before proceeding.
Phase 1: Analyze
Read all files in the target path. For each component, directive, or service, scan for migration items below. If a folder is given, process all .ts and .html files within it.
What to migrate
Inputs / Outputs / Models:
@Input()→input()orinput.required()@Input()with setter →input()+linkedSignal()(preferred) oreffect()(only for DOM side effects)@Input()+@Output()pair (e.g.value/valueChange) →model()@Output()→output()- Boolean inputs: add
{ transform: booleanAttribute } - Number inputs: add
{ transform: numberAttribute }