migration-accelerator

Generate microservice code across all layers from PHP Yii2 monolith controllers.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/rawhit-r/ai-files --skill migration-accelerator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: migration-accelerator
Source: https://github.com/rawhit-r/ai-files/tree/main/.gemini/migration-accelerator
Command: npx skills add https://github.com/rawhit-r/ai-files --skill migration-accelerator

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Fast migration of monolith features to microservices by reading a monolith controller/model, analyzing its behavior, and generating the equivalent microservice code across all layers (backend controller, service, model, events, frontend controller, views). Use when migrating a feature from the monolith, porting a controller, or saying "migrate X from monolith".

Core Features & Use Cases

  • Reads a PHP Yii2 monolith controller and its models/views, analyzes business logic, and generates the equivalent microservice code across all layers following the project's microservice patterns.
  • Not a copy — performs transformations to align with microservice architecture.
  • Use cases include migrating a monolith feature, porting a controller, or bulk feature migration to microservices.

Quick Start

Provide the feature migration by reading the monolith code and generating the microservice equivalent.

Frequently Asked Questions about migration-accelerator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I migrate a monolith controller to a microservice architecture?

Migrating a monolith controller to a microservice involves reading the existing controller and models, analyzing the business logic, and generating equivalent code across backend, service, model, events, and frontend layers. The process performs architectural transformations rather than simply copying files.

Does the migration tool support PHP Yii2 framework projects?

Yes, the tool specifically reads PHP Yii2 monolith controllers along with their models and views to analyze behavior. It then generates equivalent microservice code that aligns with your project's established patterns and conventions.

What layers are generated when porting a monolith feature to microservices?

Porting a monolith feature generates equivalent microservice code across multiple layers, including backend controllers, services, models, events, and frontend controllers and views. It ensures the generated code adheres to your established microservice architecture.

Can I use this for bulk feature migration from a monolith?

Yes, you can use this for bulk feature migration by reading monolith code and generating the microservice equivalents. It is designed for porting individual controllers or migrating entire features from the monolith into distributed services.

Is the generated microservice code a direct copy of the monolith?

No, the generated microservice code is not a direct copy of the monolith. The tool applies transformations to the business logic to ensure the output properly aligns with the project's specific microservice architecture and conventions.