docs(agents): add fully-qualified namespace directive to AGENTS.md

Prevents future agent resolution failures by requiring skills to use
compound-engineering:<category>:<agent-name> instead of short names.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Matt Van Horn
2026-03-13 22:15:29 -07:00
parent 026602e624
commit 52e3e14a07

View File

@@ -48,6 +48,16 @@ Add a new provider when at least one of these is true:
Avoid adding a provider if the target spec is unstable or undocumented.
## Agent References in Skills
When referencing agents from within skill SKILL.md files (e.g., via the `Agent` or `Task` tool), always use the **fully-qualified namespace**: `compound-engineering:<category>:<agent-name>`. Never use the short agent name alone.
Example:
- `compound-engineering:research:learnings-researcher` (correct)
- `learnings-researcher` (wrong - will fail to resolve at runtime)
This prevents resolution failures when the plugin is installed alongside other plugins that may define agents with the same short name.
## Repository Docs Convention
- **Plans** live in `docs/plans/` and track implementation progress.