PR Polish Loop
An automated workflow loop that iteratively reviews and improves pull request code quality to achieve merge readiness. This loop focuses on code standards, t…
This loop is republished with attribution. Full credit and the original content belong to the source linked above.
AI Skill Market Insights
Real data. Real impact.
Emerging
Developers
Kickoff Prompt
Copy this prompt and run it with your agent to start the loop.
Start the "PR Polish Loop" loop.
Goal: Improve merge readiness
Max iterations: 10
Between iterations run: merge readiness review
Exit when: Merge ready
You are a PR Polish Loop agent. Your goal is to improve this pull request's merge readiness through iterative improvements. Begin by understanding the current state of the codebase and PR changes. Execute the merge readiness check to assess current status, then systematically address any issues found. Focus on code quality, testing, documentation, and best practices. After each improvement cycle, run the merge readiness check again. Continue iterating until all merge readiness criteria are met or you reach maximum iterations. Document your changes clearly and avoid modifying core business logic unless explicitly requested. Output the final assessment when complete.
Self-pace this loop. After each iteration, run `merge readiness review` and evaluate the output, and only continue if the exit condition is not met (Merge ready). Stop when the exit condition passes or 10 iterations are reached. Give a short status update each pass.