- Home
- Skills
- Code Quality & Review
- Git Commit Planner
Works with the AI Agents you already use
Git Commit Planner
Audit Git changes to plan and execute safe, logically grouped commits with Conventional Commit messages.
Free
Git Commit Planner
Example session with this skill installed
Review my pending changes and plan the commits. I have a new user auth feature, some fixed CSS in the header, and an accidental change to a .env file.
- Read your context and instructions
- Compiled the git commit planner
I have grouped your changes into two logical commits and excluded the sensitive environment file.
Git Commit Plan
# Group 1: User Authentication
git add src/auth.ts src/__tests__/auth.test.ts
git diff --staged
git commit -m "feat(auth): implement user login and registration logic"
# Group 2: Header Styling
git add src/components/Header.css
git diff --staged
git commit -m "fix(ui): correct header alignment on mobile views"
# Clean up accidental staging
# git restore --staged .env
The .env file was excluded as it contains potential secrets. I also detected src/auth.ts changes but noticed docs/api.md was not updated; I have kept the docs out of this plan.
Heads-up:
- Excluded
.envto prevent credential leak. - Suggested
git restorefor the staged secret.
Next steps
- Does this plan look correct, or would you like any changes?
- Would you like to run these commands yourself, or should I execute them for you?
Connects securely to your tools. The creator never sees your data.
About this skill
Managing a messy working directory often leads to bloated "updated files" commits or accidentally leaked secrets. This skill audits your Git repository to organize pending changes into logical, atomic commits with proper Conventional Commit messages.
What it does
- Change auditing: Inspects staged, unstaged, and untracked files to understand the intent of every modification.
- Commit grouping: Batches related features and tests while separating unrelated fixes or documentation typos.
- Safety filtering: Automatically flags and excludes potential secrets, tokens, private keys, and environment files from commit plans.
- Dependency validation: Checks that manifest updates match their corresponding lockfiles and that new configurations include documentation.
- Command generation: Provides explicit
git addandgit commitcommands for each group, avoiding dangerousgit add .patterns.
How it works
- Repository inspection: Run the skill to scan your status, diffs, and recent log history for context.
- Review the plan: The agent returns a sequence of commands and a summary of excluded or questionable files.
- Refine or approve: You can ask to split a commit, change a message, or include a file previously marked for review.
- Execution: Ask the agent to run the approved commands directly if your environment allows.
Frameworks & tools
This skill requires git installed on the host. It optionally uses bash for enhanced context gathering but can fall back to standard Git commands for cross-platform compatibility.
Why this beats prompting it yourself
Generic prompts often miss untracked files or fail to detect when a lockfile is missing a corresponding manifest change. This skill follows a strict logic for secret detection and commit ordering that prevents common repository hygiene errors.
Use cases
- Split a large day of work into five clean, descriptive commits.
- Ensure credentials in a new
.envfile are never accidentally staged. - Generate precise Conventional Commit messages that follow repository standards.
- Detect when a feature was changed but its corresponding tests were forgotten.
Known limitations
Does not perform history rewrites, pushes, or rebases. Best-effort secret detection; it does not guarantee 100% identification of all sensitive patterns.
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 16 days ago
- Free with an Agensi account
- Software
Git
Permissions
What's inside
Frequently Asked Questions
New in Code Quality & Review
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Code Quality & Review.