SpillwaveSolutionsSpillwaveSolutionsOfficialยท9 Agent Skills Included

code_agent_context_hooks

Policy engine controlling coding assistant behavior via hooks

Intercepts coding assistant events and applies YAML rules to inject context, block dangerous commands, and log activity. Eliminates manual prompt policing, accidental force pushes, and hardcoded secrets slipping into code. Works across Claude Code, Gemini CLI, Copilot, and OpenCode with debugging, validation, and audit logging built in.
npx skills add SpillwaveSolutions/code_agent_context_hooks --all -g -y
Available:

Tells the agent how the RuleZ policy engine works, which CLI commands to run, and how to route user requests to the bundled skills for hooks, releases, and reviews.

All Skills in This Repository (9)

Pure Emerald Level Indicators

Frequently Asked Questions

FAQPage Schema
How to install code_agent_context_hooks?โ–ผ

Run `npx skills add SpillwaveSolutions/code_agent_context_hooks --all -g -y` in your terminal to install all skills globally.

What does RuleZ do?โ–ผ

RuleZ intercepts your coding assistant's tool calls and applies YAML rules to inject context, run validators, or block risky commands like force pushes.

How do I block dangerous git commands?โ–ผ

Add a PreToolUse rule in hooks.yaml matching the Bash tool with a command pattern, then set the action to block. Validate it with `rulez validate`.

Does it work with Gemini CLI and Copilot?โ–ผ

Yes. Platform adapters translate Gemini CLI, GitHub Copilot, and OpenCode events into the same unified rule format used for Claude Code.

How do I debug a hook that is not firing?โ–ผ

Run `rulez debug <event> --tool <name>` to simulate the event and trace rule matching, then check `rulez logs` for execution details.

Related Repositories in Software Engineering

View All in Software Engineeringโ†’