Review a pull request
“Help me review this pull request diff and explain what changed: [paste diff]. Flag any potential issues.”
Free AI prompt · The Optimize Book
A ready-to-use prompt from the chapter Collaboration. Paste it into Claude, ChatGPT, Lovable, Bolt or any AI coding tool.
“Set up Git for my project so I can save versions and back it up on GitHub. Walk me through starting a new repo, making sure nothing sensitive gets uploaded, making my first save point, and pushing everything to a new GitHub repository.”
“Help me review this pull request diff and explain what changed: [paste diff]. Flag any potential issues.”
“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.”
“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.”
“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.”
“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.”
“Create a new branch called feature/contact-form and switch to it”