hook.register

Validate and register hook manifest files into the Hook Registry.

2|Updated Oct 22, 2025
One-click install
npx skills add https://github.com/epieczko/betty --skill hook-register
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hook.register
Source: https://github.com/epieczko/betty/tree/main/skills/hook.register
Command: npx skills add https://github.com/epieczko/betty --skill hook-register

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill automates the formal registration of hooks into a versioned registry for enterprise governance.

Core Features & Use Cases

  • Hook Validation: Ensure hook manifests meet all required schema and policy rules.
  • Centralized Management: Maintain single source of truth for all organizational hooks with full audit history.

Quick Start

Register the validated hook manifest located at 'hooks/validate-openapi.yaml' into the hook registry.

Frequently Asked Questions about hook.register

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

FAQPage Schema
How do I validate and register hook manifests into a centralized registry?

Hook registration validates manifests against required schema and policy rules, then writes them to a versioned registry for audit history and governance. This ensures all organizational hooks meet naming, event, command, and timeout constraints before deployment.

What fields and constraints must a hook manifest include to pass validation?

Hook manifests must include name, version, event, and command fields. Validation enforces pattern and timeout constraints, blocking and status settings, and conforms to the required schema before atomic writes to the registry succeed.

Can I use hook registration for version control and code review of hook deployments?

Yes. Hook registration maintains a versioned history of all registered manifests in a centralized registry, enabling full audit trails, code review workflows, and rollback capability for hook deployments across your organization.

How does hook registration prevent policy violations during deployment?

Registration enforces governance policies by validating manifests against required schema, field constraints, and blocking settings before writing to the registry. Non-compliant manifests fail validation and block deployment.

What happens if a hook manifest fails validation during registration?

Failed validation prevents the manifest from being written to the registry. The validation error blocks deployment, ensuring only compliant hooks with valid fields, naming, events, commands, and timeout settings reach production.