Hacker News new | ask | show | jobs
by Calavar 45 days ago
I consider myself AI skeptical-ish and I detest when people defend LLMs with "it's user error, prompt better," but in this case it actually is user error.

If you want a particular implementation approach, you need to specify not only the features you want, but the implementation strategy at least at a high level. This could be as simple as adding "use pywikibit" or "use relevant packages from pypi" to the end of your prompt. Or you could seed your project with some manually writtem scaffolding, including a pyproject.toml

While LLMs do tend have NIH syndrome by default, I think this is a good default. I'd much rather have tight control over when and how to include external dependencies as opposed to letting a prompt fire for 40 minutes, and coming back to find 2 GB of newly installed node packages with a dependency tree 300 levels deep.

1 comments

Thanks! I will set a more detailed Claude.md next time. And an additional thing that kind of frustrates me is that even when I explicitly tell it to migrate to existing packages, Claude still stubbornly sticks to its custom rule set rather than replacing it with existing SOTA.