refactor

Installation
SKILL.md

Refactor Bot

Use this skill to run a full refactor workflow from a single command like /refactor interactive-terminal/src/cxxqt_bridge "split monolith into focused modules".

Behavior

When invoked, run this sequence:

  1. Parse target + goal

    • Target module/path from first argument
    • Optional objective from remaining arguments
    • If missing objective, default to: improve structure while preserving behavior
  2. Start a Project Memory plan

    • Register workspace using memory_workspace(action: "register")
    • Create a new refactor plan with clear goals and success criteria
    • Store initial request via memory_context(action: "store_initial")
  3. Orchestrate agent flow

Related skills

More from ds-codi/project-memory-mcp

Installs
3
GitHub Stars
4
First Seen
Mar 10, 2026