rewrite-planner

Plan component-by-component rewrites using the Strangler Fig pattern.

Updated Mar 30, 2026
One-click install
npx skills add https://github.com/EmeaAppGbb/spec2cloud-microhack-greenfield --skill rewrite-planner
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rewrite-planner
Source: https://github.com/EmeaAppGbb/spec2cloud-microhack-greenfield/tree/main/.github/skills/rewrite-planner
Command: npx skills add https://github.com/EmeaAppGbb/spec2cloud-microhack-greenfield --skill rewrite-planner

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill simplifies the complex task of rewriting software components incrementally, ensuring a smooth transition without disruption to the existing stack.

Core Features & Use Cases

  • Incremental Rewrite Planning: Create a comprehensive plan for component-by-component technology stack migration.
  • Strangler Fig Pattern: Follows the Strangler Fig pattern for rewriting without downtime.
  • Dependency Analysis: Automatically analyzes component dependencies to ensure a sequential rewrite plan.
  • Coexistence Strategy: Defines how the old and new components will coexist and cutover seamlessly.
  • Behavioral Deltas Documentation: Ensures all potential changes are documented for testing and deployment.

Quick Start

Plan the rewrite of the User Service from Express to Fastify.

Frequently Asked Questions about rewrite-planner

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

FAQPage Schema
How do I plan an incremental rewrite for a technology stack migration?

Incremental rewrite planning automates component-by-component migration by analyzing dependencies and mapping a sequential rewrite path. This ensures each step is documented and safely executed without disrupting the existing stack.

What is the Strangler Fig pattern and how does it apply to code migration?

The Strangler Fig pattern enables code migration by gradually replacing existing components with new ones while both coexist. It ensures service availability remains uninterrupted throughout the sequential rewrite process.

How does dependency analysis determine the sequence for a component rewrite?

Dependency analysis automatically examines component relationships to establish a safe sequential rewrite order. This mapping prevents breaking dependent services and ensures the coexistence strategy remains stable.

Can I use this approach to migrate microservices without downtime?

Yes, this approach supports zero-downtime technology stack migration by defining a coexistence strategy for old and new components. It documents behavioral deltas to facilitate safe testing and seamless cutover.

What's the best way to document behavioral deltas during a component rewrite?

Documenting behavioral deltas during a component rewrite involves recording all potential changes in each increment. This documentation facilitates testing and deployment by ensuring no unexpected behaviors escape the migration.