用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/xenoterracide/agent-skills --skill commit-message命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | commit-message |
| description | Use when writing a commit message, PR title, or PR description. |
| license | CC-BY-NC-SA-4.0 |
| metadata | {"copyright":"Caleb Cushing"} |
git-conventional-commits.yaml values in convention.commitTypes for <type>'s available##), bold, fenced code
blocks, or checkboxes (- [x]). The body is reused verbatim as the
squash-merge commit message.Assisted-by:, Reported-by:, Suggested-by:), where the reference is
unambiguous — never in the prose.The "why" captures motivation the diff cannot show. It is valuable, but it MUST come from a real source — never invented to fill the field. Take it, in order of preference, from:
Closes #123) for the full detail; do not restate a
guessed rationale.If none of these gives you the motivation, do not guess: ask the user for one line, or omit the why and state only the what. A fabricated rationale in permanent history is worse than no rationale.
Keep the message self-contained: source the why from the conversation, but render it as a standing problem statement — write "the parser dropped trailing commas," not "you noticed the parser dropped commas."
():
Add an Assisted-by trailer at the end of the commit message body (after the
description, before any footer markers like BREAKING CHANGE:):
Assisted-by: <AI_NAME>:<MODEL_VERSION> [TOOL1] [TOOL2]
This follows the Linux kernel convention for AI attribution. MODEL_VERSION
is the specific model or agent version used. Optional [TOOL1] [TOOL2] list
specialized analysis tools (e.g., coccinelle, sparse). Do not list basic
tools like git, gcc, or editors.
Examples:
Assisted-by: Kimi:kimi-code-cli
Assisted-by: Claude:claude-3-opus coccinelle sparse
Do not add Signed-off-by trailers. Only humans can certify the Developer
Certificate of Origin.