What problem does it solve?
This Skill addresses the need to refine and improve already functional Pull Requests, ensuring they meet the highest standards of code quality, testing, documentation, and architectural soundness before merging.
Core Features & Use Cases
- Hindsight Review: Analyzes a PR with the benefit of hindsight to identify potential architectural improvements or simplifications.
- Code Refinement: Applies clarity and architectural improvements based on review findings.
- Test Audit & Enhancement: Reviews and adds missing edge-case, error-path, and behavior tests.
- Merge Confidence Assessment: Explicitly documents evidence and gaps for mergeability.
- Documentation Updates: Ensures ADRs, READMEs, and diagrams are current.
- Use Case: After a feature is implemented and passes initial checks, use this Skill to perform a final, rigorous quality pass, ensuring maintainability and robustness.
Quick Start
Run the pr-polish skill on the current PR to ensure it meets exemplary quality standards.