commit-message

作者:AgentsRoomAgentsRoom 已验证尚无安装尚无点赞更新于 2026年5月7日分类: 工程

它能做什么

Use when writing a commit message. Conventional Commits format with a clean scope and a why-not-what body.

安装会在你的 AgentsRoom 桌面端打开这个条目。如果还没有安装应用,你会被带到下载页面。

SKILL.md

---
name: commit-message
description: Use when writing a commit message. Conventional Commits format with a clean scope and a why-not-what body.
---

# Commit message

Format:

```
<type>(<scope>): <imperative one-liner>

<why this change matters, in 1-2 short paragraphs>
<optional: BREAKING CHANGE section>
```

Rules:
1. `type` ∈ feat | fix | refactor | chore | docs | style | perf | test | security.
2. Subject line under 72 chars, imperative mood ("add", not "added"), no trailing period.
3. Body explains WHY, not WHAT — the diff already shows the what.
4. Reference the ticket / PR (`Closes #123`) at the end of the body when applicable.

标签

docsgit