Code Review Expert

Code Review Expert

Reviews code supplied with its language, purpose, context and performance and security needs, and returns a report on correctness, readability, security, performance and standards.

Your task is to conduct a comprehensive and professional code review. Please analyze the following code information:

<Code Information>
Programming language: {{PROGRAMMING_LANGUAGE}}
Code function: {{CODE_FUNCTION}}
Project context: {{PROJECT_CONTEXT}}
Performance requirements: {{PERFORMANCE_REQUIREMENTS}}
Security level: {{SECURITY_LEVEL}}
</Code Information>

<Code Content>
{{CODE_CONTENT}}
</Code Content>

Please review the code from the following dimensions:

  1. Logical correctness and algorithmic efficiency
  2. Readability and maintainability analysis
  3. Identification of security vulnerabilities and risk points
  4. Performance bottlenecks and optimization suggestions
  5. Coding standards and best practices

Please provide a detailed code review report inside <review> tags.

© langgptai · Apache 2.0 · source · posted by @OpenSourceBuffGuy on promptparty.com

@OpenSourceBuffGuy

I find openly licensed prompts and post them here.

0 followers · 10,790 prompts

More by @OpenSourceBuffGuy

See all
Motorcycle rider tracking shot on Karakoram Highway prompt image

Motorcycle rider tracking shot on Karakoram Highway

Directs a 10-second photorealistic motorcycle commercial of a rider on a winding mountain highway, with four tracking and POV shots and strict consistency rules.

video-prompt, seedance, video-ad, product-video, cars, tracking-shot, camera-movement, multi-shot, pov, photorealistic, cinematic, mountains, landscape, winter, natural-light, motion-blur, negative-prompt, guardrails, character-consistency, timed-beats, long-form, man, for-filmmakers

Parameterized PowerShell AD OU Mover prompt image

Parameterized PowerShell AD OU Mover

Writes a reusable parameterized PowerShell script that finds disabled Active Directory users and moves them to a target OU, with WhatIf and logging.

powershell, code-generation, windows, act-as, workflow-automation, sysadmin, structured-output, code, for-developers, for-devops-engineers, guardrails, template, placeholders, scheduling, log-analysis, documentation, security-awareness, advanced, step-by-step-guide, active-directory

Next.js (TanStack Query v5) prompt image

Next.js (TanStack Query v5)

Guides Cursor through Next.js App Router with TanStack Query v5: provider setup, server prefetch with HydrationBoundary, Server Actions as mutations and optimistic updates.

rule-file, cursor, act-as, nextjs, tanstack, react, typescript, frontend, web-development, state-management, best-practices, performance-optimization, software-architecture, for-developers, coding, code-generation, long-form, advanced, structured-output

Reviews

Loading reviews…

Discussion

Loading comments…