Skip to content

chore: add CLAUDE.md for guidance - #4941

Closed
joragua wants to merge 1 commit into
masterfrom
chore/add_claude_md
Closed

chore: add CLAUDE.md for guidance#4941
joragua wants to merge 1 commit into
masterfrom
chore/add_claude_md

Conversation

@joragua

@joragua joragua commented Jul 24, 2026

Copy link
Copy Markdown
Member

Related Issues

App: -

  • Add changelog files for the fixed issues in folder changelog/unreleased. More info here
  • Add feature to Release Notes in ReleaseNotesViewModel.kt creating a new ReleaseNote() with String resources (if required)

QA

Signed-off-by: Jorge Aguado Recio <jaguado@izertis.com>
@DeepDiver1975

Copy link
Copy Markdown
Member

FYI: claude should already read the agents.md file which was added to the repo with the OSPO PR: https://github.com/owncloud/android/blob/master/agents.md

@joragua

joragua commented Jul 28, 2026

Copy link
Copy Markdown
Member Author

I will update the agents.md file with additional information to improve the guidelines for AI agents.

Closing this PR and opening a new one 🚀

@joragua joragua closed this Jul 28, 2026
@joragua
joragua deleted the chore/add_claude_md branch July 28, 2026 11:49
@jesmrec

jesmrec commented Aug 3, 2026

Copy link
Copy Markdown
Member

FYI: claude should already read the agents.md file which was added to the repo with the OSPO PR:

i have asked claude about that, and i got the following:

❯ is agents.md as useful  as CLAUDE.md for you?                                                                                                                                                                                                          

  Thought for 6s (ctrl+o to expand)

⏺ No — agents.md is not as useful for me. Claude Code automatically loads CLAUDE.md into every conversation's context (you can see it in the system prompt above as "project instructions, checked into the codebase"). agents.md is just a regular file;
  I won't see it unless I explicitly read it.

  You have a few options:

  1. Rename agents.md back to CLAUDE.md — simplest fix, restores automatic loading.
  2. Keep agents.md and create a minimal CLAUDE.md that points to it — something like @agents.md (Claude Code supports @filename imports in CLAUDE.md). This way other agents can use agents.md directly while I still get it auto-loaded.
  3. Keep both names in sync — but that's maintenance overhead.

  Option 2 is probably the best fit given your intent to have a single shared file for all agents. Want me to restore agents.md as-is and create a minimal CLAUDE.md that imports it?

✻ Brewed for 10s

❯ so you don't load agents.md for getting context                                                                                                                                                                                                        

  Thought for 4s (ctrl+o to expand)

⏺ Correct. I only auto-load CLAUDE.md (and any files it imports via @filename). agents.md is invisible to me unless I explicitly read it with a tool call.
     

is there something that i'm missing @DeepDiver1975 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants