validate-deps
Enforce allowed import directions between top-level src/ layers (default skill-issue CLI graph). Edit ALLOWED_IMPORTS in hard/index.ts for your repo.
- License 许可
- MIT
- 所属仓库
- midyan/skissue
- 最近更新
- 2026-05-18
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- validate-deps
- description
- Enforce allowed import directions between top-level src/ layers (default skill-issue CLI graph). Edit ALLOWED_IMPORTS in hard/index.ts for your repo.
02 资源文件 5
- 参考文档hard/INDEX.md588 B
- 脚本hard/index.test.ts3.6 KB
- 脚本hard/index.ts4.2 KB
- 参考文档hard/README.md1.3 KB
- 参考文档INDEX.md325 B
03 SKILL.md 正文
validate-deps (soft)
Prevents accidental wrong-direction imports between architecture layers. The bundled rules match the skill-issue src/ layout (core, commands, git, registry); edit hard/index.ts for other projects.
See hard/README.md for the contract and how to customize layers.
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.