Ask HN: How can I get better at using AI for programming?
471 pointsI've had a fairly steady process for doing this: look at each route defined in Django, build out my `+page.server.ts`, and then split each major section of the page into a Svelte component with a matching Storybook story. It takes a lot of time to do this, since I have to ensure I'm not just copying the template but rather recreating it in a more idiomatic style.
This kind of work seems like a great use case for AI assisted programming, but I've failed to use it effectively. At most, I can only get Claude Code to recreate some slightly less spaghetti code in Svelte. Simple prompting just isn't able to get AI's code quality within 90% of what I'd write by hand. Ideally, AI could get it's code to something I could review manually in 15-20 minutes, which would massively speed up the time spent on this project (right now it takes me 1-2 hours to properly translate a route).
Do you guys have tips or suggestions on how to improve my efficiency and code quality with AI?
Comments (469) 111 threads
Earlier commentsI personally use JSON prompts that follow this format I shared on reddit: https://www.reddit.com/r/vibecoding/comments/1pl4zbr/i_made_...
I actually built a tool for this called Promptify (https://joinpromptify.com/) which is a completely free chrome extension that works with really any AI platform
Use claude code + this extension and you'll be set! Completely free stack unless you buy Claude pro
We will allow you to create and supervise impact analysis on a change request you are planning and then you get brew to also create a detailed implementation prompt for you. This way you always remain in control and our able to instruct you AI coding agent better at once.
Not just this, we also map the commit that comes in to the original change request and show you what's done, what's not, Expected vs Actual & unplanned changes mapping them to actual code that is written. This makes it really easy to review.
We are in our early stages. I would love for you to try us out. I am open to offering you usage credits as well.
I program mostly in VBA these days (a little problematic as is a dead leanguage since 2006 and even then it was niche) and I have never recived a correct high level ""main"" sub but the AIs are pretty good at doing small subs I then organize.
And yes, telling me where I make errors, they are pretty good at that
At the end of the day I want reliability and there is no way I can't do what without full review.
The funny thing is that they try to use the """best practices""" of coding where you would reasonably want to NOT have them.
All comments shown.
Couldn't load more comments. Check your connection and try again.