logo

`bun init` automatically creates a Claude.md file by default

Posted by achristmascarl |4 hours ago |11 comments

perrygeo 27 minutes ago

At least this was planned ahead of time, intentionally, by the human maintainer. https://x.com/jarredsumner/status/1934822081591681353

The fear with these coding agents is that, unsupervised, one will merge a sneaky pro-AI changeset like this without a human ever signing off on it.

But this looks like run-of-the-mill bad human decision making, no singularity yet! This is fine.

numkem 2 hours ago[2 more]

To me this is a reason to not use bun. I don’t case who owns it, if you force LLM crap by default I’m not interested. It’s too bad it turned out that way as I saw bun as a good way around node’s issues but this is just too much.

hennell 2 hours ago[1 more]

It says it makes:

- a CLAUDE.md file when Claude CLI is detected (disable with CLAUDE_CODE_AGENT_RULE_DISABLED env var) - a .cursor/rules/*.mdc file when Cursor is detected, which tells Cursor AI to use Bun instead of Node.js and npm

Is it by default if it only does it when you have the tools installed?

ventana 4 hours ago

Not only CLAUDE.md, but also .cursor/rules/use-bun-instead-of-node-vite-npm-pnpm.mdc (which is a symlink to CLAUDE.md); so it just looks like they try to let agents know that it's a bun project and not a Node.js project. Seems reasonable to me, and also can be disabled if you don't need it.

tjadfsaj 2 hours ago

I think I would have preferred AGENTS.md since it is vendor neutral.

mike_hock 2 hours ago[1 more]

Thanks for the PSA but I already knew that I wasn't gonna touch it with a ten foot pole.