git-commit-writer
SolidGenerates conventional commit messages from staged changes or a diff.
Code & Development 9 stars
0 forks Updated 3 weeks ago MIT
Install
Quality Score: 83/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
# Git Commit Writer
## What this skill does
This skill directs the agent to read a git diff (or a plain description of changes) and produce a well-formed commit message following the [Conventional Commits](https://www.conventionalcommits.org/) specification. It chooses the right type (`feat`, `fix`, `chore`, `docs`, `refactor`, `test`, `style`, `perf`, `ci`), picks an appropriate scope, writes a concise subject line, and — when the change is large enough to warrant it — adds a descriptive body.
Use this when you want consistent, meaningful commit history without having to remember the format every time.
## How to use
### Claude Code / Cline
Copy this file to `.agents/skills/git-commit-writer/SKILL.md` in your project root.
Then ask the agent:
- *"Write a commit message for my staged changes using the Git Commit Writer skill."*
- *"Here's a diff. Use the Git Commit Writer skill to produce a commit message."*
For Claude Code, you can also run `git diff --staged` first and paste the output into the chat.
### Cursor
Add the contents of the "Prompt / Instructions" section below to your `.cursorrules` file, or paste it into the Cursor AI pane before asking for a commit message.
### Codex
Paste the diff into the Codex chat along with the instructions from the section below. Codex works best when you include the full diff rather than a summary.
## The Prompt / Instructions for the Agent
When asked to write a commit message, follow these steps:
1. **Read the diff.** If ...
Details
- Author
- Notysoty
- Repository
- Notysoty/openagentskills
- Created
- 6 months ago
- Last Updated
- 3 weeks ago
- Language
- JavaScript
- License
- MIT
Similar Skills
Semantically similar based on skill content — not just same category
Code & Development Listed
commit
Write a Conventional Commits message from the staged diff, or split a messy working tree into logical commits. Use when the user asks to commit, write a commit message, or clean up the working tree before committing.
0 Updated 1 months ago
sriptcollector Code & Development Solid
dev-git-commit-message
Generates conventional commit messages from git diffs. Use when you need well-formatted commit messages following Conventional Commits.
87 Updated 1 weeks ago
vasilyu1983