validate-indexes
Keep INDEX.md and AGENTS.md navigation accurate so agents can use progressive disclosure instead of scanning the tree.
- License 许可
- MIT
- 所属仓库
- midyan/skissue
- 最近更新
- 2026-05-18
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- validate-indexes
- description
- Keep INDEX.md and AGENTS.md navigation accurate so agents can use progressive disclosure instead of scanning the tree.
02 资源文件 1
- 参考文档INDEX.md460 B
03 SKILL.md 正文
validate-indexes (soft)
Use this skill when adding, renaming, or removing files or directories anywhere in the repo.
Why
Stale indexes mislead agents. The hard component under hard/ mechanically verifies that directories with 2+ children have an index and that tables match the filesystem.
When to run
- After structural changes, before committing.
- As part of
npm run check:all.
See hard/SKILL.md for how the check works and how to extend it.
04 同仓库更多 Skills
validate-shell-exec
Restrict child_process.spawn/exec to approved modules (e.g. shell/tmux helpers) so subprocess usage stays centralized.
validate-registry-hard
Validates registry.json shape and that each skill path contains SKILL.md at the skill root.
validate-registry
Keep root registry.json consistent with on-disk skill folders so installs and docs do not drift.
validate-naming
Enforce kebab-case filenames and PascalCase type names under src/; reports naming drift for consistency.
validate-logging
Prefer structured logging over raw console.* outside approved CLI entrypoints; keeps observability consistent.
validate-links
Scan markdown for broken relative links across the repo. Run via npm run check:links or the harness hard skill.