git-commit-writer
SolidGenerates conventional commit messages from staged changes or a diff.
Code & Development 9 stars
1 forks Updated 6 days ago MIT
Install
Quality Score: 85/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
- 5 months ago
- Last Updated
- 6 days ago
- Language
- JavaScript
- License
- MIT
Similar Skills
Semantically similar based on skill content — not just same category
Code & Development Listed
git-commit
Generate conventional commit messages when staging files for commit in any of the project's repos. Do not use for git tag messages, merge commit messages, changelog entries, or automated version bump commits.
3 Updated today
atretyak1985 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 3 weeks ago
sriptcollector