|
| 1 | +graph TB |
| 2 | + subgraph invoke["Invocation Layer"] |
| 3 | + direction LR |
| 4 | + USER["👤 Developer\n(Copilot Chat)"] |
| 5 | + PROMPT["📋 Prompt\nOn-demand template\ne.g. a11y-scan.prompt.md"] |
| 6 | + end |
| 7 | + |
| 8 | + subgraph agents["Agent Layer"] |
| 9 | + direction LR |
| 10 | + AGENT["🤖 Agent\nInvoked via @agent-name\nPerforms analysis & decisions"] |
| 11 | + ORCH["🎯 Orchestrator Agent\nDelegates to sub-agents\ne.g. SecurityAgent"] |
| 12 | + SUB1["🔍 Sub-Agent 1\ne.g. SecurityReviewer"] |
| 13 | + SUB2["🔍 Sub-Agent 2\ne.g. PipelineSecurity"] |
| 14 | + end |
| 15 | + |
| 16 | + subgraph context["Context Layer"] |
| 17 | + direction LR |
| 18 | + SKILL["📚 Skill\nLoaded on demand\nDomain knowledge package"] |
| 19 | + INSTR["📏 Instruction\nAlways active\nRules via applyTo patterns"] |
| 20 | + end |
| 21 | + |
| 22 | + USER -- "@agent-name" --> AGENT |
| 23 | + USER -- "Run prompt" --> PROMPT |
| 24 | + PROMPT -- "Specifies agent" --> AGENT |
| 25 | + AGENT -- "Loads when needed" --> SKILL |
| 26 | + INSTR -. "Auto-applied to\nmatching files" .-> AGENT |
| 27 | + ORCH -- "Handoff" --> SUB1 |
| 28 | + ORCH -- "Handoff" --> SUB2 |
| 29 | + SUB1 -- "Loads when needed" --> SKILL |
| 30 | + |
| 31 | + style AGENT fill:#4A90D9,stroke:#2C5F8A,color:#fff |
| 32 | + style ORCH fill:#4A90D9,stroke:#2C5F8A,color:#fff |
| 33 | + style SUB1 fill:#6BA3D6,stroke:#2C5F8A,color:#fff |
| 34 | + style SUB2 fill:#6BA3D6,stroke:#2C5F8A,color:#fff |
| 35 | + style SKILL fill:#7BC67E,stroke:#3A7D3C,color:#fff |
| 36 | + style INSTR fill:#F5A623,stroke:#C47D0E,color:#fff |
| 37 | + style PROMPT fill:#9B59B6,stroke:#6C3483,color:#fff |
| 38 | + style USER fill:#34495E,stroke:#1C2833,color:#fff |
0 commit comments