hook-enforcement

Community

Enforce workflow constraints at runtime.

Authorcianos95-dev
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill prevents AI agents from violating project-specific workflow rules and ownership boundaries by enforcing constraints at the runtime level, ensuring adherence to specifications and preventing premature issue closure or unauthorized modifications.

Core Features & Use Cases

  • Runtime Enforcement: Guarantees compliance with workflow rules, unlike advisory prompt-based rules.
  • Hook Inventory: Provides SessionStart, PreToolUse, PostToolUse, and Stop hooks for comprehensive control.
  • Use Case: When an AI agent attempts to modify a file outside the scope of the current task, the PreToolUse hook will block the operation, preventing drift and maintaining code integrity.

Quick Start

Use the hook-enforcement skill to install the SessionStart hook for your project.

Dependency Matrix

Required Modules

None required

Components

scripts

💻 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: hook-enforcement
Download link: https://github.com/cianos95-dev/claude-command-centre/archive/main.zip#hook-enforcement

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 223,000+ vetted skills library on demand.