# Migrate AngularJS Applications to Modern Angular

AngularJS modernization is complex across components, services, routing, forms, and dependency injection. This skill guides staged Angular migration with ngUpgrade patterns, examples, milestones, and validation practices.

## Install

```bash
npx skillstore add sickn33/angular-migration
```

## Metadata

- Status: approved
- Slug: sickn33-angular-migration
- Skillstore revision: r2
- Version status: missing
- Tree hash: 9deef2553d45cced64f4aba601d20de21e5bbf05767d781d92e8d5fefa751c18
- Author: sickn33
- GitHub username: sickn33
- License: MIT
- Repository: https://github.com/sickn33/antigravity-awesome-skills/tree/main/skills/angular-migration
- Ref: ebdfe608f5de2b66ff37ab4af12af8ac4f5e8006
- Supported tools: Claude, Codex, Claude Code
- Audit status: complete
- Agent install advisory: allowed
- Manual install advisory: allowed
- Artifact signature: available
- Audit attestation: unavailable
- Human verification: not\_verified
- Risk factors: external\_commands, network
- Quality score: 78
- Quality tier: bronze
- Public page: https://skillstore.pages.dev/skills/sickn33-angular-migration
- Manifest: https://skillstore.pages.dev/api/skills/sickn33-angular-migration/manifest

## Capabilities

- Compares complete rewrite, incremental hybrid, and vertical-slice migration strategies.
- Explains ngUpgrade bootstrap configuration for AngularJS and Angular interoperability.
- Shows controller and directive conversion patterns for Angular components.
- Maps service and dependency injection bridges between both frameworks.
- Demonstrates routing, HTTP service, and form migration patterns.
- Outlines phased milestones, testing guidance, best practices, and common pitfalls.

## Use Cases

- Plan a Legacy Application Migration: Select a migration strategy, identify milestones, and define rollback and validation checkpoints.
- Convert AngularJS Features: Translate controllers, directives, services, routes, and forms into modern Angular patterns.
- Review Hybrid Architecture: Evaluate ngUpgrade bootstrap, dependency injection bridges, compatibility testing, and incremental deployment risks.

## Prompt Templates

### Choose a Migration Strategy

```
Compare complete rewrite, incremental hybrid, and vertical-slice strategies for my AngularJS application. Recommend one based on team size, release cadence, and risk.
```

### Create a Migration Roadmap

```
Create a phased AngularJS-to-Angular roadmap for this application. Include services, shared components, routing, forms, feature slices, tests, rollback points, and cleanup.
```

### Convert a Legacy Feature

```
Review this AngularJS controller, directive, service, and route. Propose Angular equivalents, explain interoperability needs, and list tests required before deployment.
```

### Design a Hybrid Migration

```
Design an ngUpgrade architecture for this repository. Map bootstrap flow, upgraded and downgraded dependencies, routing ownership, build constraints, migration order, and exit criteria.
```

## Limitations

- The skill provides guidance and examples; it does not inspect repositories or execute migrations automatically.
- Examples use generic names and require adaptation to the application and installed Angular versions.
- The audited package does not include the companion references, assets, or analysis script listed in the guide.
- Timeline estimates do not account for application size, test coverage, dependencies, or team capacity.

## Best Practices

- Inventory dependencies and test coverage before selecting a migration strategy.
- Migrate incrementally with compatibility tests, staged releases, and explicit rollback points.
- Track remaining AngularJS ownership and define measurable ngUpgrade exit criteria.

## Anti Patterns

- Do not start a complete rewrite without validated scope, staffing, and rollback plans.
- Do not migrate user interfaces before stabilizing shared services and domain logic.
- Do not remove interoperability layers until all dependent AngularJS features are retired.

## Security Audit

- Audited at: 2026-07-23T19:20:37.483\+00:00
- Summary: All 50 static findings are false positives caused by code fences, template literals, illustrative same-origin HTTP examples, and ordinary migration language. The skill contains instructional prose and examples; it does not execute commands, perform reconnaissance, or direct data exfiltration. No prompt injection or other intent-level risk was found.

## Stats

- Views: 123
- Downloads: 10
- Favorites: 0
- Popularity score: 0
