一键导入
commit-messages
Commit messages. Use when generating, suggesting, editing, or writing a git commit message.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Commit messages. Use when generating, suggesting, editing, or writing a git commit message.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Skill writing principles. Use when creating, editing, or reviewing any SKILL.md.
Skill rule extraction and creation. Use when the user says /learn.
Kysely database queries. Use when writing, reviewing, or debugging Kysely selects, mutations, joins, transactions, filters, or aggregates.
Frontend components and Tailwind. Use when creating, reviewing, refactoring, splitting, or organizing React components, shared components, component folders, or Tailwind classes.
TanStack Query in React. Use when implementing or reviewing queries, mutations, invalidation, or query hooks.
Lint and optimize existing skills. Use when the user says /skill-linter.
| name | commit-messages |
| description | Commit messages. Use when generating, suggesting, editing, or writing a git commit message. |
| disable-model-invocation | true |
This skill defines how to write commit messages. Every commit message you generate must follow these rules.
Every message has a verb and a target. Never a bare noun. The verb says what happened, the target says to what.
There is no formal prefix system. No feat():, fix():, chore():, refactor(): — none of that. The verb is just a natural word at the start.
A commit message describes what changed at the behavior level. The technique, strategy, or mechanism used to achieve the change belongs in the diff, not in the message.
Summarize with commas. Each piece still gets a verb when possible.
feat(scope):, fix(scope):, chore:# wrong: bare noun
schema
# right
fix schema validation
# wrong: AI-sounding, verbose, capitalized
Add comprehensive error handling for payment webhook endpoint.
# right
handle payment webhook errors
# wrong: conventional commit prefix
feat(auth): implement session refresh
# right
add session refresh
# wrong: includes implementation detail
fix duplicate entries, use Set to deduplicate
# right
fix duplicate entries
# wrong: leaks file paths, route patterns, or internal names
move config loading to src/lib/bootstrap.ts
# right
extract config loading
# wrong: explains why
update timeout because upstream is slow
# right
increase timeout
# wrong: filler words
various improvements to the sync flow
# right
fix sync flow