AGENT SKILL
Git 提交信息生成
commit-message
生成约定式提交信息(conventional commit)- 在创建提交、编写提交信息或请求 git 提交帮助时使用
- License 许可
- MIT
- 最近更新
- 2026-11-12
- Stars
- ★ 2.9k
- Forks
- 2.6k
01 前言 Front Matter
- name
- commit-message
- description
- Generate conventional commit messages - use when creating commits, writing commit messages, or asking for git commit help
02 资源文件 1
- 参考文档agents/openai.yaml254 B
03 SKILL.md 正文
Commit Message Skill
Generate commit messages following the Conventional Commits specification.
Format
<type>(<scope>): <description>
[optional body]
[optional footer]
Types
| Type | When to Use |
|---|---|
feat |
New feature |
fix |
Bug fix |
docs |
Documentation only |
style |
Formatting (no code change) |
refactor |
Code change that neither fixes nor adds |
perf |
Performance improvement |
test |
Adding or updating tests |
chore |
Maintenance tasks |
Rules
- Subject line maximum 72 characters
- Use imperative mood ("add" not "added" or "adds")
- No period at the end of subject line
- Separate subject from body with blank line
- Body explains what and why, not how
Examples
Simple:
fix(auth): prevent redirect loop on expired sessions
With body:
feat(api): add rate limiting to public endpoints
- Limits requests to 100/minute per IP
- Returns 429 status with retry-after header
- Configurable via RATE_LIMIT_MAX env variable
Closes #234
04 同仓库更多 Skills
pytest 测试生成
pytest-gen
生成全面的 pytest 测试——在生成测试、创建测试套件或测试 Python 代码时使用。
★ 2.9k
技能格式入门示例
hello-world
一个最简单的技能示例——用于学习技能格式时使用。
★ 2.9k
代码质量检查清单
code-checklist
团队代码质量检查清单 - 用于检查 Python 代码质量、bug、安全问题和最佳实践
★ 2.9k
pytest 测试生成
pytest-gen
生成全面的 pytest 测试 - 在生成测试、创建测试套件或测试 Python 代码时使用
★ 2.9k
技能格式入门示例
hello-world
一个最小的技能示例 - 在学习技能格式时使用
★ 2.9k
Git 提交信息生成
commit-message
生成规范化的提交信息(conventional commit)——在创建提交、编写提交信息或需要 git commit 帮助时使用。
★ 2.9k