AGENT SKILL

validate-registry-hard

Validates registry.json shape and that each skill path contains SKILL.md at the skill root.

License 许可
MIT
所属仓库
midyan/skissue
最近更新
2026-05-18
Stars
★ 0
Forks
0

01 前言 Front Matter

name
validate-registry-hard
description
Validates registry.json shape and that each skill path contains SKILL.md at the skill root.

02 资源文件 3

03 SKILL.md 正文

validate-registry — hard component

index.ts reads registry.json at repo root and checks:

  • Valid JSON and { "skills": { "<id>": "<path>" } } shape (via zod).
  • Each path exists and contains SKILL.md at the skill folder root (soft component).

Invocation

npx tsx registry/validate-registry/hard/index.ts
npm run check:registry

Exit codes

Code Meaning
0 Registry file and paths are valid
1 Missing file, bad JSON, or missing SKILL.md at skill root

04 同仓库更多 Skills