Skip to main content
ClaudeWave
Slash Command127 estrellas del repoactualizado 1mo ago

guard

The guard command validates ongoing code changes against the latest approved implementation contract by running a governance script that detects scope drift, identifies incomplete planned modifications, flags missing acceptance tests, and recommends the next incremental safe step. Use this command during development to ensure changes align with architectural decisions and maintain test coverage compliance.

Instalar en Claude Code
Copiar
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/0xhimanshu/governor/HEAD/commands/guard.md -o ~/.claude/commands/guard.md
Después abre una sesión nueva de Claude Code; el slash command carga automáticamente.

guard.md

# Governor Guard

Run:

```bash
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/governor.py" guard $ARGUMENTS
```

Use the result to report:

- possible scope drift
- planned files not changed yet
- acceptance tests still needed
- smallest safe next step

Keep the guidance concise and action-oriented.