What problem does it solve?
PR readiness often suffers from leftover debug statements, duplicated logic, and poorly structured React components which slow reviews and introduce risk. This Skill provides a structured checklist and automated guidance to clean code before submitting a PR, reducing back-and-forth and rework.
Core Features & Use Cases
- Debug statement cleanup: detect and propose removal or proper logging.
- DRY analysis: identify duplicated logic and opportunities to extract utilities.
- React component structure review: flag large components, prop drilling paths, and improper prop types.
- Unused/imports checks: surface unused imports and dead code for removal.
- Use Case: a feature branch with multiple UI components can be pruned to smaller, composable pieces before review.
Quick Start
Run pr-ready on your branch to scan changed files and generate a cleanup plan for the PR.