# Prompts for Code review and refactoring

Prompts for Code review and refactoring: what each one does, an install command and example prompts.

20 cards

- HTML: https://affpapa.org/en/nevibecode/prompts/topic/code-review
- Instructions for agents: https://affpapa.org/en/nevibecode/agents.md

- [Universal LLM Operating Guidelines](https://affpapa.org/en/nevibecode/prompts/universal-llm-operating-guidelines.md) — prompt · thanos0000@gmail.com · ChatGPT, Claude.ai · ★ 174597 — A rule set for LLM-assisted coding: understand the task first, then touch the code.
- [Git Workflow taste](https://affpapa.org/en/nevibecode/prompts/git-workflow-taste.md) — prompt · f · ChatGPT, Claude.ai · ★ 174597 — A prompt that gives an AI assistant trunk-based habits: short-lived branches, Conventional Commits, squash-merge and a protected main.
- [Senior Code Reviewer (severity-ranked)](https://affpapa.org/en/nevibecode/prompts/senior-code-reviewer-severity-ranked.md) — prompt · heringtonm · ChatGPT, Claude.ai · ★ 174597 — A code review prompt that ranks findings from blockers down to nits and closes with a verdict.
- [Code Review Professional](https://affpapa.org/en/nevibecode/prompts/code-review-professional.md) — prompt · donato.castagna@gmail.com · ChatGPT, Claude.ai · ★ 174597 — A prompt that turns a chat model into a code reviewer: it checks quality, coding standards and optimization spots.
- [Post-Implementation Audit Agent Role](https://affpapa.org/en/nevibecode/prompts/post-implementation-audit-agent-role.md) — prompt · wkaandemir · ChatGPT, Claude.ai · ★ 174597 — Turns the model into an auditor of your latest changes: implementation completeness, test evidence, risk and release readiness.
- [Python Security Vulnerability Auditor (OWASP-Mapped & Production-Hardened)](https://affpapa.org/en/nevibecode/prompts/python-security-vulnerability-auditor-owasp-mapped-production-hardened.md) — prompt · sivasaiyadav8143 · ChatGPT, Claude.ai · ★ 174597 — A prompt that audits Python code: it lists vulnerabilities, maps them to the OWASP Top 10, and returns a hardened rewrite.
- [Analyze code scanning security issues and dependency updates if vulnerable](https://affpapa.org/en/nevibecode/prompts/analyze-code-scanning-security-issues-and-dependency-updates-if-vulnerable.md) — prompt · abhinavme1004@gmail.com · ChatGPT, Claude.ai · ★ 174597 — This prompt reviews GHAS alerts across repositories, separates dependency and base-image causes, and prioritizes remediation by severity and exposure.
- [Python Code Performance & Quality Enhancer](https://affpapa.org/en/nevibecode/prompts/python-code-performance-quality-enhancer.md) — prompt · sivasaiyadav8143 · ChatGPT, Claude.ai · ★ 174597 — A review prompt for Python: adds docstrings, fixes PEP8, lists performance issues with Big O impact, and returns the full rewritten file.
- [Code Recon](https://affpapa.org/en/nevibecode/prompts/code-recon.md) — prompt · thanos0000@gmail.com · ChatGPT, Claude.ai · ★ 174597 — A prompt that walks through unfamiliar code, rates its maturity, hunts for vulnerabilities and hands back a fix list.
- [Comprehensive Code Review Expert](https://affpapa.org/en/nevibecode/prompts/comprehensive-code-review-expert.md) — prompt · gyfla3946@gmail.com · ChatGPT, Claude.ai · ★ 174597 — A prompt that reviews your code: finds bugs, suggests optimizations and checks coding standards.
- [Code Review Specialist 2](https://affpapa.org/en/nevibecode/prompts/code-review-specialist-2.md) — prompt · dragoy18@gmail.com · ChatGPT, Claude.ai · ★ 174597 — A prompt that turns a chat model into a code reviewer: it checks readability, bugs, security holes and performance.
- [Code Review Expert](https://affpapa.org/en/nevibecode/prompts/code-review-expert.md) — prompt · emr3karatas@gmail.com · ChatGPT, Claude.ai · ★ 174597 — A prompt that turns a chat into a reviewer: it checks code for quality, performance, security and best practices.
- [Bug Discovery Code Assistant](https://affpapa.org/en/nevibecode/prompts/bug-discovery-code-assistant.md) — prompt · weiruo-c · ChatGPT, Claude.ai · ★ 174597 — Turns a chat model into a code reviewer: it hunts logical, syntax and runtime errors and suggests fixes.
- [Developer Work Analysis from Git Diff and Commit Message](https://affpapa.org/en/nevibecode/prompts/developer-work-analysis-from-git-diff-and-commit-message.md) — prompt · jikelp@gmail.com · ChatGPT, Claude.ai · ★ 174597 — This prompt reviews a git diff and commit message, then summarizes the change scope, possible issues, key modifications, and recommendations.
- [Code Review Assistant](https://affpapa.org/en/nevibecode/prompts/code-review-assistant.md) — prompt · sinansonmez · ChatGPT, Claude.ai · ★ 174597 — A prompt that turns the model into a reviewer: it reads your code for bugs, style and maintainability, then hands back a list of fixes.
- [Code Reviewer](https://affpapa.org/en/nevibecode/prompts/code-reviewer.md) — prompt · rajudandigam · ChatGPT, Claude.ai · ★ 174597 — A prompt that turns a chat model into an experienced developer who reviews your code and explains every suggestion.
- [chinese_code_review](https://affpapa.org/en/nevibecode/prompts/chinese-code-review.md) — prompt · danielmiessler · ★ 44429 — A prompt that reviews code in any language for bugs, security holes and slow spots, then returns a severity-ranked findings table with concrete fixes.
- [write_pull-request](https://affpapa.org/en/nevibecode/prompts/write-pull-request.md) — prompt · danielmiessler · ★ 44429 — A prompt that reads git diff output and drafts a pull request description: what changed, why, and which bugs might be lurking.
- [summarize_git_diff](https://affpapa.org/en/nevibecode/prompts/summarize-git-diff.md) — prompt · danielmiessler · ★ 44429 — This prompt reads a git diff and returns a short conventional-commits message plus a bulleted list of what changed.
- [review_code](https://affpapa.org/en/nevibecode/prompts/review-code.md) — prompt · danielmiessler · ★ 44429 — A prompt for reviewing code or a diff: checks correctness, security and performance, then returns a Markdown report.

## Refine
[refactoring](https://affpapa.org/en/nevibecode/tag/refactoring.md) · [audit](https://affpapa.org/en/nevibecode/tag/audit.md) · [conventional-commits](https://affpapa.org/en/nevibecode/tag/conventional-commits.md) · [python](https://affpapa.org/en/nevibecode/tag/python.md) · [debugging](https://affpapa.org/en/nevibecode/tag/debugging.md) · [dependencies](https://affpapa.org/en/nevibecode/tag/dependencies.md) · [owasp](https://affpapa.org/en/nevibecode/tag/owasp.md) · [performance](https://affpapa.org/en/nevibecode/tag/performance.md) · [pull-request](https://affpapa.org/en/nevibecode/tag/pull-request.md) · [qa](https://affpapa.org/en/nevibecode/tag/qa.md) · [release](https://affpapa.org/en/nevibecode/tag/release.md) · [workflow](https://affpapa.org/en/nevibecode/tag/workflow.md)

## Narrow this list
Parameters: `?platform=<claude-code|codex|cursor|copilot|gemini-cli|windsurf|…>`, `&topic=<…>`, `&sort=installs|stars|new|updated` — values in https://affpapa.org/en/nevibecode/agents.md

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
