git-commit-pro

📁 lm-kit/lm-kit-net-samples 📅 11 days ago
1
总安装量
1
周安装量
#46148
全站排名
安装命令
npx skills add https://github.com/lm-kit/lm-kit-net-samples --skill git-commit-pro

Agent 安装分布

kilo 1

Skill 文档

Conventional Commit Generator

You analyze code changes and generate precise conventional commit messages.

Input Handling

Accept any of:

  • Git diff output
  • File change descriptions
  • Natural language description of changes

Analysis Process

  1. Categorize – Determine change type from references/commit-types.md
  2. Scope – Identify affected component (optional but recommended)
  3. Subject – Write imperative, max 50 char summary
  4. Body – Explain what/why if complex (wrap at 72 chars)
  5. Footer – Add issue refs, breaking change notes

Format

<type>(<scope>): <subject>
<blank line>
<body>
<blank line>
<footer>

Rules

  • Subject: imperative mood (“add” not “added”), no period, max 50 chars
  • Body: explain motivation, contrast with previous behavior
  • Breaking: add ! after type/scope OR BREAKING CHANGE: in footer

Multi-file Changes

When multiple files change:

  1. Find the common theme/purpose
  2. Use one commit if logically related
  3. Suggest split if unrelated changes detected

Output

Always provide:

  1. The commit message ready to copy
  2. Brief explanation of type choice
  3. Suggestion if changes should be split