done
This commit is contained in:
@@ -23,63 +23,49 @@ This showcases the **Command → Agent → Skill** architecture pattern, where:
|
||||
## Flow Diagram
|
||||
|
||||
```
|
||||
┌─────────────────────────────────────────────────┐
|
||||
│ User Interaction │
|
||||
└─────────────────────────────────────────────────┘
|
||||
│
|
||||
▼
|
||||
┌───────────────────────────┐
|
||||
│ /weather-orchestrator │
|
||||
│ Command │
|
||||
│ (Entry point) │
|
||||
└───────────────────────────┘
|
||||
│
|
||||
┌─────────────┤
|
||||
│ │
|
||||
▼ │
|
||||
┌──────────────┐ │
|
||||
│ AskUser │ │
|
||||
│ C° or F°? │ │
|
||||
└──────────────┘ │
|
||||
│ │
|
||||
▼ │
|
||||
Step 2: Task tool │
|
||||
│ │
|
||||
▼ │
|
||||
┌───────────────────────────┐
|
||||
│ weather-agent │
|
||||
│ Agent │
|
||||
│ │
|
||||
│ preloaded skill: │
|
||||
│ - weather-fetcher │
|
||||
└───────────────────────────┘
|
||||
│
|
||||
│ Returns: temperature + unit
|
||||
│
|
||||
▼
|
||||
Step 3: Skill tool
|
||||
│
|
||||
▼
|
||||
┌───────────────────────────┐
|
||||
│ weather-svg-creator │
|
||||
│ Skill │
|
||||
│ │
|
||||
│ Creates SVG card │
|
||||
│ Writes output files │
|
||||
└───────────────────────────┘
|
||||
│
|
||||
┌────────┴────────┐
|
||||
│ │
|
||||
▼ ▼
|
||||
┌──────────────────┐ ┌──────────────────┐
|
||||
│ weather.svg │ │ output.md │
|
||||
└──────────────────┘ └──────────────────┘
|
||||
│
|
||||
▼
|
||||
┌───────────────────────────┐
|
||||
│ Display Summary │
|
||||
│ to User │
|
||||
└───────────────────────────┘
|
||||
╔══════════════════════════════════════════════════════════════════╗
|
||||
║ ORCHESTRATION WORKFLOW ║
|
||||
║ Command → Agent → Skill ║
|
||||
╚══════════════════════════════════════════════════════════════════╝
|
||||
|
||||
┌───────────────────┐
|
||||
│ User Interaction │
|
||||
└─────────┬─────────┘
|
||||
│
|
||||
▼
|
||||
┌─────────────────────────────────────────────────────┐
|
||||
│ /weather-orchestrator — Command (Entry Point) │
|
||||
└─────────────────────────┬───────────────────────────┘
|
||||
│
|
||||
Step 1
|
||||
│
|
||||
▼
|
||||
┌────────────────────────┐
|
||||
│ AskUser — C° or F°? │
|
||||
└────────────┬───────────┘
|
||||
│
|
||||
Step 2 — Task tool
|
||||
│
|
||||
▼
|
||||
┌─────────────────────────────────────────────────────┐
|
||||
│ weather-agent — Agent ● skill: weather-fetcher │
|
||||
└─────────────────────────┬───────────────────────────┘
|
||||
│
|
||||
Returns: temp + unit
|
||||
│
|
||||
Step 3 — Skill tool
|
||||
│
|
||||
▼
|
||||
┌─────────────────────────────────────────────────────┐
|
||||
│ weather-svg-creator — Skill ● SVG card + output │
|
||||
└─────────────────────────┬───────────────────────────┘
|
||||
│
|
||||
┌────────┴────────┐
|
||||
│ │
|
||||
▼ ▼
|
||||
┌────────────┐ ┌────────────┐
|
||||
│weather.svg │ │ output.md │
|
||||
└────────────┘ └────────────┘
|
||||
```
|
||||
|
||||
## Component Details
|
||||
|
||||
Reference in New Issue
Block a user