- Home
- Skills
- Prompt & Skill Engineering
- π» Git Commit & PR Writer
More screenshots
Works with the AI Agents you already use
π» Git Commit & PR Writer
Turn Code Changes into Clean, Professional Git Output. Automate Conventional Commits and structured PR descriptions from git diffs.
Free
π» Git Commit & PR Writer
Example session with this skill installed
Write a commit and PR for this diff
--- a/src/auth.ts
+++ b/src/auth.ts
- const user = await db.find(id);
- const user = await db.find(id);
- if (!user) throw new Error('User not found');
- Read your context and instructions
- Compiled the git commit
I have analyzed the diff. The change adds a guard clause to handle missing users in the authentication module.
Commit Message
fix(auth): handle null user response in find query
Add a check for undefined user results and throw an error to prevent
downstream null pointer exceptions.
Pull Request Description
Summary
This PR adds basic error handling to the user retrieval logic in the auth module. Previously, a missing user would not trigger an error, potentially causing crashes in dependent functions.
Changes
- Added a null check after the
db.find(id)call. - Introduced an explicit error throw when a user record is not found.
Test Plan
- Attempt to authenticate with a non-existent user ID.
- Verify that the application throws a 'User not found' error instead of crashing.
- Ensure existing valid user logins still function correctly.
Notes
This is a minor fix and does not require any database migrations.
Next steps
- Copy the commit message and run
git commit -m "[message]". - Use the PR description for your GitHub or GitLab pull request body.
Connects securely to your tools. The creator never sees your data.
About this skill
π§βπ» Git Commit & PR Writer
π Turn your code changes into clean, professional Git commits and PRs. This AI skill analyzes your git diff, staged changes, branch summary, or change description and creates ready-to-use developer documentation without inventing changes.
β¨ What It Does
- π Generates Conventional Commit messages
- π Creates structured Pull Request descriptions
- π§ Detects commit types like
feat,fix,refactor,docs,test,chore,perf,ciandbuild - π― Suggests meaningful scopes when appropriate
- π§ͺ Generates practical PR test plans
- β οΈ Handles breaking changes and issue references
- π Generates commit messages and PR descriptions together
- π Stays faithful to the provided changes
π‘ Perfect for developers, freelancers, open-source contributors, coding agents, and engineering teams who want consistent, review-ready Git communication.
β‘ Less writing. Cleaner Git history. Better PRs.
Requires the user to paste a git diff, staged changes, or a text summary. Does not directly execute shell commands to read the local git state.
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
This skill has been used 3 times.
Trust & safety
Security scan
Security scan passed 1 month ago
- Free with an Agensi account
Requires
Permissions
No special permissions declared or detected