angular-upgrade

Installation
SKILL.md

Angular Upgrade (One Major Version)

This skill upgrades an Angular project by exactly one major version (e.g., 14 -> 15, not 14 -> 16). It uses the Angular CLI's ng update with --create-commits so each package update is an individual commit, runs validation (lint, tests, build), and stops to ask the user if anything fails.

Prerequisites

Before starting, verify:

  • You're in the root of an Angular project (has angular.json and package.json)
  • The git working tree is clean (git status shows no uncommitted changes)
  • node_modules exists (run the install command if needed)
  • Detect the package manager: look for yarn.lock (yarn), pnpm-lock.yaml (pnpm), or default to npm. Use the detected package manager for all install/run commands throughout this workflow.

If the working tree is dirty, stop and ask the user to commit or stash first.

Step 1: Detect Current and Target Versions

Related skills
Installs
2
First Seen
Apr 10, 2026