Token导航 LogoToken导航TokenDH.com
研究检索操作浏览器github未标认证来源可访问clear审计未展示

commit-messages提交消息

Agent Skill

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

总安装

559

周安装

24

GitHub Stars

公开资料未说明

下载量

196
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

AgentSkills.tonpx skills
npx skills add mintuz/claude-plugins --skill "commit-messages"

简介

该技能用于发现并集成适用于 Git 提交消息优化的 AI 插件。

  • 可在 Cursor、Gemini CLI 等平台中提升提交描述清晰度与可追溯性。
  • 支持模板填充、语义分析与多语言适配等功能。commit-messages 属于研究检索类 Skill,可作为该场景下的辅助能力补充。
  • 安装依赖 npx 与指定仓库路径,需确保本地 Git 配置正确。
  • 建议查阅原始文档了解最佳实践与自动化钩子集成方法。

SKILL.md

name
commit-messages
description
WHEN writing git/conventional commits; NOT for PR text; returns concise, why-first commit lines with proper type/scope.

Commit Messages

Use this skill to generate clear, conventional commit messages that explain the "why" not just the "what". Follow this guide when writing commit messages or helping users structure their commits.

When to Use

  • User asks for help writing a commit message
  • User wants to understand conventional commit format
  • User needs to split a large commit into smaller ones
  • User asks about commit best practices

Philosophy

  • Why > What - The diff shows what changed; the message explains why
  • Atomic commits - One logical change per commit
  • Future readers - Write for someone debugging at 2am in 6 months
  • Searchable - Make it easy to find with git log --grep

Format

Follow Conventional Commits:

type(scope): subject

body (optional)

footer (optional)

Types

TypeWhen to UseExample
featNew feature for the userfeat(auth): add password reset flow
fixBug fix for the userfix(cart): correct quantity calc
docsDocumentation only changesdocs: update API examples
styleFormatting, white-space (not CSS)style: format with biome
refactorCode change that neither fixes nor addsrefactor: extract validation utils
perfPerformance improvementperf: memoize expensive calculation
testAdding or updating teststest: add auth integration tests
buildBuild system or dependenciesbuild: upgrade to node 22
ciCI configurationci: add playwright to pipeline
choreOther changes that don't modify src/test fileschore: update .gitignore

Rules

Subject Line

RuleGoodBad
Imperative moodadd user profileadded user profile
No capitalizationfix login bugFix login bug
No periodupdate readmeupdate readme.
Be specificfix redirect loop on session expiryfix bug
Max 50 chars (72 hard limit)Keep it conciseDon't write essays

Scope (optional)

  • Component or area: feat(auth):, fix(api):, test(cart):
  • Keep consistent within project
  • Omit if change spans multiple areas

Body (when needed)

  • Wrap at 72 characters
  • Explain why this change was necessary
  • Include context that isn't obvious from the diff
  • Reference issues: Fixes #123 or Relates to #456

Breaking Changes

feat(api)!: change authentication endpoint

BREAKING CHANGE: /auth/login now requires email instead of username.
Migration: Update all clients to send email field.

Commit Scope Assessment

Before writing the message, assess whether the staged changes should be one commit or multiple.

Signs to Split

SignalAction
Changes to unrelated filesSplit by feature/area
Multiple types (feat + fix)Separate commits
"and" in your subject lineProbably two commits
> 10 files changedConsider splitting
Mix of refactor + featureRefactor first, then feature

Good Split Example

Instead of:

feat: add user profile and fix login redirect and update tests

Split into:

fix(auth): prevent redirect loop on session expiry
feat(profile): add user profile page
test(auth): add session expiry tests

Examples

Good

feat(cart): add quantity selector to cart items

Allow users to update item quantities directly from the cart
instead of navigating back to the product page.

Closes #234
fix(auth): prevent redirect loop on expired session

Session expiry was triggering a redirect to login, which then
redirected back to the protected route, causing an infinite loop.

Now we clear the redirect URL when session expires.
refactor: extract validation logic to shared utilities

Consolidates duplicate Zod schemas from three API routes into
a single source of truth in lib/validation.

No behavior changes.
perf(search): debounce search input to reduce API calls

Search was firing on every keystroke, causing 10+ requests
for a typical query. Now waits 300ms after typing stops.

Reduces search API calls by ~80% based on local testing.

Bad

MessageProblem
fixed stuffToo vague - what stuff?
Updated the codeObvious - adds no value
WIPNot ready to commit
fix: Fix the bugRedundant, no detail
misc changesMeaningless
feat: add new featureWhat feature?
refactor codeWhat code? Why?

Output Format

When generating commit messages, provide the complete message ready to use:

type(scope): clear subject line

Optional body explaining the motivation for this change.
Include context that helps future readers understand why
this was done, not just what was done.

Fixes #123

If the commit should be split, recommend splitting with specific guidance:

**Recommendation: Split this commit**

The staged changes include multiple unrelated changes:

1. [Change type 1] - [files affected]
2. [Change type 2] - [files affected]

**Suggested commits:**

1. First commit:

type(scope): first change


2. Second commit:

type(scope): second change


**To split:** Use `git reset HEAD` then stage files for each commit separately.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Claude Code

27.16%
按下载量换算53

Antigravity

22.48%
按下载量换算44

windsurf

16.18%
按下载量换算32

Codex

12.49%
按下载量换算24

trae

6.84%
按下载量换算13

OpenCode

3.45%
按下载量换算7

安全审计

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

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

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

来源信息

继续浏览同类 Skills