How to code with AI: write, understand and fix code
You don't need to be a developer to benefit: an AI explains code you don't understand, writes a spreadsheet formula or a small script, and helps you find out why something fails.
What it's good for
- Explaining code: “Explain this function line by line, as if I didn't know how to code.”
- Finding bugs: paste the code and the full error message: “I get this error, why, and how do I fix it?”
- Writing something new: “Write a Python script that renames every photo in a folder with its date.”
- Formulas and automations: “Excel formula that adds up column C only if column B says ‘London’.” More in analyze a spreadsheet with AI.
- Reviewing: “Review this code: bugs, edge cases I'm missing and how to make it more readable.”
- Learning: “Give me five JavaScript exercises to practise loops, from easy to hard.”
How to ask well
- Say the language and version (Python 3, PHP 8, Excel…) and where it will run.
- Paste the code and the error exactly, without summarizing. You can also attach the files.
- Explain what you expected and what happens instead.
- Iterate: try what it gives you and report back. It's a conversation, not a single question.
For long or tricky tasks choose the Pro model in Kiuron Cloud: it reasons better about complex code. For quick questions, the regular model is faster.
Good practices
- Always test the code before using it on anything important, ideally with a copy of your data.
- Don't paste passwords, API keys or client data. If your code is confidential, use Private mode in the desktop app: it's processed on your computer.
- Ask it to explain anything you don't understand: code you don't understand is code you can't maintain.
Frequently asked questions
Which languages does it understand?
Practically all the common ones: Python, JavaScript, TypeScript, PHP, Java, C#, C/C++, Go, Rust, SQL and Bash, plus Excel and Google Sheets formulas.
Can I attach code files?
Yes. You can attach .py, .js, .php, .sql, .json and many other files and ask about them.
Does it replace a developer?
It speeds up the work a lot and is great for learning or small tasks, but review and test what it suggests.