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

achristmascarl 15 points 16 comments July 28, 2026
bun.com · View on Hacker News

Discussion Highlights (7 comments)

ventana

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.

numkem

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

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?

tjadfsaj

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

mike_hock

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

perrygeo

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.

duxup

Seems like an odd choice. I can do an /init in Claude when I want to…

Semantic search powered by Rivestack pgvector
15,236 stories · 142,166 chunks indexed