afv-library/prompts/coding/code-review.md

30 lines
687 B
Markdown
Raw Normal View History

2025-11-08 01:27:31 +08:00
---
name: Code Review Assistant
description: Comprehensive code review for quality, performance, and security
tags: coding, review, quality, security
---
Please review the following code with a focus on:
## Code Quality
- Readability and maintainability
- Adherence to best practices and conventions
- Code organization and structure
## Functionality
- Logic correctness
- Edge cases and error handling
- Potential bugs or issues
## Performance
- Algorithm efficiency
- Resource usage
- Optimization opportunities
## Security
- Input validation
- Authentication/authorization
- Potential vulnerabilities
Please provide specific, actionable feedback with examples where applicable.