---
description: Refactor → test → review → commit in one chain
argument-hint: "[file path or symbol to refactor]"
chain: p-refactor -> p-test -> p-review -> p-commit
---
Run the safe refactor → validate → review → commit chain for: $@

Run in the current Pi session (foreground, stop with Esc/Ctrl+C):
/prompt-workflow c-refactor-commit "<task>"

Run detached in the background (inspect with /subagents-fleet, stop with /subagents-stop <id>):
/prompt-workflow c-refactor-commit --bg "<task>"
