ghost

Modernize legacy codebases using strangler fig patterns and incremental migration.

5|Updated Feb 4, 2026
One-click install
npx skills add https://github.com/Rikinshah787/clawarmy --skill ghost-rikinshah787
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ghost
Source: https://github.com/Rikinshah787/clawarmy/tree/main/.cursor/skills/ghost
Command: npx skills add https://github.com/Rikinshah787/clawarmy --skill ghost-rikinshah787

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill tackles the challenge of modernizing outdated or legacy codebases, reducing technical debt and improving maintainability without the risks of a full rewrite.

Core Features & Use Cases

  • Legacy Modernization: Applies proven patterns like Strangler Fig and Branch by Abstraction.
  • Tech Debt Reduction: Assesses and systematically eliminates technical debt.
  • TypeScript Migration: Guides gradual migration from JavaScript to TypeScript.
  • Use Case: You have a critical but aging Node.js service written in plain JavaScript. This Skill can help you incrementally refactor it into a modern TypeScript service, ensuring tests pass at each step and minimizing downtime.

Quick Start

Use the ghost skill to refactor the legacy payment processing module using the strangler fig pattern.

Frequently Asked Questions about ghost

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

FAQPage Schema
How do I modernize legacy JavaScript code safely without a full rewrite?

You can modernize legacy JavaScript code safely by applying the strangler fig pattern to incrementally replace components. This approach systematically reduces technical debt and improves maintainability while ensuring tests pass at each step to minimize downtime.

What is the best way to migrate a Node.js service from JavaScript to TypeScript?

Migrating a Node.js service to TypeScript is best handled through gradual migration. This Skill guides you step by step through the process, allowing you to refactor aging modules incrementally while maintaining functionality and minimizing disruption to the service.

How does the strangler fig pattern work for legacy system refactoring?

The strangler fig pattern works by incrementally building new modern components around the edges of a legacy system. As new functionality replaces the old, the legacy system is gradually strangled and safely retired without risking a full rewrite.

Can I refactor a critical payment processing module while minimizing downtime?

Yes, you can refactor critical payment processing modules while minimizing downtime by using incremental migration patterns. Ensuring tests pass at each step allows you to systematically eliminate technical debt without disrupting ongoing service availability.

When should I use branch by abstraction for tech debt elimination?

Branch by abstraction is used for tech debt elimination when you need to refactor core dependencies without blocking ongoing development. It allows you to introduce an abstraction layer, swap implementations incrementally, and safely transition away from legacy systems.