Custom Slash Commands and Subagents for Multi-File Refactors in Claude Code
A single prompt can't safely refactor a multi-file codebase. Here's how repo-scoped slash commands and staged subagents in Claude Code fix that, with git safety gates included.