hooks

Design and maintain local hooks to enforce automation policies and safety gates.

Updated Jan 14, 2026
One-click install
npx skills add https://github.com/oornnery/skills --skill hooks-oornnery
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hooks
Source: https://github.com/oornnery/skills/tree/main/skills/hooks
Command: npx skills add https://github.com/oornnery/skills --skill hooks-oornnery

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes assets (resource) components.

What problem does it solve?

Hook design and maintenance for local automation to enforce policies, reminders, autofix behavior, and lifecycle gates in development workflows.

Core Features & Use Cases

  • Hook scripts in hooks/*.sh to implement deterministic behaviors.
  • Hook wiring in templates/settings/local.hooks.json to apply policies locally.
  • Local hook behavior for reminders, gates, autofix, and lifecycle helpers to guide developers.

Quick Start

Create a small, focused hook, wire it into templates/settings/local.hooks.json, and smoke test with a minimal scenario.

Frequently Asked Questions about hooks

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up local hooks to enforce policy gates in development workflows?

You set up local hooks by creating deterministic shell scripts in a hooks directory and wiring them into a local.hooks.json configuration file to enforce development policies and safety gates automatically.

What are local hook policies used for in software automation?

Local hook policies are used to automate reminders, enforce safety gates, trigger autofix behaviors, and guide developers through lifecycle events with deterministic actions during software development.

How do I wire hook scripts into a local configuration file?

You wire hook scripts by defining their behaviors in templates/settings/local.hooks.json, which applies the automation policies locally to your software project for consistent execution.

Can I use local hooks to automate autofix behaviors and reminders?

Yes, you can implement local hooks using shell scripts to automate autofix behaviors, trigger developer reminders, and execute deterministic lifecycle actions based on your specific automation policies.

What is the best way to smoke test a newly created local hook?

The best way to smoke test a local hook is to create a small, focused script, wire it into the local.hooks.json configuration, and run it against a minimal scenario to verify behavior.

Do I need any external dependencies to maintain local hook configurations?

No external dependencies are required. You maintain local hook configurations by designing shell scripts and managing the local.hooks.json file directly within your software project assets.