Getting used to coding with AI
I've been working with AI on work and personal coding projects for several months now. I'm no expert but I do think some of what I have been doing could be helpful to others. So let's try to describe what I've learned.
Cloud or Local
Don't use expensive models unless you really need to
Using a cloud subscription with any of the major AI services is a great way to start. Something like OpenRouter or Claude Code can be reasonably priced. But the more advanced the model, the more expensive it is. You don't have to use a frontier level model to edit text, create scripts, or do simple work. I have found relatively cheap models like DeepSeek Flash to be fast and perfectly reliable. Only switch to a more expensive model once you have found that the cheap model is failing with a complex problem.
Do what you can to protect your system
Don't allow the agent to make destructive changes to your code or system. Don't let it read your SSH keys. I'm currently using CC Safety Net.
Local can work if you have a system that can run it
I have found that much of what I'm doing with AI can be done with a local model. It can be maddening to set up and tweak settings to make things fast. But, not sending possibly sensitive data to someone else's computer is a nice benefit. Just keep in mind you still need to do the same work to protect your computer and data.
I'm currently using OpenCode and oMLX with the Qwen 3.8 27B model.
Getting started
-
Don't blindly give permission Don't give full disk access. Protect your password, keys, and private data.
-
Check your work Write code and ask the agent to check your work. You will be amazed at how many errors it finds. This is a great way to learn.
-
Create Docs Ask the AI to write README files and document your code or app. Don't forget to have the AI update your docs when you make changes.
-
Create test data Need test data for a new piece of code? Have the AI create test files or data for you.
-
Find bugs Think you have a bug, ask the AI to verify whether it's real. It's good just to ask every new model you work with to examine the code and point out any issues.
-
Create Unit Tests Testing your code takes too much time. Have the AI do it. And have the AI keep the tests up to date with your code changes.
-
Review what the AI wrote When you have the AI make changes, review them. Reading what it wrote is a great way to learn. And you may catch it doing something dumb.
Go Deeper
-
Use established skills Use third-party skills like AI Skills for Real Engineers. But don't just download and use any skill you find out there. Make sure you understand what the skill is doing. You may need to review the skill text and make sure it's not malicious.
-
Plan your work Use a skill like Grill-Me to plan out a new piece of work. It will ask you questions to make sure you understand what you're asking for. It will write a spec and break it up into issues to be implemented.
-
Break things into testable chunks For large changes or projects, don't try to implement them all at once. Work with the AI to break them up into steps.
-
Implement, Test, Review Implement a piece of work. Test that work. And review what was done against the spec. Repeat. That sounds like what we've always done, right?
