Hooks Skill — Fencepost & Claude Code Hooks
CommunityFencepost & Claude Code hooks guardrails.
AuthorIMBurbank
Version1.0.0
Installs0
System Documentation
What problem does it solve?
The Hooks Skill provides guardrails for Claude Code integrations, ensuring PreToolUse and PostToolUse hooks run safely and consistently to prevent unsafe edits, enforce project boundaries, and maintain workflow invariants.
Core Features & Use Cases
- Hook types: PreToolUse and PostToolUse hooks that block or lint tool invocations and post-run checks.
- Registration & configuration: Settings.json and settings.local.json for hook declarations and per-environment overrides.
- Project-context detection: Automatic detection of project root and worktrees to distinguish protected areas from transitory workspaces.
- Use Case: Teams integrating Claude Code into a monorepo can enforce guardrails so agents cannot modify root-level files or break branch policies.
Quick Start
Follow the integration steps to install and register the hooks in your Claude Code environment.
Dependency Matrix
Required Modules
None requiredComponents
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: Hooks Skill — Fencepost & Claude Code Hooks Download link: https://github.com/IMBurbank/ganttlet/archive/main.zip#hooks-skill-fencepost-claude-code-hooks Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.