Choose the review angle that matches the problem: architecture, accessibility or performance.
01
CODE REVIEW · PROMPTAI Code Review Prompt Pack
A focused review pack for developers who want AI feedback that points to specific code risks instead of generic suggestions.
WHAT IT DOES
Structured prompts for sharper frontend architecture, accessibility and performance reviews.
BEST FOR
Developers using AI as a second-pass reviewer before refactoring, opening a pull request or shipping frontend work.
THE PROMPT
Copy it. Add your context. Build carefully.
# Barnx AI Code Review Prompt Pack
## Frontend architecture
Review this component as a senior frontend engineer. Identify duplicated responsibility, fragile state, unnecessary client-side work, accessibility problems and opportunities for clearer component boundaries. Rank findings by impact.
## Accessibility
Audit this UI for keyboard access, semantic HTML, labeling, focus management, contrast assumptions and reduced-motion behavior. Do not invent issues; cite the exact code pattern behind each finding.
## Performance
Review this page for avoidable rerenders, oversized client boundaries, image/font issues, expensive effects and loading bottlenecks. Separate measurable risks from stylistic preferences.
A short workflow before you start.
Paste the relevant component, page or diff together with enough surrounding context to understand it.
Run the prompt and ask the AI to rank findings by impact rather than changing everything at once.
Verify each recommendation against the actual code and runtime behavior before applying it.
Keep exploring
Browse all prompts →