Problem
New contributors need to piece together information from multiple docs (CONTRIBUTING.md, docs/DEVELOPER_GUIDE.md, docs/ARCHITECTURE_OVERVIEW.md, package.json) before writing a single line of code. Two specific pain points:
- No single entry point — there's no quick-reference file that tells you where to look for what. You have to discover each doc on your own.
- Command confusion — all PHP commands need to run through
wp-env via npm scripts (npm run lint:php, not composer lint), but this isn't obvious until you read package.json. A new contributor would likely run composer lint directly and hit errors.
Proposal
Add an AGENTS.md file to the repository (currently gitignored under "AI files" since #172). This is a lightweight, universal reference file that:
- Points to the right doc for the right task (setup, architecture, testing, experiments, etc.)
- Codifies workflow rules (e.g., prefer
npm run over direct composer/vendor calls)
- Works as a quick-start for both humans and AI coding tools (Copilot, Cursor, Claude Code, Windsurf, etc.)
The file is intentionally short — it doesn't duplicate existing docs, it links to them.
Why not just improve CONTRIBUTING.md?
CONTRIBUTING.md is thorough and should stay as-is. AGENTS.md serves a different role: it's a concise routing table that helps you (or your AI tool) find the right doc fast. Think of it as a table of contents for the project's developer knowledge.
My experience
I tried onboarding as a new contributor using Claude Code. Without any project context file, the AI had to read multiple docs before it could answer basic setup questions. After adding AGENTS.md with references and workflow rules, the experience became: ask a question → get the right answer with exact commands immediately. The same file works equally well as a human-readable quick-start reference.
Problem
New contributors need to piece together information from multiple docs (
CONTRIBUTING.md,docs/DEVELOPER_GUIDE.md,docs/ARCHITECTURE_OVERVIEW.md,package.json) before writing a single line of code. Two specific pain points:wp-envvia npm scripts (npm run lint:php, notcomposer lint), but this isn't obvious until you readpackage.json. A new contributor would likely runcomposer lintdirectly and hit errors.Proposal
Add an
AGENTS.mdfile to the repository (currently gitignored under "AI files" since #172). This is a lightweight, universal reference file that:npm runover directcomposer/vendorcalls)The file is intentionally short — it doesn't duplicate existing docs, it links to them.
Why not just improve CONTRIBUTING.md?
CONTRIBUTING.mdis thorough and should stay as-is.AGENTS.mdserves a different role: it's a concise routing table that helps you (or your AI tool) find the right doc fast. Think of it as a table of contents for the project's developer knowledge.My experience
I tried onboarding as a new contributor using Claude Code. Without any project context file, the AI had to read multiple docs before it could answer basic setup questions. After adding
AGENTS.mdwith references and workflow rules, the experience became: ask a question → get the right answer with exact commands immediately. The same file works equally well as a human-readable quick-start reference.