Skip to content
Back to skills

Angular Upgrade Router Angular V13 Router Lazy Route Cleanup

ASecurity

Clean up legacy Angular router lazy route syntax before or during Angular 13 migration.

  • 4 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 2, 2026
developmenttypescriptgoangular

Security analysis

A100/100

Scanned October 2, 2026

npx -y skills add janpereira-dev/ngAutoPilot --skill angular--upgrade--router--angular-v13-router-lazy-route-cleanup --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Angular Upgrade Router Angular V13 Router Lazy Route Cleanup?

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

Security grade badge for Angular  Upgrade  Router  Angular V13 Router Lazy Route Cleanup
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/janpereira-dev-angular-upgrade-router-angular-v13-router-lazy-rou/badge)](https://www.skillsdirectory.com/skills/janpereira-dev-angular-upgrade-router-angular-v13-router-lazy-rou)

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.upgrade.router.angular-v13-router-lazy-route-cleanup
name: Angular v13 Router Lazy Route Cleanup
description: >
  Clean up legacy Angular router lazy route syntax before or during Angular 13 migration.
stack:
  - Angular
  - TypeScript
category: router
status: stable
version: 0.10.0
owner: NgAutoPilot
triggers:
  - Angular 13 router
  - lazy route cleanup
  - loadChildren strings
compatibility:
  angular:
    min: "13"
---

# Angular v13 Router Lazy Route Cleanup

## Purpose

Remove legacy lazy route syntax.

## When to Use

- Router config still contains legacy lazy route patterns.
- The project is moving through Angular 13.

## When Not to Use

- Routes already use dynamic imports.
- No router cleanup is needed.

## Required Inputs

- router config
- lazy routes
- navigation tests

## Procedure

1. Find legacy lazy routes.
2. Replace them with supported lazy imports.
3. Validate navigation.

## Do

- Keep routes explicit.
- Validate route loading.

## Do Not

- Do not keep legacy string syntax.

## Review Checklist

- [ ] Lazy routes updated.
- [ ] Tests pass.
- [ ] No legacy syntax remains.

## Expected Output

1. Lazy route cleanup summary.
2. Validation result.

## Exit Criteria

- Router lazy route syntax is modernized.

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.

Comments

Loading comments…