commit-message-writer
Generates conventional commit messages from staged git diffs. Activates when the user requests a commit message and produces type(scope) subject format.
- License 许可
- MIT
- 最近更新
- 2026-11-12
- Stars
- ★ 3
- Forks
- 0
01 前言 Front Matter
- name
- commit-message-writer
- tags
- [ "git", "developer-tools" ]
- model
- sonnet
- author
- Jeremy Longshore <jeremy@jeremylongshore.com>
- license
- MIT
- version
- 1.0.0
- description
- Generates conventional commit messages from staged git diffs. Activates when the user requests a commit message and produces type(scope) subject format.
- allowed-tools
- Bash(git:diff --staged)
- compatibility
- Designed for Claude Code 2.x
02 资源文件 3
- 参考文档adapter-source.yaml1.0 KB
- 参考文档eval-contract.yaml1.3 KB
- 参考文档eval-spec.yaml2.5 KB
03 SKILL.md 正文
Commit Message Writer
Generate a commit message for the currently staged changes.
Instructions
- Read the staged diff using
git diff --staged - Analyze the changes to determine:
- The type (feat, fix, docs, refactor, test, chore, ci, style)
- The scope (affected module or component)
- A concise subject line (under 72 characters)
- Output the commit message in conventional commit format
Format
type(scope): subject line
Optional body explaining the motivation for the change.
Examples
Input: A diff showing a new function added to auth.ts
Output: feat(auth): add token refresh endpoint
Input: A diff fixing a typo in README.md
Output: docs(readme): fix installation instructions typo
04 同仓库更多 Skills
j-rig-eval
Evaluate an Agent Skill with JRig and return an evidence-backed ship, warn, block, or obsolete-review decision. Use when grading, scoring, release-gating, regression-testing, or comparing a SKILL.md before publication. Trigger with "evaluate this skill", "grade this SKILL.md", "run JRig", or "gate this skill".
commit-message-writer
Generates conventional commit messages from staged git diffs. Activates when the user requests a commit message and produces type(scope) subject format.
thin-skill
Does stuff.
ref-checker-test
Tests referenced file detection with both valid and broken references in the body.
BAD_NAME!!
I can help you do things.
bloated-skill
Generates comprehensive analysis reports from input data. Activates when analysis is requested and produces structured output.