AGENT SKILL

commit-helper

暂无简介

License 许可
MIT
最近更新
2026-05-27
Stars
★ 0
Forks
0

02 资源文件 1

03 SKILL.md 正文

Commit Helper

Generates Conventional Commit messages from the current staged diff.

When to use

  • The user asks for a commit message and there are staged changes.
  • The user says "make a commit" / "commit this" without specifying a message.

Behavior

  1. Inspect git diff --cached to understand what changed.
  2. Pick the right Conventional Commit prefix (feat, fix, chore, refactor, docs, test, build, ci).
  3. Write the subject line in imperative mood, ≤ 72 characters, no trailing period.
  4. If multiple unrelated changes are staged, suggest splitting them rather than writing a multi-purpose commit.

04 同仓库更多 Skills