AGENTS.md is a plain markdown file committed to a repository that gives AI coding agents project-specific context before they write any code. The {admiral} pharmaverse ecosystem has implemented automated infrastructure in {admiralci} to generate and maintain these files across all packages, pulling content from programming strategy docs, ADaM conventions, CDISC standards, and ecosystem pipeline context. Real-world examples from March 2026 show AI-assisted PRs already arriving in the admiral repo — including one opened directly by GitHub Copilot — demonstrating both the value of AGENTS.md in conveying domain conventions and its limitations when the agent's sandbox lacks R execution capabilities. Adoption for admiral-family packages requires three steps: adding a YAML config, referencing the reusable CI workflow, and updating .Rbuildignore. The broader rOpenSci community is also formalizing AGENTS.md as part of peer review submission templates.

8m read timeFrom r-bloggers.com
Post cover image

Sort: