Free guide
How to learn to code with AI: 10 questions about the code and learning mode
Learning to code in 2026 makes sense, but you learn something different: not how to write code, but how to understand it and find the bugs in it. Below are ten questions to ask about code from AI, a mode in which Claude teaches you instead of writing everything for you, and a two-week plan.
Claude Code
Learning style
Claude
The payment skeleton is done. I’m leaving the price calculation to you: TODO(human).
20:14
You
I calculate the price on the server, not in the browser.
20:21
Claude
Correct. A tampered price won’t get through now.
20:22
In short
You don’t need to be able to write the code AI gives you, but you do need to be able to ask ten questions: where the price is calculated, where the key is kept, who can see other people’s data. Learning mode leaves the important lines to you and asks you questions.
10 questions to ask about any code AI writes
- Where is the price calculated? In the developer tools (F12, on a Mac Cmd+Option+I), find the payment request on the Network tab, change the amount and send it again. Did the order go through at your price? Then the browser is calculating the price.
- Where is the key to the model or service kept? Search the Network and Sources tabs for “key”, “sk-” and “secret”. Anything with the prefix
VITE_orNEXT_PUBLIC_goes to the browser. - Who can see other people’s data? Change the order or profile number in the address to a neighboring one.
- Are the database tables locked down? In Supabase, every table must have RLS turned on: rules for who may read and change which rows. Tables created with an SQL command don’t get it on their own.
- Is the admin area locked down? Open
/adminin an incognito window. - Who confirms the payment? The payment gateway, with a message to your server (a webhook) whose signature gets checked. Open the “thank you” page without paying: the order must not show as paid.
- What does a double click on “pay” do? There must still be one order and one payment.
- What happens if you submit the form 20 times in a row? Did all twenty go through? Then people will spam your form and guess your password.
- Who finds out about an error, you or the customer? Break the form on purpose and see what the customer sees and whether anything reaches you.
- Can the database be restored from a backup? Find the backup and restore it into a test database.
Test only on your own project: the price, the order numbers and /admin. On someone else’s website, it’s no longer learning.
How to turn on learning mode
- Claude Code: the
/output-style learningcommand, or/config→ Output style → Learning. Claude writes the routine parts itself. Where there’s a decision about how to do it (error handling, data structure, business logic), it leaves you a few lines markedTODO(human), explains what to consider and waits. - claude.ai or another AI chat: write the prompt below as your first sentence.
Teach me on my own project: write the skeleton, leave the main part to me, ask me a question after each step and check my answer.
Two weeks of 15 minutes a day on your own project
- Days 1–10: one question a day. Open your project in the AI you build with, turn on learning mode (or paste the prompt above) and write: “Where in my project is the answer to this question: Where is the price calculated? Don’t fix anything, show me where to look.” Each day, take the next question from the list. Find the spot yourself, then ask for a check.
- Days 11–13: write: “In a copy of the project, introduce one bug from this list and don’t tell me which.” Find it using the list.
- Day 14: go through all ten questions in a row. Whatever didn’t pass, fix together with the AI in learning mode.
Bonus: these ten questions come from our 15 checks before launch. The full list, plus where to find what in Lovable, Bolt and v0, is in the guide “15 checks before launch”.
Not sure whether code from AI will hold up?
In a free 30-minute call, we’ll go through your project and show you where to look for the answers to all ten questions.
How we check a system that’s already built