update-hook

Create and update universal-ai-config hook templates by merging JSON files by event name.

2|1|Updated May 3, 2025
One-click install
npx skills add https://github.com/specklesystems/speckle-docs-NEW --skill update-hook-specklesystems
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: update-hook
Source: https://github.com/specklesystems/speckle-docs-NEW/tree/main/.universal-ai-config/skills/update-hook
Command: npx skills add https://github.com/specklesystems/speckle-docs-NEW --skill update-hook-specklesystems

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the creation, update, and management of universal-ai-config hook templates to reduce manual configuration and errors.

Core Features & Use Cases

  • Create new hook template files in the designated hook folder
  • Update existing templates with new events or handlers
  • Merge hook files by event name to support modular organization while preserving behavior
  • Use case: standardizing automation across environments and simplifying hook maintenance

Quick Start

Create or update a hook template in the hookTemplatePath and verify the JSON structure.

Frequently Asked Questions about update-hook

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

FAQPage Schema
What are AI hook templates and why do I need them for session automation?

AI hook templates are JSON files that automate lifecycle events during AI sessions. You need them to standardize automation across environments, reducing manual configuration and errors while maintaining organized, modular hook structures.

How do I create and update JSON hook files for devops automation?

To create and update JSON hook files, add or modify them under the designated hookTemplatePath. This updates existing templates with new events or handlers while preserving a modular, scalable hook structure for your automation.

Can I merge hook files by event name to keep configurations modular?

Yes, you can merge hook files by event name to support modular organization. This safe merging strategy preserves existing behavior while allowing you to organize and scale your devops hook templates across projects.

Does this approach work for standardizing config across multiple project environments?

Yes, this approach is designed for standardizing automation across environments. By managing universal-ai-config hook templates, you simplify maintenance and ensure safe merging strategies are applied across multiple project configurations.

What is the best way to manage universal AI config hook templates safely?

The best way to manage universal AI config hook templates is by placing JSON files in the hookTemplatePath and merging them by event name. This preserves behavior, reduces errors, and maintains a scalable hook structure.

Why does my hook configuration break when adding new event handlers?

Hook configurations break when JSON structures are invalid or merging overwrites existing events. Using a safe merging strategy organized by event name preserves behavior and prevents manual configuration errors during updates.