AGENT SKILL

validate-indexes-hard

Executable validation for INDEX.md / AGENTS.md — implementation contract and invocation.

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

01 前言 Front Matter

name
validate-indexes-hard
description
Executable validation for INDEX.md / AGENTS.md — implementation contract and invocation.

02 资源文件 4

03 SKILL.md 正文

validate-indexes — hard component

TypeScript entrypoint index.ts walks the repo from ROOT (repo root) and reports:

  • Directories with 2+ children (excluding INDEX.md from the count) that lack INDEX.md (or AGENTS.md at repo root).
  • Unlisted filesystem children not present in the index table.
  • Orphaned table links pointing at missing paths.

Excluded directories: node_modules, .git, coverage, dist, .cursor.

Invocation

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

Exit codes

Code Meaning
0 All indexes complete and accurate
1 Missing index, unlisted child, or orphaned link

Format rules: docs/index-format.md.

04 同仓库更多 Skills