safety-hooks

Community

Guard production with deterministic safety hooks.

AuthorHurleySk
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Protect production environments from accidental agent modifications by enforcing layered safety checks on Claude Code operations, providing deterministic guards alongside a semantic review for risky actions.

Core Features & Use Cases

  • Deterministic PreToolUse gate that denies or asks when risky operations are detected and prevents write/edit to production assets.
  • LLM-backed semantic review as a second line of defense to catch subtler issues that script checks may miss.
  • Destructive-operation guards for Git, cloud CLI tools, and package installations with explicit user confirmations.
  • Audit, setup, and integration workflow to generate safety-rules.json and wire hooks into Claude Code settings.

Quick Start

Create and configure safety hooks for your project by running the setup workflow to generate rules, place hooks in the repository, and wire them into Claude Code settings.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: safety-hooks
Download link: https://github.com/HurleySk/claude-cicd-safety-skill/archive/main.zip#safety-hooks

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.