This commit is contained in:
Shayan Rais
2026-03-02 20:02:59 +05:00
parent db43e42605
commit 13874e6fda
33 changed files with 246 additions and 81 deletions
@@ -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