The name
mahou (魔法) is Japanese for magic. Here, magic is the discipline of doing the right work in the right order — root cause before fix, design before code, verify before ship.
Discipline is magic
Root cause before fix
Investigate before acting. One hypothesis, one test, verify before continuing.
Design before code
Spec and plan before implementation. Know what you're building before you build it.
Verify before ship
Check the build against the spec. Nothing ships without passing verification.
How it works
Project
Initialize projects, research approaches, and map existing codebases.
Feature
Brainstorm specs, orchestrate implementation, and review against the plan.
Lifecycle
Resume sessions, verify the build, and ship pull requests.
The workflow
/mahou-brainstormDesign to spec before code.
/mahou-orchestratorExecute the plan task-by-task.
/mahou-verifyCheck implementation against spec.
/mahou-shipPush, create PR, ship it.
Commands
/mahou-brainstormDesign to spec before writing code.
/mahou-orchestratorExecute a plan task-by-task via subagents.
/mahou-verifyCheck implementation against the spec.
/mahou-shipPush, create a PR, and filter planning artifacts.
/mahou-debugRoot-cause investigation before any fix.