I'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?
realberkeaslan•1mo ago
1. Prompt the agent
2. The agent gets too work
3. Review the changes
4. Repeat
This can speed up your process significantly, and the UI clearly shows the changes + some other cool features
EDIT: from reading your post again, I think you could benefit primarily from a clear UI with the adjusted code, which Cursor does very well.
kamikazeturtles•1mo ago
jes5199•1mo ago
listic•1mo ago
I heard of Cline and Aider, but didn't try anything.
ransom1538•1mo ago
The days of copying and pasting from Stack Overflow will not be forgotten — they will be honored by our laid off forefathers.
ojr•1mo ago
I built my own coding tool in Rust because of VSCode-based forks Electron app flaws. You would think they could build a memory efficient application with the resources they have but it literally needs a top of the line MacBook to run smoothly.