Skip to main content
prompt GP ChatGPT

Code Review taste — ChatGPT prompt: review guidelines

This prompt sets practical review standards for pull requests, from checking correctness to labeling comments by severity. Use it when you want a consistent review checklist.

Open on GitHub

What Code Review taste does

The prompt puts correctness, design, and maintainability ahead of naming and readability. It asks reviewers to look beyond the happy path for error handling, timeouts, retries, and logging. Bug fixes should include tests that would have failed before the fix.

It also recommends keeping pull requests small, separating refactors from behavior changes, and describing the rationale, approach, tests, and out-of-scope work. Comments get weight labels, and reviewers are encouraged to ask questions rather than issue orders. Formatters, linters, and type checkers handle style in CI.

Database migrations, auth changes, and public API changes are treated as high risk and call for a second reviewer. The listed Claude Code file path is .claude/commands/prompts.csv.md; no ChatGPT install command is listed.

What it helps with

  • review a pull request for correctness and design issues
  • spot missing checks for errors, timeouts, and retries
  • ask for a regression test with a bug fix
  • separate blocking feedback from minor nits
  • flag high-risk API or auth changes

Example prompts for the agent

  • Review this pull request using the prompt’s standards, prioritizing correctness and maintainability over naming.
  • Check the diff for missing error handling, timeouts, or retries, and label each comment by severity.
  • Assess whether this pull request should be split into smaller changes.

How to install Code Review taste

How to use

Paste the text at the start of a chat or into project instructions

Questions about Code Review taste

How do I install Code Review taste in Claude Code?

Place the file at .claude/commands/prompts.csv.md.

What does Code Review taste do?

It sets review guidelines for pull requests, including checks for correctness, tests, error paths, and change risk. It also gives reviewers a way to label comments by weight.

Which changes require a second reviewer?

Database migrations, auth changes, and public API changes.

Source text

prompts.csv · CC0-1.0
# Code Review taste of a staff engineer
- Keep pull requests small enough to review in one sitting, ideally under 400 changed lines; split refactors from behavior changes. Confidence: 0.90
- Write a PR description that states the why, the approach, how it was tested and what is out of scope. Confidence: 0.90
- Self-review the diff before requesting review and leave comments on the non-obvious parts. Confidence: 0.85
- Let formatters, linters and type checkers settle style in CI; humans never comment on whitespace or import order. Confidence: 0.95
- Review for correctness, design and maintainability first, naming and readability second. Confidence: 0.85
- Prefix comments with their weight (nit:, suggestion:, question:, blocking:) so the author knows what must change. Confidence: 0.85
- Ask questions instead of issuing orders ("What happens if this list is empty?"). Confidence: 0.80
- Approve with minor nits rather than blocking; trust the author to address them before merge. Confidence: 0.80
- Respond to review requests within one working day; a stale PR costs more than an interrupted hour. Confidence: 0.85
- Require tests for every bug fix that would have failed before the fix. Confidence: 0.90
- Check error paths, timeouts, retries and logging, not just the happy path. Confidence: 0.85
- Flag any new dependency and ask whether it is maintained, licensed correctly and worth its size. Confidence: 0.80
- Treat database migrations, auth changes and public API changes as high-risk and require a second reviewer. Confidence: 0.85
- Pull the branch and run it locally for UI or behavior changes that screenshots cannot prove. Confidence: 0.70
- Suggest concrete code with the suggestion feature instead of describing the change in prose. Confidence: 0.75
- Resolve long back-and-forth threads in a short call, then write the outcome in the PR. Confidence: 0.80
- The author resolves conversations only after the reviewer's concern is addressed or explicitly waived. Confidence: 0.70
- Use CODEOWNERS for critical paths but avoid making one person a bottleneck for the whole repo. Confidence: 0.80
- Prefer squash merges with a clean conventional commit message for a linear history. Confidence: 0.75
- Praise good solutions explicitly; review is also how the team learns what good looks like. Confidence: 0.75
- Never merge your own PR without review on shared branches, except documented emergency hotfixes that get a follow-up review. Confidence: 0.85

© f · CC0-1.0 · f/prompts.chat

Similar prompts

All prompts for Code review and refactoring →

From the same set143

The whole set →
SwiftUI iOS App taste A set of rules for SwiftUI work: how to build screens, where state lives and which APIs to drop. Useful when an agent writes fresh iOS code. GP ChatGPT ★ 174,676repo stars Event-Driven Architecture taste Sets architectural guidelines for distributed systems: past-tense domain events, transactional outbox patterns, idempotent consumers, and sagas over two-phase commits. GP ChatGPT ★ 174,676repo stars Universal LLM Operating Guidelines A rule set for LLM-assisted coding: understand the task first, then touch the code. Cuts invented APIs and stray edits. GP ChatGPT ★ 174,676repo stars Web Accessibility taste Sets frontend accessibility standards for interface development. It guides accessible markup, keyboard navigation, and focus handling. GP ChatGPT ★ 174,676repo stars Redis Caching taste A prompt that hands your AI assistant a working set of Redis caching rules: cache-aside reads, TTL with jitter, delete-on-write invalidation. Useful when you design a cache and want the sharp edges covered. GP ChatGPT ★ 174,676repo stars GraphQL API taste A prompt that steers an agent to shape a GraphQL schema from client use cases rather than database tables. Useful when the API exists but the types no longer match what the frontend needs. GP ChatGPT ★ 174,676repo stars Shell Scripting taste Prompt setting strict Bash engineering standards with confidence ratings. It guides AI to write defensive shell scripts with proper traps and error handling. GP ChatGPT ★ 174,676repo stars Web Performance taste This prompt gives frontend work a performance checklist, from real-user Core Web Vitals to JavaScript budgets and image loading. GP ChatGPT ★ 174,676repo stars

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor