Guardrail patterns

From ZaxbyHub/opencode-swarm · View interactive version

Guardrail patterns is an AI agent skill from the GitHub repository ZaxbyHub/opencode-swarm. Codex adapter for opencode-swarm destructive-command guardrail changes. Use before modifying src/hooks/guardrails.ts, checkDestructiveCommand, dcNormalizeCommand, shell-wrapper parsing, .swarm destructive-command blocking, or guardrails unit/adversarial tests.

How to use this skill

Skill file

Guardrail Patterns

Read, in order:

  1. AGENTS.md
  2. .agents/skills/engineering-conventions/SKILL.md
  3. .agents/skills/writing-tests/SKILL.md if tests are touched
  4. .opencode/skills/generated/guardrail-patterns/SKILL.md

Codex-specific execution notes:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.