| file_type | documentation | |||
|---|---|---|---|---|
| title | agent-spec-validator Hook | |||
| description | Validates agent AGENT.md YAML frontmatter for required multi-provider fields and value formats. | |||
| version | v0.1.0 | |||
| last_updated | 2026-07-22 | |||
| owners |
|
|||
| domain | governance | |||
| tags |
|
Validates agent AGENT.md YAML frontmatter for required multi-provider fields and value formats.
pre-commit, pre-push
node hooks/agent-spec-validator/index.js <path>Programmatic:
const hook = require("./hooks/agent-spec-validator");
const { valid, errors, warnings } = hook.validate("<path>");Returns { valid: boolean, errors: string[], warnings: string[] }. Exit code is
1 when valid is false. Tests live in __tests__/.
🔗 Website · 📧 Contact · 👥 Contributors
Please see CONTRIBUTING.md for details.
Maintained with ❤️ by the 🚀 LightSpeedWP Automation Team Org Profile