top | item 47003029

(no title)

Anon1096 | 18 days ago

> Also, why not run "npm run test" at some point? We have tons of tests. I even have an integration test that crawls the entire fucking app recusrively link-by-link in a headless browser and reports on JS errors. CLAUDE.md has all the info.

I'm a little baffled by this post. The author claims to have "Wrote a comprehensive CLAUDE.md with detailed instructions." and yet didn't have "run the tests" anywhere? I realize this post is going to be a playground for bashing on AI but I just wish the prompt was published or even better, if it's open source let other people try. Seems like the perfect case to throw claude code in a wiggum loop at overnight.

discuss

order

mingus88|18 days ago

Exactly, if Claude is making these types of mistakes, write a better claude.md instead of a blog post.

My company uses an obscure DSL with a name shared with a popular OSS project. Claude was worthless because it kept suggesting code in that other language.

Well, we wrote an MCP so Claude could run and test its code and reference the language docs. It’s amazing now. It makes mistakes like this post and then just fixes it and tests again.

pllbnk|17 days ago

Your quoted excerpt implies that CLAUDE.md had this information. Having used Claude Code more than enough I have faced so many issues like the blog's author that I could have written a very similar post (I am not an FE dev though).

suddenlybananas|18 days ago

It's super intelligent but it can't be bothered to run tests unless specifically told to?

simonw|17 days ago

Personally I prefer my agents not to run random commands on my machine without me telling them to first.

Imagine you just cloned some random project from GitHub and fired up Claude Code in that folder, but it turned out to be malicious and running 'npm test' stole all your files.