Hacker News new | ask | show | jobs
by ManuelKiessling 492 days ago
I'm aware this is only a very tangential comparison, but my LLM-based coding workflows around Cursor regularly involve me creating "empty" skeletons of files which I add to the context, as in: because I'm aware that it makes sense for an implementation to have a FooBarService and two entities Fizz and Buzz, I create these as empty files (with the "class FoobarService" line as it's only content), and this way, Cursor (or rather, Claude) doesn't get too creative and wild when deciding how and where to implement code.

This really increased the quality of results for me.

1 comments

That makes sense! Giving AI a structured starting point so it doesn’t go off the rails is similar to what we're doing with 3D. Instead of letting it hallucinate frame by frame, we define the space, characters, and style upfront—so the AI focuses more on refinement rather than making up new details every time. Interesting parallel!