What problem does it solve? Unit tests that accidentally invoke real OS commands like shutdown, reboot, poweroff, or package managers can damage developer workstations and CI runners. This Skill audits, refactors, and validates test suites so destructive host commands are always intercepted by injectable mock executors. ## Core Features & Use Cases - Destructive Command Detection: Scans tests for direct invocations of shutdown, reboot, poweroff, init, systemctl power commands, and package managers like apt-get or Get-WindowsUpdate. - Injectable Executor Enforcement: Refactors production code to expose injectable executor functions (OSActionExecutor, FileRemover, TempDirResolver, OSCommandRunner) that tests can substitute. - Hermetic Mock Patterns: Provides before/after Go code patterns using defer-based mock restoration and fast 1s/2s duration math instead of real timers. - Use Case: A Go CLI tool schedules system shutdowns; use this Skill to refactor its tests so every power command routes through a mock executor, verifying parameters without ever touching the host OS. ## Quick Start Audit my repository's unit tests and refactor any test that could trigger a real OS shutdown, reboot, or file deletion to use injectable mock executors.