triggers-and-applygates

Deploy centralized ApplyGates and Triggers to enforce ConfigHub validation.

2|2|Updated Apr 15, 2026
One-click install
npx skills add https://github.com/confighub/confighub-skills --skill triggers-and-applygates
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: triggers-and-applygates
Source: https://github.com/confighub/confighub-skills/tree/main/skills/triggers-and-applygates
Command: npx skills add https://github.com/confighub/confighub-skills --skill triggers-and-applygates

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill enforces validation on ConfigHub Unit mutations by wiring centralized Triggers and ApplyGates that block non-compliant changes and ensure policy is applied consistently.

Core Features & Use Cases

  • Centralized platform-space pattern hosting baseline vet-* Triggers and a TriggerFilter to apply validation across Spaces.
  • Vet-* Triggers run on Mutation to enforce schema, placeholders, and format checks.
  • Diagnosis guidance for blocked applies by inspecting gates, attached Triggers, and failed vet-* rules.
  • Add custom policies using vet-cel and propagate rules to downstream Spaces.
  • Guidance to fix data rather than bypass gates.

Quick Start

Create the platform Space with baseline vet-* Triggers, attach a standard Filter, and validate that a mutation is blocked by an ApplyGate.

Frequently Asked Questions about triggers-and-applygates

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

FAQPage Schema
How do I enforce config validation on mutations across multiple Spaces?▼

Config validation is enforced on mutations by deploying centralized platform-space ApplyGates with vet-* Triggers that block non-compliant changes and apply policy consistently across new and existing Spaces.

What is a centralized ApplyGate pattern for policy enforcement?▼

A centralized ApplyGate pattern hosts baseline vet-* Triggers in a platform Space with a TriggerFilter, ensuring validation rules like schema and format checks automatically apply to all downstream Spaces.

How do I add custom validation rules to block invalid config changes?▼

Add custom validation rules using vet-cel policies attached to the platform-space Triggers, then propagate those rules downstream to enforce specific mutation checks across all targeted Spaces.

Why does my config mutation get blocked by an ApplyGate?▼

Config mutations are blocked by ApplyGates when attached vet-* Triggers detect non-compliant data failing schema, placeholder, or format checks, requiring you to diagnose the failed rule and fix the data.

Can I retrofit existing Spaces with centralized validation gates?▼

Existing Spaces can be retrofitted with centralized validation gates by applying the standard platform-space Trigger and TriggerFilter pattern, ensuring policy enforcement extends universally without restructuring.

Should I bypass ApplyGates when a blocked config apply fails?▼

Bypassing ApplyGates is not recommended; instead, diagnose the attached Triggers and failed vet-* rules to identify the invalid data, then fix the underlying configuration to comply with validation policy.