Angular Migration

🌐Community
by wshobson · vlatest · Repository

Helps with Angular, migration as part of building frontend UIs and user experiences workflows.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add angular-migration npx -- -y @trustedskills/angular-migration
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "angular-migration": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/angular-migration"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

What it does

The angular-migration skill assists in migrating applications from AngularJS (1.x) to Angular (2+). It automates tasks like updating component structures, rewriting directives as components, and adjusting module configurations. This helps streamline the migration process by reducing manual effort and minimizing errors.

When to use it

  • You're upgrading an older AngularJS application to a newer version of Angular.
  • Your team is looking to modernize legacy code with more maintainable architecture.
  • You need guidance on refactoring directives, services, and modules for compatibility with Angular 2+.

Key capabilities

  • Converts AngularJS directives into Angular components.
  • Updates module definitions from AngularJS to Angular's NgModule format.
  • Rewrites controller-based logic into component classes.
  • Provides suggestions for replacing deprecated APIs with modern equivalents.

Example prompts

  • "Migrate this AngularJS directive to an Angular component."
  • "Update this AngularJS service to work in Angular 14."
  • "Refactor this AngularJS module into an NgModule format."

Tips & gotchas

  • Ensure your codebase is compatible with the target Angular version before running migrations.
  • Manual review is recommended after automated changes, as some logic may require adjustment for best practices.

Tags

🛡️

TrustedSkills Verification

Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.

Security Audits

Gen Agent Trust HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
wshobson
Installs
2.5k

🌐 Community

Passed automated security scans.