Skip to content
MMake Prompt AI Get Started
Home > ChatGPT Guide > /codereview
Custom prompt shortcut / Software Development

/codereview — ChatGPT Prompt Guide

Explore the /codereview custom ChatGPT prompt shortcut with a practical template, examples, and review steps. Learn how to refine outputs for your workflow.

What does /codereview do?

Purpose: Review a CSV-import pull request for a contact manager.

This is a custom prompt convention, not a built-in or official ChatGPT slash command. Entering the slash text alone does not guarantee that ChatGPT will invoke a special tool. Use the complete structured prompt below or configure your own app to interpret this shortcut.

Key decision for this workflow

Test quoted commas, Unicode, duplicate rows, formula-like cells, oversized files, and partial failures.

Copy-ready task brief

/codereview Objective: Review a CSV-import pull request for a contact manager. Inputs: Patch diff, input fixtures, file-size limits, and error-handling expectations. Deliverable: Severity-ranked review comments with reproduction cases and suggested fixes.

Reusable prompt template

/codereview Objective: Review a CSV-import pull request for a contact manager. Available materials: Patch diff, input fixtures, file-size limits, and error-handling expectations. Required output: Severity-ranked review comments with reproduction cases and suggested fixes. Acceptance test: Test quoted commas, Unicode, duplicate rows, formula-like cells, oversized files, and partial failures. Boundary: Avoid asserting a vulnerability without a reproducible path; distinguish security issues from maintainability. Return the requested deliverable first, then a brief verification checklist and any unresolved questions.

How to use this shortcut

  1. Collect the source inputs: Patch diff, input fixtures, file-size limits, and error-handling expectations.
  2. Run /codereview with the copy-ready task brief above.
  3. Request the concrete output: Severity-ranked review comments with reproduction cases and suggested fixes.
  4. Check the result: Test quoted commas, Unicode, duplicate rows, formula-like cells, oversized files, and partial failures.

Quality checks and limitations

Acceptance criteria: Test quoted commas, Unicode, duplicate rows, formula-like cells, oversized files, and partial failures. Limitation: Avoid asserting a vulnerability without a reproducible path; distinguish security issues from maintainability.

Related tools and learning

Continue with the 35 prompt generators, the technical AI Guides, and the Image Guides for deeper examples.

Worked example and expected output

Input materials: Patch diff, input fixtures, file-size limits, and error-handling expectations.

Requested result: Severity-ranked review comments with reproduction cases and suggested fixes.

Acceptance test: Test quoted commas, Unicode, duplicate rows, formula-like cells, oversized files, and partial failures.

Practical case study: Review a Python CSV importer

Starting brief: Code parses uploaded CSV into customer records and currently logs full rows.

Expected deliverable: Prioritize input validation, memory use, logging redaction and unit-test gaps.

Quality gate: Avoid asserting vulnerabilities without seeing the implementation.

/codereview
Task: Review a Python CSV importer.
Input: Code parses uploaded CSV into customer records and currently logs full rows.
Deliverable: Prioritize input validation, memory use, logging redaction and unit-test gaps.
Review: Avoid asserting vulnerabilities without seeing the implementation.

Field workflow: inputs, decisions, and validation

When to use this shortcut: Review a CSV-import pull request for a contact manager.

What to provide: Patch diff, input fixtures, file-size limits, and error-handling expectations.

What to request: Severity-ranked review comments with reproduction cases and suggested fixes.

Practical method: Test quoted commas, Unicode, duplicate rows, formula-like cells, oversized files, and partial failures.

Important limitation: Avoid asserting a vulnerability without a reproducible path; distinguish security issues from maintainability.

Frequently asked questions

Is /codereview an official ChatGPT command? No. It is a reusable custom shorthand from this catalog. Does it work without a plugin? You can copy the full prompt into an assistant; automatic slash-command routing requires application logic. Can the output be trusted without review? No. Review accuracy, safety, and suitability before use.

Worked scenario and review

Scenario: Review a pull request that adds CSV import to a contact manager.

Expected deliverable: Check parsing, file size limits, injection risks, tests and user-facing errors.

Verification: Distinguish blockers from optional improvements.