Skip to main content
IntermediateTechnical AI150 XP

Code Reviewer

Design a prompt for an AI code reviewer that identifies bugs, security issues, and performance problems in a Python function — and ranks them by severity.

Context

Good code review is prioritised and actionable. Most AI code reviews dump everything at equal weight. Your prompt should enforce a triage system.

Hints

0/3 revealed

Each hint costs 10 XP from your reward.

Your Prompt0 words

Scoring Rubric

Role definition+20 XP
Explicit constraints+20 XP
Output format+10 XP
Prompt length & detail+10 XP