Practice: Review Real Code
Time to practice writing effective code review prompts. You'll review code with intentional issues and learn to ask for the right kind of feedback.
Exercise 1: Security Review
This code has a security vulnerability. Write a prompt that would help identify it.
Exercise 2: Refactoring Request
This function works but needs improvement. Write a prompt asking for refactoring suggestions.
Congratulations!
You've completed the Using Claude for Code Review course. You now know how to:
- Write effective code review prompts with context
- Request security-focused reviews
- Ask for specific refactoring suggestions
- Review your own code critically
Next step: Try reviewing a piece of code you wrote recently. Use the templates from this course and see what AI finds that you missed.

Ask Byte about this lesson
A private chat about this lesson. Byte has read the whole lesson, answers in seconds, and shows the section each answer comes from. Ask follow-ups in any language.
Questions & Answers
Public questions about this lesson. The AI Tutor answers right away in your language, the FreeAcademy team checks answers, and every learner can read them.

