- Home
- Skills
- Code Quality & Review
- Clean Pull Requests: Commit Lint, Size Check, PR Splitting
Clean Pull Requests: Commit Lint, Size Check, PR Splitting
Lint Conventional Commits and PR titles, measure PR size, split oversized PRs into ordered parts and write the description. Stdlib only.
$7
What it does
- Identifies commit messages and titles that do not follow standard naming rules
- Suggests specific text fixes for every messy commit message in your history
- Calculates the true size of your changes while ignoring generated or vendor files
- Creates a step-by-step plan to split oversized changes into smaller logical parts
- Generates a detailed description covering the purpose, risks, and testing of your work
Who it's for
Developers cleaning up code history
Clean up your commit messages and PR titles to meet team standards before you push.
Try asking: “Check if my branch is ready for a PR and fix my commit messages.”
Tech leads reviewing large changes
Break down massive, unreviewable pull requests into small, logical parts that are easy to check.
Try asking: “This PR is way too big. Help me split it into smaller parts.”
Teams using Conventional Commits
Enforce consistent naming for every change so your project history stays readable.
Try asking: “Audit these commit messages against our team policy.”
Clean Pull Requests: Commit Lint, Size Check, PR Splitting
Example session with this skill installed
I have a branch with 15 commits and over 1,200 lines changed. It is a mess. Check if it is ready for a PR and help me split it up if it is too big.
- Read your context and instructions
- Compiled the clean pull requests
I have analyzed your branch data. The current status is NOT READY.
The total size is 1,254 lines, which exceeds the limit for a single review. I recommend splitting this into three parts.
1. Commit Message Audit
fix: update stuff-> Issue: Too vague. Suggestion:fix: update billing validation logicadded new docs-> Issue: Missing type prefix. Suggestion:docs: add installation instructions
2. Splitting Plan
I have organized your changes into these parts for easier review:
- Part 1 (Infrastructure): Changes to configuration and build files. Use branch
pr-part-1-config. - Part 2 (Logic): The core library updates. Use branch
pr-part-2-core. - Part 3 (Tests): New test cases and documentation. Use branch
pr-part-3-testing.
3. Next Steps
- Run
git commit --amendto fix the latest message. - Use
git checkout -bfor each part listed above and move the specific files I identified. - Once the first part is ready, I can help you write the description for it.
Would you like the specific git commands to move the files for Part 1?
Connects securely to your tools. The creator never sees your data.
About this skill
When a code change gets too big or messy, reviewers struggle to understand it. This skill helps you polish your pull requests until they are easy to read and safe to merge. It checks your commit messages against professional standards and flags titles that do not follow the rules. If your change has grown too large, it suggests exactly how to slice it into smaller, logical branches.
How it works
- Provide the list of file changes and your commit messages to your AI agent.
- Review the report on commit quality and the total size of your changes.
- Follow the suggested fixes for any messages that fail the check.
- Use the generated plan to split a large change into smaller, ordered parts if needed.
- Create a clear description using the provided template for your final submission.
What you get: A ready-to-merge pull request with clean history and a logical structure.
You must manually run the git commands to get the logs and diffs to show your AI agent. It cannot push code to your repository for you.
This skill uses Python 3.10 scripts (pr_check.py, split_plan.py, commit_lint.py) to process git numstat and log outputs. It enforces Conventional Commit standards via a customizable policy (types, scopes, header length). It ignores node_modules, dist, and vendor folders by default when calculating size limits (warn at 400 lines, fail at 1000). It outputs a structured split plan with specific git switch and checkout commands for branch orchestration.
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
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 1 day ago
- Software
Python
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.