pre-commit-cleanup
CommunityTighten patches before review with AI cleanup.
Authorjohnend
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Clean up patches before review by removing AI-style slop, validating key paths, and surfacing remaining risks to ensure reviewers focus on substantive changes.
Core Features & Use Cases
- Remove noisy, unnecessary comments and defensive branches that do not affect public behavior.
- Validate patch integrity by checking critical paths and tests, surfacing potential risks for review.
- Use case: when a patch is nearly complete but requires tightening before submission to maintain code quality.
Quick Start
Run a focused cleanup pass on the current patch to remove noise while preserving behavior.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: pre-commit-cleanup Download link: https://github.com/johnend/dots/archive/main.zip#pre-commit-cleanup Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 510,000+ vetted skills library on demand.