Ask HN: How to Improve AI Usage for Programming

Published:Dec 13, 2025 15:37
2 min read
Hacker News

Analysis

The article describes a developer's experience using AI (specifically Claude Code) to assist in rewriting a legacy web application from jQuery/Django to SvelteKit. The author is struggling to get the AI to produce code of sufficient quality, finding that the AI-generated code is not close enough to their own hand-written code in terms of idiomatic style and maintainability. The core problem is the AI's inability to produce code that requires minimal manual review, which would significantly speed up the development process. The project involves UI template translation, semantic HTML implementation, and logic refactoring, all of which require a deep understanding of the target framework (SvelteKit) and the principles of clean code. The author's current workflow involves manual translation and component creation, which is time-consuming.

Reference

I've failed to use it effectively... Simple prompting just isn't able to get AI's code quality within 90% of what I'd write by hand.