mirror of
https://github.com/hanzoai/skill.git
synced 2026-10-30 15:04:13 +00:00
@hanzo/skill installed skills; @hanzo/skills parsed them. Two names differing only in number are two addresses for one subject, and the parsing half had no importer at all — its own header claimed app, desktop and the dev harness consumed it, and none did. The parser, schema, registry and loader move in beside the installer. The CLI gains `validate <dir>`: read every SKILL.md with the parser the loaders use and exit non-zero if any cannot be loaded, so a repository that ships skills can hold itself to that. Compiling the tests found four type errors that had never been checked — the package they came from excluded test/ from tsc and ran them under a runner that does not typecheck. Three passed an option `recordSource` does not take; one dereferenced a nullable. 56 tests, one runner.