What problem does it solve?
Manually reviewing recent code changes for duplication, quality flaws, and inefficiencies is slow, inconsistent, and often misses cross-file issues that only appear when examining the full diff context.
Core Features & Use Cases
- Parallel Specialized Reviewers: Three concurrent reviewers each focus on a single category (code reuse, code quality, efficiency) to avoid diluted attention and reduce total review latency.
- Risk-Tiered Fix Application: Safe fixes (unused imports, commented-out code) are auto-applied, careful fixes (variable renames, helper extraction) are applied with test verification, and risky changes (public API modifications, N+1 restructuring) are flagged for human approval.
- Flexible Scoping: Supports reviewing uncommitted changes, staged changes, the last commit, branch diffs, or specific file paths, with automatic fallback to session-edited files if no git changes are found.
- Dry Run Mode: Users can request a report-only review with no code changes applied, for assessment before committing to fixes.
- Use Case Example: After implementing a new feature, use this skill to automatically identify duplicated utility functions, redundant state, and unnecessary repeated API calls in your recent changes, then apply safe improvements and surface risky adjustments for your review.
Quick Start
Invoke the simplify-code skill to review and clean up your recent uncommitted code changes.