BluetOpen source

What agents should know before contributing

zed-industries/zed

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Read by Bluet from 4 files written for agents and 300 merged pull requests on 2026-09-25. Not reviewed by the maintainers.

Rules its files tell agents (12)

  • mustNever create files with mod.rs paths - prefer src/some_module.rs instead of src/some_module/mod.rs.
    CLAUDE.md
  • mustNever silently discard errors with let _ = on fallible operations.

    Never silently discard errors with let _ = on fallible operations. Always handle errors appropriately:

    CLAUDE.md
  • shouldDo not "improve" documentation unrelated to the triggering code change
    docs/AGENTS.md
  • shouldDon't rely on LLMs to write the whole thing for you when communicating with the maintainers (meaning replies t…

    Don't rely on LLMs to write the whole thing for you when communicating with the maintainers (meaning replies to comments, PR descriptions, and alike). The readers are humans, and we'd like to hear from you, not from a model (we have models at home). If you're a non-native English speaker using an LLM to thoroughly edit or translate your messages to the maintainers, we'd encourage you to put the machine translation in a quote block and include the original text in your native language after it.

    CONTRIBUTING.md
  • shouldFor that reason, we don't accept contributions from autonomous agents.

    We welcome the use of LLMs for coding, but we hold a high bar for all contributions, and we expect a human in the loop who genuinely understands the work an LLM produces on their behalf. For that reason, we don't accept contributions from autonomous agents. Pull requests that appear to violate this may be closed, sometimes without notice.

    CONTRIBUTING.md
  • shouldStylistic code changes that do not alter any app logic.

    Stylistic code changes that do not alter any app logic. Reducing allocations, removing .unwrap()s, fixing typos is great; making code "more readable" — maybe not so much.

    CONTRIBUTING.md
  • shouldZed's default icon theme consists of icons that are hand-designed to fit together in a cohesive manner, please…

    New file icons. Zed's default icon theme consists of icons that are hand-designed to fit together in a cohesive manner, please don't submit PRs with off-the-shelf SVGs.

    CONTRIBUTING.md
  • shouldMake the PR about one thing only, e.g. if it's a bugfix, don't add two features and a refactoring on top of th…

    Make the PR about one thing only, e.g. if it's a bugfix, don't add two features and a refactoring on top of that.

    CONTRIBUTING.md
  • shouldDo not edit .rules inline during normal feature/fix work.

    If you discover a non-obvious pattern that would help future sessions, include a "Suggested .rules additions" heading in your PR description with the proposed text. Do not edit .rules inline during normal feature/fix work. Reviewers decide what gets merged.

    CLAUDE.md
  • shouldDon't start with a PR, start with reading the Zed Feature Process for how we think about feature design — what…

    Thinking about proposing or building a larger feature? Don't start with a PR, start with reading the Zed Feature Process for how we think about feature design — what context to provide, what integration points to consider, and how to put together a strong proposal. The right place for the proposals is GitHub discussions (not GitHub issues).

    CONTRIBUTING.md
  • shouldBe careful with operations like indexing which may panic if the indexes are out of bounds.
    CLAUDE.md
  • shouldDo not write organizational or comments that summarize the code.

    Do not write organizational or comments that summarize the code. Comments should only be written in order to explain "why" the code is written in some way in the case there is a reason that is tricky / non-obvious.

    CLAUDE.md

Decisions its pull requests settled (6)

  • #64001gpui_windows: Fix use-after-free in power request reason string
  • #63719gpui: Add scale-factor simulation to `TestWindow`
  • #64143gpui_macos: Release the accessibility adapter when a window is dropped
  • #64405terminal: Release the parse buffer once a command finishes
  • #64440Add support for the `"..."` entry in `file_scan_inclusions`
  • #64719acp_thread: Remove completed plan cards from conversation history
Your agents can be told this before they touch the code. Get it for your repository: npx bluet-mcp init. What Bluet is.
zed-industries/zed: what agents should know before contributing · Bluet