Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问clear审计未展示

conventional-commits常规提交

Agent Skill

conventional-commits 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

612

周安装

26

GitHub Stars

公开资料未说明

下载量

214
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:conventional-commits(常规提交)
来源仓库:https://github.com/enderpuentes/ai-agent-skills
仓库路径:skills/conventional-commits
安装命令:
npx skills add enderpuentes/ai-agent-skills --skill "conventional-commits"
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

AgentSkills.tonpx skills
npx skills add enderpuentes/ai-agent-skills --skill "conventional-commits"

简介

遵循 Conventional Commits 规范的提交助手工具。

  • 帮助生成标准化 Git 提交信息格式。
  • 适用于团队协作与版本管理规范场景。
  • 需确认是否符合项目现有提交约定。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。
  • conventional-commits 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Conventional Commits

Overview

Conventional Commits is a specification for commit messages that provides an explicit structure for creating a clear commit history. It enables automated tools for generating changelogs, determining semantic version bumps, and communicating changes effectively.

Core Principle: Every commit message follows a structured format that clearly communicates the type and scope of changes.

Commit Message Structure

<type>[optional scope]: <description>

[optional body]

[optional footer(s)]

Quick Reference

ElementRequiredFormatPurpose
Type✅ Yesfeat, fix, or customIndicates the nature of the change
Scope❌ OptionalParentheses: (parser)Provides additional context
Breaking❌ Optional! after type/scopeIndicates breaking changes
Description✅ YesShort summaryBrief description of the change
Body❌ OptionalFree-form paragraphsDetailed explanation
Footer❌ OptionalToken: value formatMetadata (e.g., BREAKING CHANGE:)

Commit Types

Standard Types

  • feat: A new feature (correlates with MINOR in SemVer)
  • fix: A bug fix (correlates with PATCH in SemVer)

Additional Types (Common)

  • build: Changes to build system or dependencies
  • chore: Maintenance tasks, no production code change
  • ci: Changes to CI configuration
  • docs: Documentation only changes
  • hotfix: Emergency bug fix applied directly to production, bypassing normal development workflow (correlates with PATCH in SemVer)
  • perf: Performance improvements
  • refactor: Code refactoring without behavior change
  • style: Code style changes (formatting, missing semicolons, etc.)
  • test: Adding or updating tests

Breaking Changes

Breaking changes can be indicated in two ways:

  1. In the type/scope prefix: Append ! before the colon feat!: remove deprecated API feat(api)!: change authentication method
  2. In the footer: Use BREAKING CHANGE: token feat: add new authentication system BREAKING CHANGE: Old authentication tokens are no longer valid

Examples

Basic Feature Commit

feat: add user authentication endpoint

Implement JWT-based authentication with login and token validation

Feature with Scope

feat(auth): implement password reset flow

Add forgot password endpoint and email notification system

Bug Fix

fix(parser): correct array parsing with multiple spaces

Handle edge case where strings contained multiple consecutive spaces

Breaking Change (Prefix)

feat(api)!: remove deprecated v1 endpoints

BREAKING CHANGE: All v1 API endpoints have been removed. Migrate to v2.

Breaking Change (Footer)

feat: update database schema

BREAKING CHANGE: Environment variables now take precedence over config files

Documentation

docs: update API reference for authentication endpoints

Refactoring

refactor(auth): extract token validation to separate module

Improve code organization and testability

Performance

perf(queries): optimize database query for user lookup

Reduce query time from 500ms to 50ms by adding index

Hotfix

Security Hotfix

hotfix(auth): fix critical security vulnerability in token validation

Immediate fix for CVE-2024-XXXX. Patch token validation to prevent unauthorized access.

Database Hotfix

hotfix(db): fix connection pool exhaustion causing service outage

Emergency patch to increase pool size and add connection timeout. Applied directly to production to restore service.

Payment Hotfix

hotfix(payment): fix incorrect currency conversion in checkout

