agentic-validators

Automate creation and enforcement of validation hooks for coding agents.

Updated Apr 21, 2026
One-click install
npx skills add https://github.com/HuuBar/skill-routing-experiment --skill agentic-validators
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: agentic-validators
Source: https://github.com/HuuBar/skill-routing-experiment/tree/main/unified_skills/vishal/agentic-validators
Command: npx skills add https://github.com/HuuBar/skill-routing-experiment --skill agentic-validators

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Design and implement validation hooks to ensure AI-generated code changes are safe, auditable, and deterministic.

Core Features & Use Cases

  • Post-tool-use hooks to validate edits after the agent acts
  • Stop hooks to enforce repository-wide invariants
  • Per-file validators and parallel subagents with audit logs
  • Reusable patterns with hook recipes and validator checklists for rapid adoption

Quick Start

Install and configure per-file and repo-wide validators to ensure safe, auditable agent edits.

Frequently Asked Questions about agentic-validators

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

FAQPage Schema
How do I add validation hooks to ensure safe AI code edits?

Validation hooks automate the enforcement of deterministic, auditable code changes by applying per-file validators and post-tool-use checks to verify edits made by coding agents.

What are post-tool-use hooks for coding agents?

Post-tool-use hooks are automated validation checks triggered immediately after an AI agent acts, designed to intercept unsafe edits and maintain repository-wide invariants across diverse codebases.

Can I enforce repo-wide invariants and per-file validators simultaneously?

Yes, you can configure both per-file validators and repository-wide stop hooks simultaneously, enabling parallel subagents to execute checks while generating clear audit logs for every change.

How do I set up audit logs for automated code validation?

Audit logs for automated code validation are generated by running parallel subagents alongside per-file validators, providing clear records of every deterministic check and edit within the workflow.

What is the best way to stop AI agents from breaking code invariants?

Implementing automated stop hooks is the best way to enforce repository-wide invariants, acting as a final gate to prevent coding agents from committing changes that violate deterministic validation rules.

Do I need specific CI tools to run deterministic validators on AI edits?

No specific CI tools are required as dependencies, as the validation hooks operate independently using provided hook recipes and a validator checklist to ensure deterministic and safe agent edits.