Skip to content

Ensure Claude reads from AGENTS.md#6486

Merged
VelikovPetar merged 1 commit into
developfrom
bug/ensure_claude_reads_agentsmd_develop
Jun 3, 2026
Merged

Ensure Claude reads from AGENTS.md#6486
VelikovPetar merged 1 commit into
developfrom
bug/ensure_claude_reads_agentsmd_develop

Conversation

@VelikovPetar
Copy link
Copy Markdown
Contributor

@VelikovPetar VelikovPetar commented Jun 3, 2026

Goal

Claude Code auto-loads CLAUDE.md from the repo root but not AGENTS.md. Add a thin CLAUDE.md that imports the existing AGENTS.md so Claude inherits the AGENTS.md guidance.

Resolves: https://linear.app/stream/issue/AND-1213/ensure-claude-reads-agentsmd

Implementation

New CLAUDE.md at the repo root containing a single line: @AGENTS.md. Claude Code resolves @path imports inside CLAUDE.md, so the AGENTS.md instructions are pulled in automatically.

UI Changes

No UI changes.

Testing

Docs/config only — no code paths affected. Verify by opening Claude Code in this repo on this branch and confirming the AGENTS.md content is loaded.

Summary by CodeRabbit

  • Chores
    • Updated internal documentation structure.

@VelikovPetar VelikovPetar added the pr:bug Bug fix label Jun 3, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 3, 2026

PR checklist ✅

All required conditions are satisfied:

  • Title length is OK (or ignored by label).
  • At least one pr: label exists.
  • Sections ### Goal, ### Implementation, and ### Testing are filled, or the PR is bot-authored.
  • An issue is linked (Linear ticket or GitHub issue), or the PR is bot-authored.

🎉 Great job! This PR is ready for review.

@VelikovPetar VelikovPetar marked this pull request as ready for review June 3, 2026 08:07
@VelikovPetar VelikovPetar requested a review from a team as a code owner June 3, 2026 08:07
@VelikovPetar VelikovPetar added pr:internal Internal changes / housekeeping and removed pr:bug Bug fix labels Jun 3, 2026
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Jun 3, 2026

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 30381d03-1632-4407-ba84-e677a51e0e35

📥 Commits

Reviewing files that changed from the base of the PR and between fa7a6d3 and 8ade7dd.

📒 Files selected for processing (1)
  • CLAUDE.md

Walkthrough

A new CLAUDE.md file is introduced at the repository root with a single line that directs readers to @AGENTS.md, establishing a reference point for agent-related documentation.

Changes

Documentation Setup

Layer / File(s) Summary
CLAUDE.md Agent Reference
CLAUDE.md
A new documentation file is added with a reference pointer to @AGENTS.md.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~1 minute

Poem

A rabbit hops in, with reference in tow,
To AGENTS.md, where the smart agents go,
One line, one link, a direction so clear,
Documentation springs forth with a cheer! 🐰📖

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely summarizes the main change: adding a CLAUDE.md file to ensure Claude reads AGENTS.md guidance.
Description check ✅ Passed The PR description covers Goal and Implementation sections well, addressing the purpose and approach. However, it's missing Testing details, UI Changes confirmation, and the required Contributor/Reviewer checklists specified in the template.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch bug/ensure_claude_reads_agentsmd_develop

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 3, 2026

SDK Size Comparison 📏

SDK Before After Difference Status
stream-chat-android-client 5.84 MB 5.84 MB 0.00 MB 🟢
stream-chat-android-ui-components 11.07 MB 11.07 MB 0.00 MB 🟢
stream-chat-android-compose 12.46 MB 12.46 MB 0.00 MB 🟢

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Jun 3, 2026

@VelikovPetar VelikovPetar merged commit f7e674a into develop Jun 3, 2026
16 of 20 checks passed
@VelikovPetar VelikovPetar deleted the bug/ensure_claude_reads_agentsmd_develop branch June 3, 2026 08:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr:internal Internal changes / housekeeping

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants