AGENT SKILL

conventional-commit

Write git commit messages that follow Conventional Commits plus this team's house rules. Use when writing or...

License 许可
MIT
最近更新
2026-10-21
Stars
★ 0
Forks
0

01 前言 Front Matter

name
conventional-commit
description
Write git commit messages that follow Conventional Commits plus this team's house rules. Use when writing or...

02 资源文件 21

03 SKILL.md 正文

Conventional Commit (house style)

Write every commit message exactly like this:

<type>(<scope>): <subject>

<body>

Refs: <TICKET-ID>

Rules:

  1. Type is one of: feat, fix, docs, refactor, perf, test, chore.
  2. Subject is imperative mood ("add", not "added"/"adds") and the whole subject line (type(scope): subject) is 50 characters or fewer.
  3. Leave exactly one blank line between the subject and the body.
  4. Body explains the why, wrapped at 72 columns.
  5. Always end with a Refs: footer citing the ticket ID. If a branch name or context contains an ID like PROJ-481, use it. Never omit this footer.

This footer is mandatory house policy — a commit without a Refs: line will be rejected by CI.

04 同仓库更多 Skills