Route PWDEV Code Intent to PWDEV Flow
Read migration before routing legacy initialization or project adoption. Read fleet and delegation before routing their respective operational commands.
Supported routing
| Legacy intent | Canonical skill |
|---|---|
init, session |
$flow-init |
quick |
$flow-quick |
discover |
$flow-discover |
design |
$flow-design |
plan |
$flow-plan |
execute |
$flow-execute |
review |
$flow-review |
verify |
$flow-verify |
product |
$flow-product |
memory |
$flow-memory |
simplify |
$flow-simplify |
health |
$flow-health |
maintenance |
$flow-maintenance |
audit |
$flow-audit |
fleet |
$flow-fleet |
delegate |
$flow-delegate auto |
codex |
$flow-delegate with explicit provider codex |
opencode |
$flow-delegate with explicit provider opencode |
kimi |
$flow-delegate with explicit provider kimi |
gemini |
$flow-delegate with explicit provider gemini |
kiro |
$flow-delegate with explicit provider kiro |
Procedure
- Parse only the legacy command name and user-supplied arguments. Use automatic provider selection only for
delegate; preserve the explicit provider for provider-named routes. - Report
ROUTE: <legacy> -> <canonical>. - Follow the canonical skill completely, including its inspection, safety, approval, artifact, and verification rules.
- Keep all new portable and operational state under
.planning/flow/; never translate Flow output back into.planning/fleet,.planning/delegation, or any other legacy layout. - When
initorsessionfinds.planning/config.jsonwithout.planning/flow/config.json, invoke the$flow-initmigration route and stop for approval after the read-only plan.
Constraints
- Compatibility never expands user authorization or bypasses canonical approval gates.
- Do not migrate files, enable audit, change Git, launch a fleet, install tools, or call external providers merely because a legacy command previously did so. Follow the routed skill's exact confirmation gates.
- Do not reuse legacy fleet bookkeeping, Docker projects, tmux sessions, branches, delegation output, or locks.
- Do not create one-off aliases or hidden compatibility state.
Output
Return ROUTE, COMPATIBILITY: SUPPORTED, the canonical skill result, and NEXT.