Pre-commit hooks, CI gates, lint rules, database constraints and branch protection. Use when a rule needs enforcing rather than documenting: "set up enforcement", "unformatted or untyped code must not get merged", "gate this in CI", "we agreed to X and people still do not", "stop secrets getting committed". Covers baselining and ratcheting so existing violations do not block anyone.
Install
npx skills add rainmanjam/poka-yoke --skill guardrailsnpx skills add rainmanjam/poka-yoke --skill guardrails -a claude-code -gnpx skills add rainmanjam/poka-yoke --skill guardrails -a codex -ggemini skills install https://github.com/rainmanjam/poka-yoke.git --path plugins/poka-yoke/skills/guardrailsgh skill install rainmanjam/poka-yoke guardrailsgit clone --depth 1 https://github.com/rainmanjam/poka-yoke /tmp/rainmanjam__poka-yoke
mkdir -p ~/.claude/skills ~/.agents/skills
cp -R /tmp/rainmanjam__poka-yoke/plugins/poka-yoke/skills/guardrails ~/.claude/skills/guardrails # Claude Code
cp -R /tmp/rainmanjam__poka-yoke/plugins/poka-yoke/skills/guardrails ~/.agents/skills/guardrails # Codex, Cursor, Gemini CLI, Copilot, OpenCode