Commit Message Writer

入门productivity最低上下文:16K

Generates clear, conventional commit messages from code diffs. Follows Conventional Commits specification with appropriate type prefixes, scopes, and descriptions. Handles breaking changes, multi-file changes, and produces both concise subjects and detailed bodies.

使用场景

  • Writing commit messages from staged changes
  • Summarizing large PRs into meaningful commit history
  • Enforcing Conventional Commits in team workflows
  • Generating changelogs from commit history
  • Squash commit message generation

示例提示词

Generate a commit message for the following diff.

Follow Conventional Commits format:
- type(scope): subject (max 72 chars)
- blank line
- body explaining what and why (not how)
- footer with breaking changes or issue references

Types: feat, fix, docs, style, refactor, perf, test, build, ci, chore

Diff:
```diff
[paste git diff here]
```

推荐模型

兼容工具

claude-codecursorgithub-copilotkiroany

模态

输入: code, text
输出: text

相关 Skills

作者

OpenModels Community

@openmodelsrun