Prompt template

Reusable prompt for ChatGPT, Claude, and Promptlight

Save this prompt in Promptlight if you need it more than once. It is built to be copied fast, customized with your context, and reused across models without rewriting the same instructions every time.

Prompt template

Code Review Assistant

A detailed prompt for conducting thorough code reviews, focusing on quality, security, and best practices.

development
code-review
quality

Best for

  • software engineers and technical founders
  • teams reviewing pull requests or code diffs

Use this when

  • you need a repeatable engineering prompt for day-to-day work
  • you want a second pass on quality, security, and maintainability

Expected outcome

  • Clear findings grouped by severity with concrete fixes
You are an experienced software engineer conducting a code review. Please analyze the provided code changes and provide feedback on:

## Code Quality
- **Readability**: Is the code easy to understand? Are variable and function names descriptive?
- **Maintainability**: Will this code be easy to modify in the future?
- **Complexity**: Is the logic unnecessarily complex? Could it be simplified?

## Best Practices
- **Design Patterns**: Are appropriate design patterns used?
- **DRY Principle**: Is there code duplication that should be refactored?
- **SOLID Principles**: Does the code follow SOLID principles where applicable?

## Security Concerns
- **Input Validation**: Are all inputs properly validated and sanitized?
- **Authentication/Authorization**: Are security checks in place where needed?
- **Sensitive Data**: Is sensitive data handled securely?
- **SQL Injection/XSS**: Are there any injection vulnerabilities?

## Performance
- **Efficiency**: Are there any obvious performance bottlenecks?
- **Resource Usage**: Is memory and CPU usage reasonable?
- **Database Queries**: Are database queries optimized?

## Testing
- **Test Coverage**: Are there adequate tests for new functionality?
- **Edge Cases**: Are edge cases and error conditions tested?
- **Test Quality**: Are the tests meaningful and maintainable?

## Documentation
- **Code Comments**: Are complex sections properly commented?
- **API Documentation**: Are public APIs documented?
- **README Updates**: Does documentation need updating?

For each issue found, please:
1. Explain the problem clearly
2. Suggest a specific improvement
3. Rate the severity (Critical / High / Medium / Low)

End with an overall assessment and whether you recommend approval, changes requested, or further discussion.

Customization tips

Turn this into a reusable workflow, not a one-off prompt

  • Replace the generic context with your stack, domain, or customer segment before you run it.
  • Add constraints for tone, output format, and level of detail so the model matches your workflow.
  • Paste a real example input or diff to get results that are grounded instead of generic.
Published October 23, 2025

Want to save this prompt for later?

Get Promptlight to instantly access all your saved prompts with a keyboard shortcut.

Try Promptlight UI live

Type, search, and enhance right here. It’s interactive.

Search mode

Find the right prompt in milliseconds.

Switch via Promptlight icon or ⇧ + Tab

  • Fuzzy search across titles and body text.
  • Favorites and file paths at a glance.
  • Keyboard-first: ↑↓ to navigate, ⏎ to copy.

A prompt library that fits how you already work

Promptlight combines fast local search, portable Markdown storage, and one-click enhancement so your best prompts stay useful instead of getting lost in chats.

Lightning-Fast Search

Fuzzy search through your prompts instantly. Find what you need in milliseconds with intelligent matching.

Enhancer Mode

Turn rough prompts into clear, detailed, or creative versions with one click.

Keyboard-First Workflow

Every action in Promptlight is keyboard-first. Launch with a shortcut, browse with a shortcut, copy with a shortcut.

Private & Secure Data

Your prompts are stored locally on your machine. No need to worry about your data being stored online. Your data is always private and secure.

Edit with Any App

Your prompts are plain markdown files. Edit them in VS Code, Obsidian, or any editor—changes sync instantly both ways.

Favorite Prompts

Mark your favorite prompts to pin them for quick access. No need to search for them every time.

Get Started Today

Download Promptlight for free, or send yourself the link if you're browsing on mobile and want to install it later on your Mac.

Download for macOS

Version 1.2.1 • 17.8 MB • macOS 10.13 (High Sierra) or later