Full code review: Free AI Prompt | SheCodes

Free AI prompt · The Optimize Book

Full code review

A ready-to-use prompt from the chapter Common Mistakes. Paste it into Claude, ChatGPT, Lovable, Bolt or any AI coding tool.

The prompt

“Review my entire project for common beginner mistakes: missing error handling, values that should be configurable but are pasted in directly, leftover debug messages, unused bits of code, missing loading spinners, leftover test URLs that point to my computer, unoptimized images, and accessibility issues. Fix everything you find and explain what you changed in plain English.”

How to use it

  1. Copy the prompt and paste it into your AI coding tool.
  2. Check the result in the preview, then ask for changes one at a time: "make the buttons bigger", "use my brand colours".
  3. Read the chapter to understand why it works and what to do next.

More prompts like this

All prompts

Pre-deploy checklist

“Review my project and tell me if it's ready to go live. Check for: any leftover test URLs that point to my computer instead of the real site, any missing API keys or settings, any large unoptimized images, any debug messages left behind, any missing error pages, and any missing SEO tags. List everything I need to fix before I publish.”

Improve my ai prompts

“I want to improve how I prompt AI coding tools. Review my project and suggest 5 specific things I could have described better in my prompts to get better results. Focus on: layout specifics, color choices, component behavior, responsive design, and edge cases.”

Fix a hydration error

“I'm getting a hydration error in my Next.js app. The component works on the server but breaks on the client. Help me find and fix the issue.”