install-hooks

Community

Automate installation of adr-kit pre-commit hooks for code governance.

Authorrvdbreemen
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill automates the installation and management of pre-commit hooks for code governance using adr-kit, ensuring that architecture decisions are enforced before code is committed.

Core Features & Use Cases

  • Automated Hook Installation: Installs or uninstalls the adr-kit pre-commit hook in the current project.
  • Template Resolution: Resolves the plugin's hook template and ensures it is available for use.
  • Hook Management: Detects existing hooks and manages their installation, including creating a wrapper script if necessary.
  • Configuration: Configures the core.hooksPath for git to recognize the new hook.
  • Guardian Hook Addition: Optionally adds a project-scoped guardian hook to .claude/settings.json for additional code health checks.
  • Use Case: When you want to enforce architecture decisions across your codebase, use this Skill to install the pre-commit hook, which will check code against the decisions recorded in your ADRs.

Quick Start

Run the install-hooks skill to install the pre-commit hook for adr-kit in your current project.

Dependency Matrix

Required Modules

adr-kit

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: install-hooks
Download link: https://github.com/rvdbreemen/adr-kit/archive/main.zip#install-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 620,000+ vetted skills library on demand.