docs: Add note about `CLAUDE.md` usage (#37496)

Danilo Leal created

Some users asked whether Claude Code in Zed can also observe/consume
`CLAUDE.md` guidelines, regardless of whether they're at the root
`.claude` directory or within the project. Answer is yes and the
documentation will mention it now!

Release Notes:

- N/A

Change summary

docs/src/ai/external-agents.md | 5 +++++
1 file changed, 5 insertions(+)

Detailed changes

docs/src/ai/external-agents.md 🔗

@@ -98,6 +98,11 @@ However, the SDK doesn't yet expose everything needed to fully support all of th
 > Also note that some [first-party agent](./agent-panel.md) features don't yet work with Claude Code: editing past messages, resuming threads from history, checkpointing, and using the agent in SSH projects.
 > We hope to add these features in the near future.
 
+#### CLAUDE.md
+
+If you already have a `CLAUDE.md` file in your project (either at the root of it or in subdirectories) or at your root `.claude` directory, Claude Code in Zed will use it.
+If you don't have one, you can make Claude Code create one for you through through the `init` slash command.
+
 ## Add Custom Agents {#add-custom-agents}
 
 You can run any agent speaking ACP in Zed by changing your settings as follows: