angular-migration
Migrate from AngularJS to Angular using hybrid mode, incremental component rewriting, and dependency injection updates.
Skill by 0xzahed
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/0xzahed-angular-migration
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: frontend
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions: not checked yet.
What's inside
- Skill name
angular-migration- Description
- Migrate from AngularJS to Angular using hybrid mode, incremental component rewriting, and dependency injection updates. Use when upgrading AngularJS applications, planning framework migrations, or modernizing legacy Angular code.
- License
- MIT
- Instructions
- 425 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Angular Migration
Master AngularJS to Angular migration, including hybrid apps, component conversion, dependency injection changes, and routing migration.
## Use this skill when
- Migrating AngularJS (1.x) applications to Angular (2+)
- Running hybrid AngularJS/Angular applications
- Converting directives to components
- Modernizing dependency injection
- Migrating routing systems
- Updating to latest Angular versions
- Implementing Angular best practices
## Do not use this skill when
- You are not migrating from AngularJS to Angular
- The app is already on a modern Angular version
- You need only a small UI fix without framework changes
## Instructions
1. Assess the AngularJS codebase, dependencies, and migration risks.
2. Choose a migration strategy (hybrid vs rewrite) and define milestones.
3. Set up ngUpgrade and migrate modules, components, and routing.
4. Validate with tests and plan a safe cutover.
## Safety
- Avoid big-bang cutovers without rollback and staging validation.
- Keep hybrid compatibility testing during incremental migration.
## Migration Strategies
### 1. Big Bang (Complete Rewrite)
- Rewrite entire app in Angular
- Parallel development
- Switch over at once
- **Best for:** Small apps, green field projects
### 2. Incremental (Hybrid Approach)
- Run AngularJS and Angular side-by-side
- Migrate feature by feature
- ngUpgrade for interop
- **Best for:** Large apps, continuous delivery
### 3. Vertical Slice
- Migrate one feature completely
- New features in Angular, maintain old in AngularJS
- Gradually replace
- **Best for:** Medium apps, distinct features
## Hybrid App Setup
```typescript
// main.ts - Bootstrap hybrid app
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
import { UpgradeModule } from '@angular/upgrade/static';
import { AppModule } from './app/app.module';
platformBrowserDynamic()
.bootstrapModule(AppModule)
.then(platformRef => {
const upgrade = platformRef.injector.get(UpgradeModule);
// Bootstrap AngularJS
upgrade.bootstrap(document.body, ['myAngularJSApp'], { strictDi: true });
});
```
```typescript
// app.module.ts
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { UpgradeModule } from '@angular/upgrade/static';
@NgModule({
imports: [
BrowserModule,
UpgradeModule
]
})
export class AppModule {
constructor(private upgrade: UpgradeModule) {}
ngDoBootstrap() {
// Bootstrapped manually in main.ts
}
}
```
## Component Migration
### AngularJS Controller → Angular Component
```javascript
// Before: AngularJS controller
angular.module('myApp').controller('UserController', function($scope, UserService) {
$scope.user = {};
$scope.loadUser = function(id) {
UserService.getUser(id).then(function(user) {
$scope.user = user;
});
};
$scope.saveUser = function() {
UserService.saveUser($scope.user);
};
});
```
```typescript
// After: Angular component
import { Component, OnInit } from '@angular/core';
import { UserService } from './user.service';
@Component({
selector: 'app-user',
template: `
<div>From 0xzahed/antigravity-skills, MIT.
More from 0xzahed/antigravity-skills
- 0.528score
api-contract-auditor
0xzahed
Audit API contracts for correctness and consistency.
SkillBFreshness: BClaude Code +9 - 0.524score
ambiguity-detection
0xzahed
Detect ambiguous or contradicting wording in requirements and specs.
SkillBFreshness: BClaude Code +9 - 0.523score
abac-engineering
0xzahed
Design attribute-based access control.
SkillBFreshness: BClaude Code +9 - 0.523score
acceptance-criteria
0xzahed
Write and refine acceptance criteria for user stories.
SkillBFreshness: BClaude Code +9 - 0.523score
adr-engineering
0xzahed
Record architecture decisions with ADRs.
SkillBFreshness: BClaude Code +9 - 0.523score
alerting-engineering
0xzahed
Design alerting that gets paged for the right reasons.
SkillBFreshness: BClaude Code +9 - 0.523score
angular-development
0xzahed
Build Angular applications.
SkillBFreshness: BClaude Code +9 - 0.523score
api-error-handling
0xzahed
Design API error responses.
SkillBFreshness: BClaude Code +9 - 0.523score
api-migration
0xzahed
Migrate APIs without breaking consumers.
SkillBFreshness: BClaude Code +9 - 0.523score
api-contracts
0xzahed
Design clear, consistent API contracts.
SkillBFreshness: BClaude Code +9 - 0.517score
antigravity-skills-manager
0xzahed
Global skills manager for Google Antigravity.
SkillBFreshness: BClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Jan 18, 2026 (9 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/0xzahed/antigravity-skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
- 0.449score
angular-migration
agent-skills-hub
Migrate from AngularJS to Angular using hybrid mode, incremental component rewriting, and dependency injection updates.
SkillDFreshness: D★ 123Claude Code +9 - 0.293score
angular-migration
alexander-kastil
Migrate from AngularJS to Angular using hybrid mode, incremental component rewriting, and dependency injection updates.
SkillDFreshness: D★ 19Claude Code +9 - 0.290score
angular-migration
roadsidedev
Migrate from AngularJS to Angular using hybrid mode, incremental component rewriting, and dependency injection updates.
SkillDFreshness: D★ 20Claude Code +9 - 0.285score
angular-migration
jiho00seo-dev
Migrate from AngularJS to Angular using hybrid mode, incremental component rewriting, and dependency injection updates.
SkillDFreshness: D★ 10Claude Code +9 - 0.279score
angular-migration
haresh-sai06
Migrate from AngularJS to Angular using hybrid mode, incremental component rewriting, and dependency injection updates.
SkillCFreshness: CClaude Code +9 - 0.259score
angular-migration
jyjeanne
Migrate from AngularJS to Angular using hybrid mode, incremental component rewriting, and dependency injection updates.
SkillDFreshness: D★ 1Claude Code +9 - 0.243score
angular-migration
abdellaziz-ali
Migrate from AngularJS to Angular using hybrid mode, incremental component rewriting, and dependency injection updates.
SkillDFreshness: DClaude Code +9 - 0.243score
angular-migration
KignLeon
Migrate from AngularJS to Angular using hybrid mode, incremental component rewriting, and dependency injection updates.
SkillDFreshness: DClaude Code +9
More from 0xzahed
- 0.528score
api-contract-auditor
0xzahed
Audit API contracts for correctness and consistency.
SkillBFreshness: BClaude Code +9 - 0.524score
ambiguity-detection
0xzahed
Detect ambiguous or contradicting wording in requirements and specs.
SkillBFreshness: BClaude Code +9 - 0.523score
abac-engineering
0xzahed
Design attribute-based access control.
SkillBFreshness: BClaude Code +9 - 0.523score
acceptance-criteria
0xzahed
Write and refine acceptance criteria for user stories.
SkillBFreshness: BClaude Code +9 - 0.523score
adr-engineering
0xzahed
Record architecture decisions with ADRs.
SkillBFreshness: BClaude Code +9 - 0.523score
alerting-engineering
0xzahed
Design alerting that gets paged for the right reasons.
SkillBFreshness: BClaude Code +9
Cite this page
angular-migration skill. Agent Mart. https://agentmart.dev/skills/0xzahed-angular-migration (last updated 2026-10-24)