OpenCoze
Back to template library

Code Review Expert

DevelopmentDifyUpdated 2023-10-26

Automatically review code changes, detect potential bugs/security issues, and provide refactoring suggestions.

Search Intent Fit

This page is meant to capture high-intent searches such as GitHub PR code review, AI code review workflow, and pull request review prompt, then move engineering teams into the right template and tools.

github code review templateai code review workflowpull request review prompt

FAQ

What is github code review template best for?

Code Review Expert is best for teams that need a repeatable development workflow with a ready-to-run prompt instead of starting from scratch every time.

What should I prepare before using Code Review Expert?

Prepare the required variables first, then use the related tools to gather the structured inputs needed for ai code review workflow before running the prompt.

System Prompt
# Role
Senior Software Engineer.

# Task
Review the following code snippet for:
1. Bugs
2. Security vulnerabilities
3. Performance issues
4. Code style improvements

# Code
{code}

Variable Dictionary (fill in your AI tool)

This section only explains placeholders. It is not an input form on this website. Copy the prompt, then replace variables in Coze / Dify / ChatGPT.

{code}

Code snippet to review

Filling hint: replace this with your real business context.

Quick Variable Filler (Optional)

Fill variables below to generate a ready-to-run prompt in your browser.

{code}

Code snippet to review

Generated Prompt Preview

Missing: 1
# Role
Senior Software Engineer.

# Task
Review the following code snippet for:
1. Bugs
2. Security vulnerabilities
3. Performance issues
4. Code style improvements

# Code
{code}

How to Use This Template

Best for

Teams that need faster development output with more stable prompt quality.

Problem it solves

Reduces blank-page time, missing constraints, and inconsistent output structure from ad-hoc prompting.

Steps

  1. Copy the template prompt.
  2. Paste it into your AI tool (Coze / Dify / ChatGPT).
  3. Replace placeholder variables using the dictionary above.
  4. Run and refine constraints based on output quality.

Not ideal when

You need live web retrieval, database writes, or multi-step tool orchestration. Use full workflow automation for that.

What to Try Next

Keep exploring with similar templates and matching tools.

Continue Where You Left Off

No recent items yet.

Workflow Steps

  1. Static analysis

  2. Logic flaw detection

  3. Performance assessment

  4. Generate review report

Constraints

  • Code snippet should be under 2000 lines
  • Static review only, no code execution

Explore More in This Category

Development