Skip to content

Add AGENTS.md #21520

@tay1orjones

Description

@tay1orjones

There are PRs being opened in the repo that are clearly the product of agentic workflows. It's common for these to miss the mark quality-wise. Simple things like coding conventions, docs, baseline react patterns, etc. are missed.

A good agents.md added to the repo root and in important subpackages could combat this some and provide better output.

Key attributes

  • The shorter the better, these use tokens
  • Subpackage agents.md are typically concatenated onto the root one
  • Bad information poisons the context. It must be correct or clearly marked as optional/cursory/supportive in nature.

Content ideas

  • Package structure (nested interdependency, elements into styles into react, etc.), this could be automated to ensure it's always up to date
  • Common commands (build, test, format)
  • Docs
  • Guidance for opening and reviewing PRs
  • Ensuring quality (expectations, how to validate)
  • Code authoring guidance (style guide, code comments in tricky parts)
  • ...

Resources

Follow-up tasks

  • Expand outwards to ibm-products and other repos in the org

Superscedes #21269

Metadata

Metadata

Assignees

Projects

Status

🏗 In Progress

Status

Now 💫

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions