8 developer-ready prompts for code review, debugging, testing, SQL, regex and more. Paste your code, fill in the blanks, get results.
These prompts work with ChatGPT (GPT-4), Claude, and GitHub Copilot Chat. For best results with coding tasks, use GPT-4 or Claude 3 Sonnet โ they produce significantly more accurate code than older models.
ChatGPT can hallucinate library functions that don't exist, especially for newer frameworks. Always verify: (1) the function/method exists in the version you're using, (2) the imports are correct, and (3) run the code before shipping. For security-critical code (auth, encryption), have a human review the output.
Yes โ ChatGPT is excellent for SQL. Describe your table structure, the data you need, and any filters or aggregations. It handles JOINs, GROUP BY, window functions, and CTEs well. For very large or complex queries, break them into subqueries and ask ChatGPT to optimise each part separately.