Skip to content
Back to skills

Angular Router Angular V22 Router Upgrade Contracts

ASecurity

Use this skill when Angular 22 changes affect route configuration, guards, redirects, route reuse, or navigation behavior.

  • 5 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added October 2, 2026
developmenttypescriptgoangularapi

Works with

  • api

Security analysis

A100/100

Scanned November 9, 2026

npx -y skills add janpereira-dev/ngAutoPilot --skill angular-v22-router-upgrade-contracts --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Angular Router Angular V22 Router Upgrade Contracts?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Angular  Router  Angular V22 Router Upgrade Contracts
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/janpereira-dev-angular-router-angular-v22-router-upgrade-contract/badge)](https://www.skillsdirectory.com/skills/janpereira-dev-angular-router-angular-v22-router-upgrade-contract)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
id: angular.router.angular-v22-router-upgrade-contracts
name: Angular v22 Router Upgrade Contracts
description: >
  Use this skill when Angular 22 changes affect route configuration, guards, redirects, route reuse, or navigation behavior.
stack:
  - Angular
  - TypeScript
category: router
status: stable
version: 0.11.0
owner: NgAutoPilot
triggers:
  - router
  - provideRouter
  - CanMatch
  - paramsInheritanceStrategy
  - route cleanup
compatibility:
  angular:
    min: "22"
---

# Angular v22 Router Upgrade Contracts

## Purpose

Use this skill when Angular 22 changes affect route configuration, guards, redirects, route reuse, or navigation behavior.

## When to Use

Use this skill when:

- The bootstrap router config needs a v22 update.
- Guards, redirects, or route reuse rely on older contracts.
- The app depends on route parameter inheritance or navigation behavior.

## When Not to Use

Do not use this skill when:

- The issue is only a template syntax problem.
- No route config or navigation contract changed.
- The task is already covered by a more specific routing satellite.

## Required Inputs

- bootstrap route config
- guards and redirects
- route reuse strategy
- router tests

## Procedure

1. Review the router bootstrap and remove deprecated config patterns.
2. Update guard signatures and route parameter assumptions.
3. Check route reuse and cleanup behavior if cached views are involved.

## Do

- Use the supported router configuration path.
- Keep guard contracts explicit.
- Validate the route behavior after changing defaults.

## Do Not

- Do not keep deprecated route helpers in new code.
- Do not assume the old route parameter inheritance still applies.
- Do not ignore cached-route cleanup when memory matters.

## Review Checklist

- [ ] Router config uses the supported API.
- [ ] Guard signatures still compile.
- [ ] Route tests pass with the new defaults.

## Expected Output

1. A router contract summary.
2. The changed defaults or APIs.
3. Validation evidence.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.