feat(agents): adopt shared .agents/roles/ layout from adcp#4500#1735
Merged
Conversation
Single source of truth for 28 subagent prompts:
- 10 short triage checkers (PR-bound)
- 9 long -deep design advisors (open-ended work; opt-in)
- 9 long-only specialty advisors (debugger, copywriter, css-expert,
data-analyst, ad-creative-expert, agentic-product-architect,
javascript-protocol-expert, nodejs-testing-expert, python-expert)
scripts/import-claude-agents.mjs regenerates .claude/agents/ (md
copies, tracked) and .codex/agents/ (toml, gitignored). Run after
editing any source role via:
npm run sync:agents
CI workflow .github/workflows/validate-agent-roles-sync.yml fails
any PR where .claude/agents/ has drifted from .agents/roles/.
Replaces the previous hand-maintained 6-file .claude/agents/ subset
with the full 28-role roster. The 6 pre-existing short files are
byte-identical to the new source (verified before adoption) so no
agent behavior changes — just expanded coverage.
Preserves .claude/skills/build-*-agent/ — those remain
repo-specific surfaces.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This was referenced May 13, 2026
This was referenced May 13, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
.agents/roles/layout established in adcontextprotocol/adcp#4500-deepdesign advisors, 9 long-only specialty advisors) — up from 6 hand-maintained short files.claude/agents/and.codex/agents/are now generated byscripts/import-claude-agents.mjs(runnpm run sync:agentsafter edits).claude/agents/from.agents/roles/Why
.claude/agents/was hand-maintained with 6 files copied fromadcpand never refreshed. This PR adopts the shared layout so:-deepadvisors for design work, language-specific helpers likepython-expertandnodejs-testing-expert)What's preserved
.claude/skills/build-*-agent/— the 5 client-specific build skills (unique to this repo, not touched).agents/routines/and.agents/scripts/triage-local.sh— repo's existing triage tooling, unchangedTest plan
npm run sync:agentsproduces 28 files in each of.claude/agents/(md) and.codex/agents/(toml)diff -rq .agents/roles/ .claude/agents/clean (ignoring.claude/agents/README.mdwhich is hand-authored).claude/agents/*.mdfiles are byte-identical to the new source (verified before adoption)validate-agent-roles-synccheckFollow-up
adcp,adcp-client,adcp-client-python,adcp-go,adcp-sdk-javaadcp-client-python,adcp-go,adcp-sdk-javafiled via their triage routines🤖 Generated with Claude Code