cm-reactor

Identify strategic direction gaps between requirements and architecture.

48|23|Updated Mar 17, 2026
One-click install
npx skills add https://github.com/tody-agent/codymaster --skill cm-reactor
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cm-reactor
Source: https://github.com/tody-agent/codymaster/tree/main/skills/cm-reactor
Command: npx skills add https://github.com/tody-agent/codymaster --skill cm-reactor

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

When the code works but the direction is wrong, you don't debug — you REACT. TRIZ-powered protocol for pivoting large codebases without losing stability. Large software projects frequently face shifting requirements, misaligned architectures, and accumulating tech debt that makes big rewrites risky. This skill provides a formal, incremental approach to re-align direction without destabilizing the system.

Core Features & Use Cases

  • Phase-based migration without big-bang rewrites: ASSESS, MAP, DESIGN, EXECUTE, VERIFY to guide safe transitions.
  • Dependency analysis: map touchpoints and blast radius before changing anything (with optional code intelligence workflows).
  • Strangler Fig migration: create adapters, implement new functionality behind interfaces, and gradually migrate consumers.
  • Safe, test-driven progress: every step must pass tests; commits are clearly labeled with reactor milestones; feature flags and adapters help isolate changes.
  • Tooling integration: coordinates with CodyMaster core skills such as cm-brainstorm-idea, cm-codeintell, cm-planning, cm-execution, cm-tdd, cm-clean-code, cm-debugging, and cm-continuity to manage the migration lifecycle.

Quick Start

Start by running a reactor assessment to identify misalignment between requirements, architecture, and tech debt, then follow the five-phase Migration Path to implement an incremental Strangler Fig migration.

Frequently Asked Questions about cm-reactor

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

FAQPage Schema
How do I refactor a large codebase when architecture no longer fits evolving requirements?

To refactor a large codebase with architecture misfit, apply a structured five-phase incremental migration process: assess gaps, map dependencies, design adapters, execute strangler fig migration, and verify transitions to realign direction without risky big-bang rewrites.

What is the safest way to migrate legacy code without destabilizing the system?

Safe legacy code migration uses the Strangler Fig pattern by creating adapters, implementing new functionality behind interfaces, and gradually migrating consumers while ensuring every step passes tests and changes are isolated with feature flags.

How do I map dependency blast radius before changing a large codebase?

Mapping dependency blast radius requires analyzing touchpoints across the codebase before modifying architecture, utilizing code intelligence workflows to identify impacted consumers and safely plan incremental migrations.

When should I use incremental migration instead of a full system rewrite?

Incremental migration is necessary when a large codebase faces feature drift, architecture misfit, or escalating tech debt, preventing futile rewrites by realigning strategic direction through adapter-first design and test-enabled transitions.

Can I use this TRIZ-based reactor approach for codebases with escalating tech debt?

The TRIZ-based reactor approach specifically targets large codebases with escalating tech debt, applying a formal five-phase protocol to identify strategic direction gaps and enable safe, incremental migrations without losing system stability.

How do I execute a phase-based migration across existing architecture touchpoints?

Executing phase-based migration involves following the ASSESS, MAP, DESIGN, EXECUTE, and VERIFY phases to guide safe transitions, mapping dependency touchpoints first, then using adapters and feature flags to incrementally migrate consumers.