Commitlint

Fandhe-AI/agent-reference-skills/skills/commitlint

by Fandhe-AIab4ae2660c236a3e0d8f58cea8ab14299317d9efNo licenseListed Oct 9, 2026Updated Oct 9, 2026

commitlint (Conventional Commits メッセージ検証ツール) リファレンス。 rules 設定、plugins、shareable-config、@commitlint/config-conventional、 Husky / lefthook / simple-git-hooks 連携、CI 統合、custom rules。

AI-generated overview

Reference skill covering commitlint: rules, plugins, shareable configs, Git hook and CI integration.

What it does
This skill is a documentation reference for commitlint, the Conventional Commits message validation tool. It maps a user task to a category, then directs the agent to the relevant README and individual markdown pages covering rules configuration, plugins, shareable configs, the @commitlint/config-conventional preset, Husky/lefthook/simple-git-hooks integration, CI setup, custom rules, and the Node.js lint/load/read/format APIs. It also includes sample configurations and script pages for install, setup, CLI, validate, and prompt workflows.
When to use it
Use it when a task involves validating or configuring commit message conventions, such as setting up commitlint locally or in CI, writing custom rules or plugins, publishing a shareable config, or troubleshooting commitlint errors. It is also relevant when integrating commitlint with Git hooks or AI coding agents.
Requirements
The skill itself is documentation and needs no runtime beyond the agent's file-reading ability. The described commitlint tooling requires Node.js and npm packages such as commitlint and @commitlint/config-conventional, and Git hook managers (Husky, lefthook, simple-git-hooks) or CI runners for integration. It ships script pages under scripts/.

commitlint リファレンス

commitlint 公式ドキュメントの全 API・ガイドを網羅したスキル。 ユーザーのタスクに応じて適切な README.md を読み、そこから個別ファイルへ辿ること。

ディレクトリ構成

text
skills/commitlint/  SKILL.md  references/    guides/      README.md      ai-agents.md      ci-setup.md      getting-started.md      local-setup.md      use-prompt.md    reference/      README.md      cli.md      community-projects.md      configuration.md      examples.md      plugins.md      prompt.md      rules.md      rules-configuration.md    api/      README.md      format.md      lint.md      load.md      read.md    concepts/      README.md      commit-conventions.md      shareable-config.md    support/      README.md      releases.md      troubleshooting.md      upgrade.md  samples/    README.md    getting-started.md    local-setup-husky.md    custom-rules.md    shareable-config.md    ci-github-actions.md    configuration-formats.md    validate-issue-reference.md  scripts/    README.md    install.md    setup.md    cli.md    validate.md    prompt.md

探索手順

タスクからカテゴリを引き、カテゴリの README.md で目的のページを特定する:

  1. 下記マッピング表でタスクに対応するカテゴリを探す
  2. そのカテゴリの references/{category}/README.md を参照して目的のページを特定する
  3. 該当ページの .md を Read して詳細を確認する

タスク → カテゴリ マッピング

タスクカテゴリ参照 README
インストール、初期設定、Husky 連携、Git フック設定guidesreferences/guides/README.md [blocked]
CI 環境(GitHub Actions 等)での commitlint 設定guidesreferences/guides/README.md [blocked]
AI エージェント(Claude Code、Copilot、Cursor)との連携guidesreferences/guides/README.md [blocked]
対話型コミットメッセージ作成(prompt-cli)guidesreferences/guides/README.md [blocked]
CLI オプション、設定ファイル形式、全オプションreferencereferences/reference/README.md [blocked]
ルール一覧、ルール設定(Level / Applicable / Value)referencereferences/reference/README.md [blocked]
プラグイン作成・登録referencereferences/reference/README.md [blocked]
cz-commitlint プロンプト設定referencereferences/reference/README.md [blocked]
@commitlint/lint, load, read, format の Node.js APIapireferences/api/README.md [blocked]
lint 結果のフォーマット・出力apireferences/api/README.md [blocked]
Conventional Commits フォーマット、スコープの扱いconceptsreferences/concepts/README.md [blocked]
共有設定(shareable config)の作成・配布conceptsreferences/concepts/README.md [blocked]
エラー解決、よくある問題のトラブルシューティングsupportreferences/support/README.md [blocked]
バージョンアップグレード、validate-commit-msg 移行supportreferences/support/README.md [blocked]
典型的な使い方・設定例を確認したいsamplessamples/README.md [blocked]
インストール・CLI コマンド・検証コマンドを知りたいscriptsscripts/README.md [blocked]

Source and attribution

Source:Fandhe-AI/agent-reference-skillsinskills/commitlintat commitab4ae26

License: No license

Content belongs to its original authors. SourceWeft indexes it from a public repository.

Report or request removal