Skip to content

[IMP] docs: add AGENTS.md for coding agents - #2221

Draft
NoeBerdoz wants to merge 1 commit into
18.0from
18.0-agents-md
Draft

NoeBerdoz wants to merge 1 commit into
18.0from
18.0-agents-md

Conversation

@NoeBerdoz

Copy link
Copy Markdown
Contributor

Adds AGENTS.md, the instructions coding agents (Claude Code, Codex and others) read when they work in this repository. Documentation only: no code, manifest, data or test changes.

What it holds

  • what the addons provide, and which deployments install them
  • the dependency rules: Odoo refuses a dependency cycle between addons; these addons may depend on compassion-accounting, never on compassion-website or a country repository; new country behavior goes in a country extension, with the existing exceptions named
  • the languages for a module's first translation catalogs
  • where the shared Compassion code rules live: the code-rules and odoo-rules toolkit plugins when they are installed, otherwise a clone of the toolkit's main, or the same files online
  • the pre-commit commands and what CI runs
  • the rules review to run before opening a PR

It has the same shape as the file compassion-website adopted in CompassionCH/compassion-website#453; the rules and review sections are word for word the same.

Checks

  • Every statement was checked against this repository's code at 18.0 (6ad49a1f), by its author and by two independent reviewers.
  • The repository's pre-commit hooks pass on the new file.
  • No Odoo tests: nothing executable changes.

The sentence on the Polish office matches the toolkit rule in CompassionCH/compassion-agent-toolkit#7: merge that one first.

Instructions that coding agents read when they work in this repository:
what the addons provide and which deployments install them, the dependency
and translation rules, where the shared Compassion code rules live, the
pre-commit commands, and the rules review to run before a PR.

Assisted-by: claude-opus-5-5, xhigh, claude-code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant