Purpose
Reduce wasted tokens from two common agent mistakes:
- Wrong-platform commands — assuming the wrong shell, path separator, or binary name
- Premature git prompts — suggesting commit/push before the user has confirmed things work
Rule 1: Detect Platform at Session Start
Before running any shell command, determine the OS:
| Platform | Shell | Path separator | String escaping |
|---|---|---|---|
| Windows | powershell or cmd | ` |
[Description truncada. Veja o README completo no GitHub.]