validate-commit-msg
Validate commit messages against Conventional Commits v1.0.0; used from commit-msg hooks or CLI. Requires a path or stdin — see hard/.
- License 许可
- MIT
- 所属仓库
- midyan/skissue
- 最近更新
- 2026-05-18
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- validate-commit-msg
- description
- Validate commit messages against Conventional Commits v1.0.0; used from commit-msg hooks or CLI. Requires a path or stdin — see hard/.
02 资源文件 6
- 其他hard/.no-auto-run85 B
- 参考文档hard/INDEX.md667 B
- 脚本hard/index.test.ts5.1 KB
- 脚本hard/index.ts4.4 KB
- 参考文档hard/README.md2.1 KB
- 参考文档INDEX.md348 B
03 SKILL.md 正文
validate-commit-msg (soft)
Run before committing when the repo enforces message format. This skill is hook-oriented: the hard script often needs a message file path, so it ships with hard/.no-auto-run and is not run by registry/runner.ts by default.
skill-issue convention: do not use a parenthetical scope after the type (feat(cli): … is invalid). Use feat: … / fix: … and put areas, paths, or components in the body. The hard check enforces this.
See hard/README.md for invocation.
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.