Critical bug causing incorrect charges. Immediate fix applied to prevent financial impact.

API Hotfix

hotfix(api): fix null pointer exception in user endpoint

Emergency fix for production crash. Bypassed normal deployment process.

Performance Hotfix

hotfix(cache): fix memory leak causing server crashes

Immediate fix for production instability. Applied hotfix to prevent service degradation.

Data Integrity Hotfix

hotfix(data): fix corrupted data migration affecting user accounts

Emergency fix applied directly to production database to prevent data loss.

Common Mistakes

❌ Missing Colon and Space

feat add authentication

Correct:

feat: add authentication

❌ Uppercase Type

FEAT: add authentication

Correct:

feat: add authentication

❌ Description Too Long

feat: add user authentication with JWT tokens, password hashing, session management, and email verification

Correct:

feat(auth): implement JWT-based authentication

Add login endpoint, password hashing, session management, and email verification

❌ Using Wrong Type

fix: add new feature for user dashboard

Correct:

feat: add user dashboard

❌ Breaking Change Not Indicated

feat(api): remove deprecated endpoints

Correct:

feat(api)!: remove deprecated endpoints

BREAKING CHANGE: All v1 endpoints have been removed

❌ Scope Without Parentheses

feat auth: implement login

Correct:

feat(auth): implement login

Workflow Guidelines

When Creating Commits

  1. Determine the type: Is this a feature, fix, or other type?

- Use hotfix for emergency fixes applied directly to production, bypassing normal development workflow - Use fix for regular bug fixes in normal development workflow

  1. Identify scope (optional): Which part of the codebase is affected?
  2. Check for breaking changes: Does this change break existing functionality?
  3. Write concise description: Keep under 72 characters when possible
  4. Add body if needed: Provide context, motivation, or details
  5. Include footer if applicable: Add breaking changes, references, etc.

Description Best Practices

  • Use imperative mood: "add feature" not "added feature" or "adds feature"
  • Don't end with a period
  • Keep it concise (50-72 characters ideal)
  • Focus on what changed, not why (why goes in body)

Body Best Practices

  • Separate from description with blank line
  • Explain the "why" behind the change
  • Provide context or background
  • Reference related issues or PRs

Semantic Versioning Correlation

Commit TypeSemVer Impact
fixPATCH (1.0.0 → 1.0.1)
hotfixPATCH (1.0.0 → 1.0.1)
featMINOR (1.0.0 → 1.1.0)
BREAKING CHANGEMAJOR (1.0.0 → 2.0.0)
Other typesNo automatic version bump

Validation Checklist

Before finalizing a commit message, verify:

  • Type is lowercase and valid
  • Colon and space follow type/scope
  • Description is concise and imperative
  • Breaking changes are properly indicated
  • Body is separated by blank line (if present)
  • Footer tokens use hyphens (e.g., BREAKING CHANGE, not BREAKING_CHANGE)
  • Message doesn't exceed 120 characters in title (if team standard)

Special Cases

Revert Commits

revert: let us never again speak of the noodle incident

Refs: 676104e, a215868

Multiple Commits for One Feature

If a commit conforms to multiple types, split into separate commits when possible:

feat(auth): add login endpoint
test(auth): add login endpoint tests
docs(auth): update API documentation for login

Integration with Tools

Conventional Commits enables:

  • Automatic changelog generation: Tools parse commit history
  • Semantic versioning: Automated version bumps based on commit types
  • Release notes: Extract features and fixes from commits
  • Build triggers: Different build processes for different commit types

Additional Resources

Specification Reference

This skill is based on the official Conventional Commits specification v1.0.0.

All rules, examples, and guidelines in this skill follow the official specification. For the complete specification, examples, and FAQ, refer to the official documentation.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Cursor

44.62%
按下载量换算95

Gemini CLI

27.27%
按下载量换算58

Antigravity

16.68%
按下载量换算36

github-copilot

7.71%
按下载量换算16

安全审计

暂无安全审计结果可展示。

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills