The model will invent a library that doesn't exist — and describe it so confidently you'll npm install it before you check.

By (@amira_zainab) ·

It happened to me on a form project. The model suggested a validation package with a perfect name, clean API, exactly what I needed. I ran npm install. Package not found. There was no such package — it had assembled a plausible name out of pieces of three real ones. Another time it called a function that doesn't exist in the version I was using, and I spent twenty minutes debugging my own code before I checked the docs and found the function was never there.

Before you install anything it suggested, or call any API it wrote:
1. Does the package actually exist? Search it, don't trust the name.
2. Does the function it called exist in that version? Docs, not memory.
3. Would you bet a deploy on it? If not, ask for the boring, well-known alternative instead.

And one more check: if the model can't point you to the docs page, treat it as invented. Real libraries have documentation. Hallucinated ones have confidence.

AI is great at writing code. It's terrible at knowing what exists. That's still your job — and it's the cheapest job in the whole workflow, because a fake dependency costs you an afternoon, and a wrong one installed blind can cost you a deploy. Verify first, install second.

2 views

Explore more on Prompted