commitlintconventionalcommitmessagelinter

Use commitlint to verify git commit messages follow the Conventional Commits spec, enforcing structured formats like type(scope): subject. Shareable config packages standardize conventions across teams, and integration with husky runs linting via git hooks on each commit.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "commitlintconventionalcommitmessagelinter" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-686792b9551ea9a1d06ec011ec789b5eb9ac59f5c85a9a58e13a85f54212b647. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/commitlint-conventional-commit-message-linter before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Use commitlint to verify git commit messages follow the Conventional Commits spec, enforcing structured formats like type(scope): subject. Shareable config packages standardize conventions across teams, and integration with husky runs linting via git hooks on each commit.

0 Downloads

Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: "commitlint Conventional Commit Message Linter"
slug: "commitlint-conventional-commit-message-linter"
version: "1.0.0"
displayName: "commitlint Conventional Commit Message Linter"
summary: "commitlint 检查 git 提交消息是否符合 Conventional Commits 规范,强制执行 type(scope): subject 等结构化格式。可共享的配置包让团队能够标准化提交约定,与 husky 的集成通过 git hooks 实现每次提交时的自动 linting。"
license: "MIT"
description: "commitlint 检查 git 提交消息是否符合 Conventional Commits 规范,强制执行 type(scope): subject 等结构化格式。可共享的配置包让团队能够标准化提交约定,与 husky 的集成通过 git hooks 实现每次提交时的自动 linting。"
github_stars: 18425
verification: "security_reviewed"
source: "https://github.com/1991513ccie-png/skills"
category: "Code Quality & Review"
framework: "Claude Code"
tool_ecosystem:
  github_repo: "1991513ccie-png/skills"
  github_stars: 18425
  npm_package: "commitlint"
  npm_weekly_downloads: 560842

commitlint Conventional Commit Message Linter

commitlint 检查 git 提交消息是否符合 Conventional Commits 规范,强制执行 type(scope): subject 等结构化格式。可共享的配置包让团队能够标准化提交约定,与 husky 的集成通过 git hooks 实现每次提交时的自动 linting。

安装

来自上游的要求和注意事项:

  • [![npm latest][2]][3] [![node compatibility][13]][14] [![Github Actions][4]][5]

基本用法或入门说明:

Current listing version

1.0.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value72/100

Highlights

  • 提供 commitlint 工具集成,帮助开发团队标准化 Git 提交消息格式,提升代码仓库的可维护性和可读性。
  • 支持与 husky 集成,通过 git hooks 实现自动化检查,有效保障提交规范的一致性。
Trigger Precision55/100

Areas to improve

  • 触发词描述不完整 Reported severity: Minor

    description 描述了功能但未提供具体的触发命令或关键词,用户难以准确判断何时/如何触发此 Skill。

    Recommendation: 补充具体的触发命令示例,如 'commitlint check' 或 'lint commit message',并说明在何种上下文中可触发。

Structure and Standards58/100

Areas to improve

  • 缺少具体执行步骤和 Phase 划分 Reported severity: Minor

    文档提到了安装和入门指南,但缺少具体的 Phase/步骤划分和详细的执行流程说明。

    Recommendation: 增加具体的 Phase,如 'Phase 1: 安装 commitlint 和配置','Phase 2: 集成 husky','Phase 3: 验证配置',并明确每个步骤的出口条件。

  • 缺少端到端示例 Reported severity: Minor

    文档未提供完整的端到端使用示例,用户无法直观了解从安装到验证的完整流程。

    Recommendation: 补充一个完整的端到端示例,展示如何初始化项目、安装依赖、配置 commitlint 和 husky,并进行一次符合规范的提交验证。

Execution Reliability65/100

Areas to improve

  • 异常处理和参数说明缺失 Reported severity: Minor

    未说明配置过程中可能遇到的异常情况(如依赖冲突、配置错误)如何处理,也未详细说明关键参数的作用和设置方法。

    Recommendation: 增加常见异常情况的处理建议,如 '如果安装失败,请检查 Node.js 版本',并补充关键配置参数的说明和示例。

Highlights

  • 工具来源明确,基于广泛使用的 commitlint 生态,可靠性基础良好。
Evidence Verifiability (mean of the first four)63/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

Domains or addresses referenced in the document

These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.

  • github.com
  • raw.githubusercontent.com

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.