- Home
- Skills
- Workflow Automation
- Commitline: commit messages from your diff
More screenshots
Works with the AI Agents you already use
Commitline: commit messages from your diff
Reads your staged diff and writes a clean Conventional Commit: right type, scope, and a subject under 72 characters.
Free
Commitline: commit messages from your diff
Example session with this skill installed
I just updated the user login logic to handle expired JWT tokens and staged the changes. Generate a commit message for this.
- Read your context and instructions
- Compiled the commitline
I have analyzed the staged changes in your repository.
Commit Message
fix(auth): handle expired token refresh during login
Update the authentication middleware to intercept expired JWT errors.
Previously, expired tokens caused a 500 error; the system now
triggers the refresh flow or redirects to the login page.
Next steps
- Run
git commit -m "fix(auth): handle expired token refresh during login"to apply the message. - If this requires a manual review of the logic, run
git diff --stagedone last time. - Push your changes to the remote repository.
Connects securely to your tools. The creator never sees your data.
About this skill
Writing commit messages is a chore that leads to lazy labels like "fixed bug" or "updated stuff." This skill automates the process by analyzing your git diff and generating structured, conventional commits.
What it does
- Analyze diffs reads your staged or unstaged changes to understand the logic.
- Enforce conventions maps changes to standard types like
feat,fix,refactor, orchore. - Determine scope identifies the affected module or service such as
auth,api, ordb. - Apply constraints ensures subjects are in imperative mood, lowercase, and under 72 characters.
- Write bodies generates optional explanations for non-obvious logic or breaking changes.
How it works
- Stage your files using
git add. - Invoke the skill by typing
Commitlineorcommit message?. - The agent reads the diff via a bash tool call.
- It outputs a formatted commit message ready for copy-pasting or direct execution.
Frameworks & tools
The skill requires git and works with any codebase regardless of language. It is optimized for environments with bash tool access like Claude Code or Cursor.
Why this beats prompting it yourself
Generic prompts often produce wordy, conversational, or incorrectly formatted messages. This skill enforces strict Conventional Commits rules and imperative mood by default, saving you from manual linting and overthinking.
Use cases
- Generating clean messages for complex refactors where the scope is broad.
- Documenting breaking changes with the required
BREAKING CHANGE:prefix. - Maintaining a professional git history in team environments with strict CI/CD rules.
- Speeding up the workflow when performing multiple small, atomic commits.
Known limitations
The skill relies on the agent having permission to execute git diff via bash. It assumes a standard Conventional Commits preference unless project rules specify otherwise.
Requires bash tool access to run git commands. Large diffs spanning unrelated changes may result in generic messages; atomic commits are recommended.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before any payment.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
2 uses
Times used to date
Free forever
No account required to browse
Trust & safety
Security scan
Security scan passed 1 month ago
- Free with an Agensi account
Requires