Skip to content

feat(agents): dogfood dev-agent MCP tools in Claude agents#12

Merged
prosdev merged 2 commits into
mainfrom
feat/agents-dogfood-mcp-tools
Mar 31, 2026
Merged

feat(agents): dogfood dev-agent MCP tools in Claude agents#12
prosdev merged 2 commits into
mainfrom
feat/agents-dogfood-mcp-tools

Conversation

@prosdev
Copy link
Copy Markdown
Contributor

@prosdev prosdev commented Mar 31, 2026

Summary

  • Gives 8 of our 9 Claude agents access to dev-agent's own MCP tools (search, refs, map, patterns, status)
  • Each agent gets the tools most relevant to its workflow — not a blanket "give everything to everyone"
  • Adds an Agent → MCP Tool Matrix to CLAUDE.md for quick reference

Agent → MCP Tool Matrix

┌───────────────────┬────────────┬──────────┬─────────┬──────────────┬────────────┬────────────┐
│       Agent       │ dev_search │ dev_refs │ dev_map │ dev_patterns │ dev_status │ dev_health │
├───────────────────┼────────────┼──────────┼─────────┼──────────────┼────────────┼────────────┤
│ bug-investigator  │     ★      │    ★     │    ●    │              │            │            │
│ quick-scout       │     ★      │    ★     │    ●    │              │            │            │
│ research-planner  │     ★      │    ●     │    ★    │      ★       │            │            │
│ logic-reviewer    │     ●      │    ★     │         │      ●       │            │            │
│ security-reviewer │     ★      │    ●     │         │      ★       │            │            │
│ quality-reviewer  │     ●      │          │         │      ★       │            │            │
│ plan-reviewer     │            │    ★     │    ★    │      ●       │            │            │
│ pr-composer       │            │          │    ●    │              │     ●      │            │
│ code-reviewer     │            │          │         │              │            │            │
└───────────────────┴────────────┴──────────┴─────────┴──────────────┴────────────┴────────────┘

★ = high impact, ● = useful

Changes

Agents (.claude/agents/)

  • quick-scoutdev_search, dev_refs, dev_map. Rewrote workflow: semantic search first, ref tracing for usages, map for structure
  • bug-investigatordev_search, dev_refs, dev_map. New MCP Tools section, integrated into data flow tracing and root cause phases
  • research-plannerdev_search, dev_refs, dev_map, dev_patterns. New MCP Tools section, rewrote "Map the territory" workflow step
  • logic-reviewerdev_search, dev_refs, dev_patterns. Added guidance to Cross-Package Data Flow section
  • security-reviewerdev_search, dev_refs, dev_patterns. Added MCP usage guidance before the security checklist
  • quality-reviewerdev_search, dev_patterns. Added guidance to Readability & Simplification section
  • plan-reviewerdev_refs, dev_map, dev_patterns. Integrated into Pass 1 (Engineer Review) verification steps
  • pr-composerdev_map, dev_status. Added to diff analysis step
  • code-reviewer — Unchanged (orchestrator, delegates to sub-reviewers)

CLAUDE.md

  • Added Agent → MCP Tool Matrix under the Agents section

Test plan

  • Run quick-scout on a conceptual query — verify it uses dev_search instead of just Grep
  • Run bug-investigator on a known issue — verify it uses dev_refs for tracing
  • Run code-reviewer on a branch diff — verify sub-reviewers pick up MCP tools
  • Verify agents still work when MCP server is not running (graceful fallback)

Generated with Claude Code

prosdev and others added 2 commits March 30, 2026 23:21
Give our own agents access to the MCP tools they build and maintain.
Each agent gets the tools most relevant to its workflow — semantic
search for investigators, ref tracing for reviewers, pattern analysis
for quality checks.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Fix checklist phrasing in logic-reviewer to match boolean assertion style
- Make quick-scout workflow more prescriptive for haiku model
- Bump security-reviewer dev_refs to high-impact (taint tracking)
- Drop unused dev_health and dev_status columns from matrix
- Add footnote explaining code-reviewer is an orchestrator

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@prosdev prosdev merged commit 7bcb1d5 into main Mar 31, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant