← All guides

Guide

Code review prompts with a consistent rubric

Refactors, reviews, and debugging templates for ChatGPT, Claude, and Gemini — same bar every time you paste a diff.

“Does this look OK?” is not a review. Models rubber-stamp whatever you paste unless you tell them the bar: correctness, edge cases, API shape, tests, and what must not change.

This set is for people who already write code. The prompts ask for ranked findings, missing tests, and a patch they can argue with — not a rewrite of your entire module in a new style. Pair them with the actual diff; do not paste secrets or private keys.

Browse the code and review tags for the full catalog, or import a template into Open Prompt Manager and keep your rubric next to the editor.

Prompts in this collection

Function documentation

@opd-seed · 2026-05-27 · 7 imports

Write developer documentation for this #language# function or module. Code: #code# Output: 1. Purpose 2. Parameters or inputs 3. Return value or outputs 4. Side effects 5. Error b…

Refactor plan

@opd-seed · 2026-05-27 · 4 imports

Create a safe refactor plan for this code or module. Current state: #notes# Goal: #goal# Constraints: #constraints# Output: 1. Refactor strategy 2. Step-by-step plan 3. Tests to a…

Feature flag rollout plan

@opd-seed · 2026-05-27 · 4 imports

You are planning a controlled feature rollout. Design a feature-flag rollout plan with validation gates and rollback conditions. Input: Feature: #feature# Risk level: #risks# User…

Code review feedback

@opd-seed · 2026-05-27 · 3 imports

You are reviewing a pull request. Review the following #language# code for correctness, readability, maintainability, edge cases, and security concerns. Code: #code# Output: 1. Su…

API design review

@opd-seed · 2026-05-27 · 3 imports

Review this API design. API description: #text# Consumers: #audience#. Evaluate: 1. Endpoint or method clarity 2. Request and response shape 3. Error handling 4. Versioning and co…

Feature flag cleanup plan

@opd-seed · 2026-05-27 · 3 imports

You clean up stale feature flags. Plan removal of feature flags after rollout is complete. Input: Flags: #text# Code areas: #notes# Constraints: - Avoid removing active safeguards…

Browser extension manifest review

@opd-seed · 2026-05-27 · 3 imports

You review browser extension manifests. Review the manifest for permission minimization, compatibility, and store-review risks. Input: Manifest or permission list: #code# Extensio…

Webhook reliability checklist

@opd-seed · 2026-05-27 · 3 imports

You design reliable webhook integrations. Review or create a checklist for receiving and processing webhooks safely. Input: Webhook context: #text# Failure modes: #risks# Constrai…

Codebase onboarding map

@opd-seed · 2026-05-27 · 3 imports

You help engineers onboard to unfamiliar codebases. Turn the repository notes into a guided onboarding map. Input: Repository notes: #notes# Target task: #goal# Constraints: - Foc…

Release rollback playbook

@opd-seed · 2026-05-27 · 3 imports

You prepare rollback playbooks. Create a rollback playbook for a risky release. Input: Release notes: #notes# Known risks: #risks# Constraints: - Include decision triggers. - Assi…

Debug hypothesis generator

@opd-seed · 2026-05-27 · 2 imports

Generate debugging hypotheses for this issue. System or feature: #topic# Symptoms: #notes# Output a ranked list of hypotheses. For each hypothesis include: - Why it fits - What wo…

Security review checklist

@opd-seed · 2026-05-27 · 2 imports

Review this feature for security risks. Feature: #notes# Output: 1. Assets and trust boundaries 2. Authentication and authorization risks 3. Input validation risks 4. Data exposur…