Loading…
Can you build with AI without breaking things? Hard mode. Pick one answer for every question. Cheating only fools you.
You need a rate limiter on an API route in your Next.js app. Which prompt gives the most reliable result?
The AI's fix makes a failing test pass. Before you accept it, which question matters most?
You paste a 600-line file and ask the AI to 'clean it up'. What is the most likely failure?
How do you get consistent code style from the AI across many prompts?
The AI keeps calling a function that does not exist in the library you use. Which change helps most?
AI code calls `JSON.parse(userInput)` inside a try/catch that returns an empty object on error. What is the main problem?
AI code sends 500 emails with `emails.forEach(async (e) => await send(e))`. What is the likely issue?
The AI wrote a Next.js Server Action that deletes a post by id from form data. What must the action check?
AI code stores the user's access token in localStorage to keep them signed in. What is the most accurate concern?
The AI rewrites a slow database query and the new one is faster. What should you verify before shipping?
AI generates an upload endpoint that saves files under the original filename from the user. What is the main risk?
AI generates a login that says 'No account with this email' or 'Wrong password' separately. Why change it?
AI code shows user comments with `dangerouslySetInnerHTML` after removing `<script>` tags. Is it safe?
A teammate asks the AI for an SQL query built with string interpolation and says 'I only accept numbers from a dropdown'. Best answer?
AI 'fixes' a browser CORS error with `Access-Control-Allow-Origin: *` and `credentials: true`. What is the real issue?
Your project has a security alert for a dependency the AI added. What is the sensible response?
You and the AI have gone back and forth ten times on a bug, and each fix breaks something else. What is the best reset?
How should you use AI when you do not understand a stack trace?
Your AI-powered feature worked in testing but fails randomly in production. What is the best first move?
You want AI to refactor a large function safely. Which workflow is best?