commit-message

GitHub

用于生成符合 Conventional Commits 规范的 Git 提交信息,涵盖类型选择、格式约束及示例,辅助开发者规范代码版本管理。

.github/skills/commit-message/SKILL.md github/copilot-cli-for-beginners

Trigger Scenarios

创建 Git 提交时 编写或优化提交信息时 询问 Git 提交规范帮助时

Install

npx skills add github/copilot-cli-for-beginners --skill commit-message -g -y
More Options

Non-standard path

npx skills add https://github.com/github/copilot-cli-for-beginners/tree/main/.github/skills/commit-message -g -y

Use without installing

npx skills use github/copilot-cli-for-beginners@commit-message

指定 Agent (Claude Code)

npx skills add github/copilot-cli-for-beginners --skill commit-message -a claude-code -g -y

安装 repo 全部 skill

npx skills add github/copilot-cli-for-beginners --all -g -y

预览 repo 内 skill

npx skills add github/copilot-cli-for-beginners --list

SKILL.md

Frontmatter
{
    "name": "commit-message",
    "description": "Generate conventional commit messages - use when creating commits, writing commit messages, or asking for git commit help"
}

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

  1. Subject line maximum 72 characters
  2. Use imperative mood ("add" not "added" or "adds")
  3. No period at the end of subject line
  4. Separate subject from body with blank line
  5. 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

Version History

  • 82632dc Current 2026-07-25 07:29

Same Skill Collection

.github/skills/code-checklist/SKILL.md
.github/skills/hello-world/SKILL.md
.github/skills/pytest-gen/SKILL.md
samples/skills/code-checklist/SKILL.md
samples/skills/commit-message/SKILL.md
samples/skills/hello-world/SKILL.md
samples/skills/pytest-gen/SKILL.md

Metadata

Files
0
Version
7f0fd69
Hash
4e76d5bf
Indexed
2026-07-25 07:29

Accueil - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-23 01:50
浙ICP备14020137号-1