`bun init` automatically creates a Claude.md file by default
achristmascarl
15 points
16 comments
July 28, 2026
Related Discussions
Found 5 related stories in 390.1ms across 15,236 title embeddings via pgvector HNSW
- Claude Code uses Bun written in Rust now tosh · 460 pts · July 19, 2026 · 56% similar
- Bun.Image chakintosh · 33 pts · May 23, 2026 · 51% similar
- Universal Claude.md – cut Claude output tokens killme2008 · 231 pts · March 31, 2026 · 47% similar
- My Claude Code Setup: Pure CLI, Pure Unix, Zero IDE stare_spb · 13 pts · May 06, 2026 · 47% similar
- Show HN: Bun-sqlgen – Type-safe raw SQL for Bun, no ORM ilbert · 54 pts · June 23, 2026 · 46% similar
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…