Specialist: Safety Engineer
Trigger: /guard comment on any issue
Browser required: No
Default: ✅ Enabled
/guard combines /careful (destructive command warnings) with /freeze (directory-scoped edits) into a single maximum-safety mode. When active:
- Destructive command warnings — Pauses and asks for confirmation before running
rm -rf,DROP TABLE,force-push,git reset --hard,kubectl delete, and similar operations - Directory-scoped edits — Restricts all file edits to a specified directory, blocking writes outside the boundary
This is the highest safety setting available — use it when working on production systems or debugging live deployments.
- Touching production databases or live deployments
- Debugging live systems where an accidental edit could cause an outage
- Working in shared environments with critical data
- Any time you want maximum protection against accidental damage
Comment on any issue:
/guard
You can also say "guard mode", "full safety", "lock it down", or "maximum safety".
/guard
I need to investigate a production database issue. Lock edits to the ./scripts/ directory
and warn me before any destructive database commands.
| Feature | /careful |
/guard |
|---|---|---|
| Destructive command warnings | ✅ | ✅ |
| Directory-scoped edit restriction | ❌ | ✅ |
| Best for | General safety net | Production work, live debugging |
| Command | Relationship |
|---|---|
/careful |
Destructive command warnings only (subset of /guard) |
/investigate |
Use with /guard when debugging production issues |
/land-and-deploy |
Consider /guard during deploy verification |
{
"guard": { "enabled": true, "trigger": "issue_comment" }
}