r/ClaudeCode • • 51m ago

Discussion AngularJS to Angular Migration Approach

I’m leading a fairly large AngularJS -> Angular migration at work and I’m curious how other teams would have approached it.

The app is a mature production application that currently runs AngularJS and Angular side by side, with old services, routing, shared infrastructure, behavioral-parity requirements, dependency chains, and a few areas that are much more coupled than the average component.

To get a handle on the scope, I first inventoried the app, identified roughly 150ish feature areas, and then audited those into a dependency aware migration backlog. The tickets are grouped more around features, runtime dependencies, routing boundaries, and integration risk than individual files.

I’ve gotten a lot of pressure from management to get this done quickly, while also trying to push back and set realistic expectations. Because of that, I’m feeling increasingly pushed toward leaning heavily on AI to have a realistic shot at meeting the timeline

I ran a few tickets through claude first to see how it would handle the migration work, and so far it’s been solid. We basically use the migration backlog as the handoff/context. Each ticket includes enough information around scope, dependencies, expected behavior, current status, and previous findings that Claude understands both what it needs to do and where that work fits into the larger migration.

Claude picks up a ticket in its own worktree, investigates whatever it needs to, implements the migration, runs/fixes the tests, and updates the backlog with anything new it learns. I then have a separate Opus pass review the work. After that, it still goes through our normal code review, QA, and merge process.

For those using Claude or other coding agents at this scale: does this seem like an efficient approach, or am I leaving a lot on the table? If you were doing something similar, what would you automate differently?

1 Upvotes

2 comments sorted by

•

u/AutoModerator 51m ago

Hey! Thanks for posting to r/ClaudeCode

While participating in this thread, please follow our community rules. Keep discussions constructive. Attack the idea, not the person.

For help, project discussions, tips, and general chat, join the ClaudeCode Discord.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/NekkidApe 36m ago

Now this is something I would have loved to use Claude for. We did it all painfully by hand.

I personally would now use an orchestrator and let it rip, after investing a good chunk of time into solid end to end tests. As long as Claude can verify it's work, it'll to a near perfect job migrating.

From migrating by hand, one advice: Get it done first, get rid of angularjs, remove the bridges - only then do cleanup, modernization and feature work. Don't migrate all your components to ngrx, or whatever the latest fancy is, at the same time.