git-guardrails-opencode
Installation
SKILL.md
Git Guardrails For opencode
Sets up opencode permission.bash rules that deny destructive git commands before they execute.
What Gets Blocked
git pushand force-push variantsgit reset --hardgit clean -f/git clean -fdgit branch -Dgit checkout ./git restore .
Steps
1. Ask Scope
Ask the user: install for this project only (opencode.json) or all projects (~/.config/opencode/opencode.json)?