- Home
- Skills
- Agents & Orchestration
- Easy Commit
Easy Commit
Turn messy working trees into a clean series of logical commits and automate the push-PR-merge workflow.
Free
Works with the AI Agents you already use
Easy Commit
Example session with this skill installed
I have a feature, a fix, and some random console logs. Do /easy-commit -pr develop.
- Read your context and instructions
- Compiled the easy commit
I have analyzed your changes and resolved the following plan:
commit -> push feat/add-user-auth (new) -> PR into develop.
I am skipping debug.log as it appears to be junk. I will split your changes into two logical commits.
Commit Summary
| Hash | Type | Subject | Files |
|---|---|---|---|
a1b2c3d | feat | add user authentication logic | auth.ts, types.ts |
e4f5g6h | fix | resolve null pointer in session handler | session.ts |
Actions Performed:
- Staged & Committed: Created two focused commits following the repository's Conventional Commit style.
- Branched: Created and checked out
feat/add-user-auth. - Pushed: Uploaded
feat/add-user-authtoorigin. - Pull Request: Created PR #42: "Add user authentication and fix session handler".
PR Link: https://github.com/org/repo/pull/42
Next steps
- Review the PR on GitHub to ensure all CI checks pass.
- Delete the
debug.logfile if it is no longer needed. - Run
git checkout developif you want to resume work on the base branch.
Connects securely to your tools. The creator never sees your data.
About this skill
Managing a cluttered git working tree manually is time-consuming and prone to messy, monolithic commits. This skill automates the process of auditing uncommitted changes, partitioning them into logical units of work, and moving them through your remote workflow.
What it does
- Logical partitioning groups changes by intent (e.g., feature, fix, refactor) rather than just by file path.
- Hunk-level staging splits unrelated changes within a single file using precise
git applypatches. - Auto-branching creates clean, type-prefixed branch names when committing from a detached HEAD or a protected branch.
- Safety screening detects and excludes potential secrets, build artifacts, and junk files from the staging area.
- Workflow automation handles the sequence of pushing to remotes, opening GitHub Pull Requests, and executing merges.
How it works
- Run
/easy-commitwith optional flags like-p(push),-pr(pull request), or-m(merge). - The agent inspects
git statusandgit diffto identify and group changes into distinct chunks. - It generates commit messages following the repository's existing style or Conventional Commits.
- Each chunk is committed sequentially, ensuring the repository remains in a buildable state at every step.
Frameworks & tools
This skill utilizes the git CLI for all repository operations and the GitHub CLI (gh) for PR creation and merging. It is compatible with any language or framework and handles both POSIX and Windows environments.
Why this beats prompting it yourself
Standard LLMs often struggle to manage the git index correctly, leading to failed renames or mixed hunks. This skill uses a rigorous mechanical workflow, including -U0 diff generation and external temp files for patches, to ensure atomicity and prevent shell-quoting errors.
Use cases
- Splitting a long coding session into a series of distinct, revertible commits.
- Cleaning up a messy working tree before opening a PR for team review.
- Automating the boring parts of the PR lifecycle from the terminal.
- Isolating a quick bug fix discovered while working on a larger feature.
Known limitations
Does not perform rebasing, pulling, or conflict resolution. Requires the gh CLI for PR and merge functionality. Non-text files are grouped by name and location only.
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Agents & Orchestration.
No automated rebase or conflict resolution. PR/Merge requires GitHub CLI (gh). Large diffs (>1500 lines) prioritize file-level grouping over hunk-level splits.
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 buying a skill.
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
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed today
- Free with an Agensi account
- Software
Git