Format commit messages using the Conventional Commits specification. Use when creating commits, writing commit messages, or when the user mentions commits, git commits, or commit messages. Ensures commits follow the standard format for automated tooling, changelog generation, and semantic versioning.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install conventional-commits或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install conventional-commits⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/conventional-commits/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: conventional-commits description: Format commit messages using the Conventional Commits specification. Use when creating commits, writing commit messages, or when the user mentions commits, git commits, or commit messages. Ensures commits follow the standard format for automated tooling, changelog generation, and semantic versioning. license: MIT metadata: author: github.com/bastos version: "2.0" ---
Format all commit messages according to the Conventional Commits specification. This enables automated changelog generation, semantic versioning, and better commit history.
<type>[optional scope]: <description>
[optional body]
[optional footer(s)]
feat: - A new feature (correlates with MINOR in Semantic Versioning)fix: - A bug fix (correlates with PATCH in Semantic Versioning)docs: - Documentation only changesstyle: - Code style changes (formatting, missing semicolons, etc.)refactor: - Code refactoring without bug fixes or new featuresperf: - Performance improvementstest: - Adding or updating testsbuild: - Build system or external dependencies changesci: - CI/CD configuration changeschore: - Other changes that don't modify src or test filesrevert: - Reverts a previous commitAn optional scope provides additional contextual information about the section of the codebase:
feat(parser): add ability to parse arrays
fix(auth): resolve token expiration issue
docs(readme): update installation instructions
Breaking changes can be indicated in two ways:
! in the type/scopefeat!: send an email to the customer when a product is shipped
feat(api)!: send an email to the customer when a product is shipped
feat: allow provided config object to extend other configs
BREAKING CHANGE: `extends` key in config file is now used for extending other config files
chore!: drop support for Node 6
BREAKING CHANGE: use JavaScript features not available in Node 6.
feat: add user authentication
feat(auth): add OAuth2 support
fix: prevent racing of requests
Introduce a request id and a reference to latest request. Dismiss
incoming responses other than from latest request.
Remove timeouts which were used to mitigate the racing issue but are
obsolete now.
feat!: migrate to new API client
BREAKING CHANGE: The API client interface has changed. All methods now
return Promises instead of using callbacks.
docs: correct spelling of CHANGELOG
fix: prevent racing of requests
Introduce a request id and a reference to latest request. Dismiss
incoming responses other than from latest request.
Remove timeouts which were used to mitigate the racing issue but are
obsolete now.
Reviewed-by: Z
Refs: #123
fix: → PATCH version bump (1.0.0 → 1.0.1)feat: → MINOR version bump (1.0.0 → 1.1.0)Use this format for:
❌ Added new feature (past tense, capitalized) ✅ feat: add new feature (imperative, lowercase)
❌ fix: bug (too vague) ✅ fix: resolve null pointer exception in user service
❌ feat: add feature (redundant) ✅ feat: add user profile page
❌ feat: Added OAuth support. (past tense, period) ✅ feat: add OAuth support
安装 Conventional Commits 后,可以对 AI 说这些话来触发它
Help me get started with Conventional Commits
Explains what Conventional Commits does, walks through the setup, and runs a quick demo based on your current project
Use Conventional Commits to format commit messages using the Conventional Commits specification
Invokes Conventional Commits with the right parameters and returns the result directly in the conversation
What can I do with Conventional Commits in my developer & devops workflow?
Lists the top use cases for Conventional Commits, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/conventional-commits/ 目录(个人级,所有项目可用),或 .claude/skills/conventional-commits/(项目级)。重启 AI 客户端后,用 /conventional-commits 主动调用,或让 AI 根据上下文自动发现并使用。
Conventional Commits 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Conventional Commits 可免费安装使用。请查阅仓库了解许可证信息。
Format commit messages using the Conventional Commits specification. Use when creating commits, writing commit messages, or when the user mentions commits, git commits, or commit messages. Ensures commits follow the standard format for automated tooling, changelog generation, and semantic versioning.
Automate my developer & devops tasks using Conventional Commits
Identifies repetitive steps in your workflow and sets up Conventional Commits to handle them automatically
Conventional Commits 属于「Developer & DevOps」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。