Problem/Motivation

PoC implementation of agents.md for a submodule (related discussion for AI module #3573186: [Discuss] Consider adding Agents.md)

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

valthebald created an issue. See original summary.

valthebald’s picture

Status: Active » Needs review
svendecabooter’s picture

This would only be beneficial for contributing to the project itself? Will AI tools actually read the AGENTS.md file for a contrib module, if it's not in the root of the Drupal project? Or would it have to be used in combination with https://github.com/ddev/ddev-drupal-contrib, where the file would be placed in the webroot?

This seems like a good start, but is pretty generic and not really AI Translate-specific.
I'm wondering if it wouldn't be possible to have a generic Drupal dev AGENTS.md file in a more generic place (e.g. inside the AI core module), and then have the ai_translate AGENTS.md provide some ai_translate specific module context, and then link to the AI core file for more information. But I'm not up to speed with AGENTS.md best practices, so it might be a naive point of view :)