Skip to main content

tool-guard

Stars3
Forks1
UpdatedMarch 30, 2026 at 18:08

Create runtime-aware hook enforcement for repo tool constraints. Use this whenever a project must force a package manager, task runner, formatter, linter, or test runner; when the user asks to "create a hook", "enforce pnpm not npm", "block banned commands", "generate Copilot hooks", or "generate OpenCode plugin enforcement"; and whenever setup should move operational tool policy out of AGENTS.md and into hooks. Also use for: "add git safety guards", "block git push force", "block rm -rf", "prevent dangerous deletes", "add git guardrails", "add default tool guards", "protect against destructive commands", or "apply default hooks".

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

File Explorer
6 files
SKILL.md
readonly