Skip to main content

Pull Request Review Checklist Generator

Generate a PR review checklist tailored to your stack, covering code quality, security, performance, testing, and migration safety.

Fill in the placeholders

Edit the values, then copy your finished prompt.

Your Prompt
prompt.txt

                                

What this prompt does

This prompt generates a pull request review checklist tailored to a [language]/[framework] project, scoped to the kind of change in [pr_type]. It produces sections for code quality (naming, SOLID, DRY, complexity), security review items, performance items like N+1 queries and indexing, testing requirements tied to your [coverage_target] percentage, documentation checks, and database migration safety. It also includes accessibility and i18n checks where relevant and a Markdown PR template the team can adopt.

The structure works because it encodes the predictable, recurring problems of a stack into a shared artifact. In Laravel or Next.js work the usual culprits are the same: N+1 queries, unsafe migrations, and auth gaps. By asking for framework-specific anti-patterns to watch for, the prompt makes the checklist sharp rather than generic, which is what keeps review quality consistent across different reviewers on a team. It also includes documentation checks and, where applicable, accessibility and i18n items, so the review covers more than just whether the code runs. Tying the testing section to a concrete [coverage_target] gives reviewers a number to hold the line on instead of a vague sense that there should be "enough" tests.

When to use it

  • You want a consistent review standard instead of every reviewer checking different things.
  • You are reviewing a [pr_type] that touches the database and need migration safety checks.
  • You want security and performance items baked into reviews, not remembered ad hoc.
  • You are enforcing a [coverage_target] threshold and want it on the checklist.
  • You need a Markdown PR template the whole team can adopt at once.
  • You want framework-specific anti-patterns for [framework] surfaced for reviewers.

Example output

Expect a structured checklist grouped into sections: code quality, security, performance, testing against your [coverage_target], documentation, and migration safety, plus accessibility and i18n where applicable. It closes with a ready-to-paste Markdown PR template and a list of [framework]-specific anti-patterns, all shaped by the [pr_type] you specified so the emphasis matches the kind of change being reviewed.

Pro tips

  • Set [pr_type] accurately; a checklist for a database-changing feature looks different from one for a docs-only PR.
  • Pick a realistic [coverage_target] your team can sustain, because an unenforceable threshold gets ignored and undermines the whole checklist.
  • Lean on the [framework]-specific anti-pattern section, since that is where the most stack-relevant value lives.
  • Adopt the generated Markdown template into your repository so every PR starts from the same structure.
  • Trim the checklist to what your team will actually use; an overlong list gets skimmed rather than followed.
  • Iterate by feeding back issues that slipped through recent reviews and asking it to add targeted checks for them.

Frequently Asked Questions

Will the checklist be specific to my framework?
Yes. Setting `[framework]` makes the prompt include anti-patterns and review items relevant to your stack, such as N+1 risks in an ORM or auth pitfalls. The more accurately you set `[language]` and `[framework]`, the more the checklist reflects the real mistakes that occur in that ecosystem.
Does it enforce a test coverage threshold automatically?
No, it adds the `[coverage_target]` as a checklist item for reviewers to verify, not an automated gate. To enforce it mechanically you would wire coverage checks into CI. The checklist makes the expectation explicit, but humans or your pipeline still have to act on it.
Can I use the generated PR template directly?
Yes. The Markdown PR template is meant to be dropped into your repository's pull request template so every PR opens with the same sections for description, testing, and screenshots. You may want to trim it to fit your team's workflow so it stays useful rather than overwhelming.
How does it handle database migration safety?
It includes a dedicated migration safety section when `[pr_type]` involves database changes, prompting reviewers to check for things like blocking operations, missing rollbacks, and unsafe column changes. It surfaces the right questions, but the reviewer still needs database knowledge to judge whether a specific migration is safe to ship.
Engr Mejba Ahmed

Need this built for real?

Engr Mejba Ahmed

AI Developer · Software Engineer

I'm Mejba — I design and ship production AI systems, automations, and full-stack apps. If you want this turned into a working solution for your team, let's talk.

More in Git & GitHub Prompts

Engr Mejba Ahmed

Engr Mejba Ahmed

Claude Code Expert · Online

👋

Hey there!

Quick Actions

WhatsApp Instant reply

Chat on WhatsApp

+880 1723 741224 · Instant reply

Popular Questions

Engr Mejba Ahmed is connected
Engr Mejba Ahmed is typing...
Engr Mejba Ahmed avatar

✉ Want me to follow up? Drop your email

Engr Mejba Ahmed avatar

📞 Connect Directly

Choose how you'd like to reach me

WhatsApp

+880 1723 741224

Email

[email protected]

✓ Details sent! I'll get back to you shortly.

Powered by OpenAI

335+

Blog Posts

25

AI Courses

63

Projects

Services & Expertise

Pricing & Process

Learning & Resources

Connect & Support