返回 Skill 列表
extension
分类: 其它无需 API Key

Git Commit Validator

验证 Git 提交信息是否符合 Conventional Commits 规范。触发词:commit lint,常规提交,提交格式。

person作者: sky-lvhubclawhub

Commit Linter

Overview

Validates commit messages and enforces conventional commits format.

Conventional Commit Format

type(scope): description

Types: feat, fix, docs, style, refactor, perf, test, chore

Valid Examples

feat(auth): add password reset fix(api): handle null response docs(readme): update install

Rules

  • Subject line max 72 characters
  • Use imperative mood ("add" not "added")
  • No period at end of subject
  • Separate subject from body with blank line

Validate

git log --oneline -20