Orchestrator & Expert Agent Methodology
How we use 15 specialized agents to go from ADO story to shipped PR.
July 2026
Tier 1 — Orchestrators & Analysis (deep reasoning)
Tier 2 — Implementation & Testing (speed + quality)
Tier 3 — Quality Gates & Review
For features that need upfront planning before code. Creates PRD, design doc, and story breakdown.
/approveFor a well-scoped story ready to implement. One command starts the entire flow.
--dev (app code + draft PR) / --qe (tests + PR ready)--auto adds author quality gates between phasesRun @requirements first — refine the story before handing to @story. In --auto mode, @author-requirements catches unrefined stories and loops back automatically.
@feature /start feature my-feature # creates memory bank workspace /approve prd # gates next phase /approve design # API contracts defined /approve stories # story breakdown ready /create stories # pushes to ADO
.github/memorybank/myproject/my-feature/ with PRD, design, and tasks[backend], [frontend], or [full-stack]/create stories, run @requirements on each story to refine AC before implementationOne story, one branch. Dev implements, QE tests. The handoff is structured.
Dev Flow (--dev)
QE Flow (--qe)
| Scope | --dev agents | --qe agents |
|---|---|---|
| Backend | @code-backend | @test-api |
| Frontend | @code-frontend | @test-e2e |
| Full-stack | Both | Both |
Test failures that reveal real bugs: test agents self-debug test code issues, but if a failure exposes an implementation defect, hand off to @requirements create a bug: <description> to log it in ADO with repro steps, expected vs actual, and priority.
With --auto, author agents gate each phase automatically — no human review needed for passing work.
Work meets quality bar. Advances to next phase automatically.
Needs improvement. Refines the output (max 2 retries).
Fundamental issue. Escalates to human immediately.
If a story has vague AC, undefined scope, or missing auth requirements, @story warns before implementation and offers a handoff to @requirements.
Plan saved to .github/memorybank/stories/<id>/plan.md. Survives context compaction. Resume with @story /resume <id> — picks up where you left off.
@requirements 12345
ado-project-info.md for context@requirements refine story 12345
Without optimization, every chat loads ~4,600 lines of context — frontend rules for backend tasks, test patterns for simple questions. Each tier loads only when needed.
Scoped by applyTo glob. Auto-loaded for matching files. Zero cost otherwise.
Example: C# naming rules load only when editing .cs files.
On-demand SKILL.md files. Agent loads only when the task domain matches.
Example: Test patterns load only when writing tests.
PowerShell for deterministic operations. No tokens spent on prose.
Example: Drift detection, pattern scanning.
Persistent context scoped to session, repo, or user. Agents read only what they need.
Example: ADO info, story plans, feature designs.
| Scenario | Before | After | ↓ |
|---|---|---|---|
| Generic chat | ~4,600 | ~550 | 88% |
| Backend (C#) | ~4,600 | ~700 | 85% |
| Frontend (React) | ~4,600 | ~700 | 85% |
Conventions evolve through PRs. Without validation, agents follow yesterday's rules — or worse, teach patterns from imaginary code.
scan-patterns.ps1 counts pattern usage. If "Migrating" drops to 0 → ready for "Deprecated". If "Active" count drops → organic drift.
validate-skill-examples.ps1 checks that types, folders, and packages in skills actually exist in the codebase.
Registry links patterns → skills. When a pattern is deprecated, the registry surfaces which skills need updating.
Code examples referenced imaginary types. A security skill mapped 401→404 incorrectly. Skills amplify mistakes — every agent propagates the error.
| Command | What it does |
|---|---|
| @requirements <id> | Analyze an ADO story |
| @requirements refine story <id> | Refine AC + test matrix |
| @requirements create a bug: ... | Log a bug in ADO |
| @feature /branch <id> | Create a feature branch |
| @feature /start feature <name> | Start multi-story feature |
| @story /start <id> | Full story flow |
| @story /start <id> --dev | Dev: code + draft PR |
| @story /resume <id> --qe | QE: tests + PR ready |
| @story /start <id> --auto | Add author quality gates |
| @code-review | Review current branch |
| @code-review PR <id> | Review an ADO PR |
| @pr-create | Create a pull request |
@azure-devops/mcpfeature/{storyId}-{short-desc}.github/memorybank/Walk through a real ADO story end-to-end — from raw description to refined AC and implementation kickoff.
@requirements 12345
@requirements refine story 12345
@story /start 12345 --dev --auto
Goal: See the full flow from story intake to implementation kickoff — context preserved at every handoff.
Remaining time → Q&A · What to adjust for the team · Next steps for adoption