npx claudepluginhub nwave-ai/nwave --plugin nw[refactoring-goal] - Optional: --complexity=[simple|moderate|complex] --visualization=[tree|graph]EXPERIMENTAL: Under active development. Behavior and output format may change between versions.
Wave: CROSS_WAVE
Agent: Crafty (nw-software-crafter)
Command: *mikado
Plan and execute complex refactoring using the Mikado Method. Builds dependency {visualization} through iterative exploration|tracks discoveries via commits|executes leaf-to-goal bottom-up. For architectural changes spanning multiple classes where simple refactoring is insufficient.
@nw-software-crafter
Execute *mikado for {refactoring-goal}.
Context Files:
Configuration:
Visualization labels: tree → "Tree", graph → "Graph". Use the selected visualization type in all output messages (e.g., "Wrote the Mikado tree" or "Wrote the Mikado graph").
Handoff To: {invoking-agent-returns-to-workflow} Deliverables: Refactored codebase + Mikado {visualization} documentation
/nw-mikado "Extract shared domain model from monolithic service layer"
Crafty builds Mikado dependency {visualization} through iterative exploration, discovers 12 leaf nodes across 4 modules, executes bottom-up from leaves to goal with discovery commits at each step.
docs/mikado/{goal-name}.mikado.md
src/* (refactored implementation)
Discovery-tracking commits in git log