wire validate-skills hook into agentic-os pre-commit-config #63
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
coilysiren/agentic-os's own.pre-commit-config.yamldoes NOT include thevalidate-skillshook, even though the skills it hosts (everycoding-*, plus other categories via symlink targets) are subject to the same description-byte cap and structural validators that agentic-os-kai enforces.Why this matters
The
agentic-osrepo is the actual home for allcoding-*SKILL.md files (agentic-os-kai/.agents/skills/coding-* are symlinks). When an agent edits one of those files via the agentic-os-kai symlink, the agentic-os-kai pre-commit suite catches violations. But when an agent edits the file directly in agentic-os (or when a different consumer edits it without going through agentic-os-kai), nothing enforces the cap. The validator at/Users/kai/projects/coilysiren/agentic-os/agentic_os/validate_skills.pyexists and works — it's just not wired locally.Encountered during
Session
683a(2026-05-27) coding-* skill description sweep. Subagents had to invoke the validator withpre-commit try-repo . validate-skills --all-filesbecausepre-commit run validate-skillsfailed (hook not in local config). The try-repo workaround worked, but it's a discoverability landmine for every future contributor.Suggested fix
Add the
validate-skillshook tocoilysiren/agentic-os/.pre-commit-config.yaml, alongside the existingcatalog-block-presentandwarp-go-vethooks. The hook ID is already exposed inagentic-os/.pre-commit-hooks.yaml, so this is just one block to add to the config.Related context
agentic-os-kai issue (already filed) tracks the broader catalog-suite rollout. This specific gap is the one missing piece for agentic-os itself, which is the canonical home for coding-* skills.
Filed by Claude (session
claude-macos-kais-macbook-pro-683a) at Kai's explicit request after the coding-* sweep surfaced the gap.