[changelog] 2.1.71

This commit is contained in:
Shayan Rais
2026-03-07 14:38:08 +05:00
parent dd73807ca7
commit 4338945024
27 changed files with 252 additions and 125 deletions
@@ -44,7 +44,7 @@ This showcases the **Command → Agent → Skill** architecture pattern, where:
│ AskUser — C° or F°? │
└────────────┬───────────┘
Step 2 — Task tool
Step 2 — Agent tool
┌─────────────────────────────────────────────────────┐
@@ -77,7 +77,7 @@ This showcases the **Command → Agent → Skill** architecture pattern, where:
- **Purpose**: Entry point — orchestrates the workflow and handles user interaction
- **Actions**:
1. Asks user for temperature unit preference (Celsius/Fahrenheit)
2. Invokes weather-agent via Task tool
2. Invokes weather-agent via Agent tool
3. Invokes weather-svg-creator via Skill tool
- **Model**: haiku
@@ -109,7 +109,7 @@ The agent has `weather-fetcher` preloaded into its context at startup. It follow
#### `weather-fetcher` (Skill)
- **Location**: `.claude/skills/weather-fetcher/SKILL.md`
- **Purpose**: Instructions for fetching real-time temperature data
- **Data Source**: wttr.in API for Dubai, UAE
- **Data Source**: Open-Meteo API for Dubai, UAE
- **Output**: Temperature value and unit (Celsius or Fahrenheit)
- **Note**: This is an agent skill — preloaded into `weather-agent`, not invoked directly
@@ -117,9 +117,9 @@ The agent has `weather-fetcher` preloaded into its context at startup. It follow
1. **User Invocation**: User runs `/weather-orchestrator` command
2. **User Prompt**: Command asks user for preferred temperature unit (Celsius/Fahrenheit)
3. **Agent Invocation**: Command invokes `weather-agent` via Task tool
3. **Agent Invocation**: Command invokes `weather-agent` via Agent tool
4. **Skill Execution** (within agent context):
- Agent follows `weather-fetcher` skill instructions to fetch temperature from wttr.in
- Agent follows `weather-fetcher` skill instructions to fetch temperature from Open-Meteo
- Agent returns the temperature value and unit to the command
5. **SVG Creation**: Command invokes `weather-svg-creator` via Skill tool
- Skill creates SVG weather card at `orchestration-workflow/weather.svg`
@@ -136,10 +136,10 @@ The agent has `weather-fetcher` preloaded into its context at startup. It follow
Input: /weather-orchestrator
├─ Step 1: Asks: Celsius or Fahrenheit?
│ └─ User: Celsius
├─ Step 2: Task tool → weather-agent
├─ Step 2: Agent tool → weather-agent
│ ├─ Preloaded Skill:
│ │ └─ weather-fetcher (domain knowledge)
│ ├─ Fetches from wttr.in → 26°C
│ ├─ Fetches from Open-Meteo → 26°C
│ └─ Returns: temperature=26, unit=Celsius
├─ Step 3: Skill tool → /weather-svg-creator
│ ├─ Creates: orchestration-workflow/weather.svg
@@ -38,7 +38,7 @@
<text x="633" y="174" text-anchor="middle" fill="white" font-family="system-ui" font-size="11" opacity="0.9">weather-fetcher</text>
<!-- Agent description -->
<text x="633" y="218" text-anchor="middle" fill="#888" font-family="system-ui" font-size="11">Fetches temperature from</text>
<text x="633" y="233" text-anchor="middle" fill="#888" font-family="system-ui" font-size="11">wttr.in API for Dubai</text>
<text x="633" y="233" text-anchor="middle" fill="#888" font-family="system-ui" font-size="11">Open-Meteo API for Dubai</text>
<!-- Arrow 3 -->
<line x1="758" y1="135" x2="823" y2="135" stroke="#666" stroke-width="2.5" marker-end="url(#arrow)"/>

Before

Width:  |  Height:  |  Size: 4.0 KiB

After

Width:  |  Height:  |  Size: 4.0 KiB

+1 -1
View File
@@ -1,7 +1,7 @@
# Weather Result
## Temperature
22.5°C
25.7°C
## Location
Dubai, UAE
+1 -1
View File
@@ -1,6 +1,6 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 300 160" width="300" height="160">
<rect width="300" height="160" rx="12" fill="#1a1a2e"/>
<text x="150" y="45" text-anchor="middle" fill="#8892b0" font-family="system-ui" font-size="14">Unit: Celsius</text>
<text x="150" y="100" text-anchor="middle" fill="#ccd6f6" font-family="system-ui" font-size="42" font-weight="bold">22.5°C</text>
<text x="150" y="100" text-anchor="middle" fill="#ccd6f6" font-family="system-ui" font-size="42" font-weight="bold">25.7°C</text>
<text x="150" y="140" text-anchor="middle" fill="#64ffda" font-family="system-ui" font-size="16">Dubai, UAE</text>
</svg>

Before

Width:  |  Height:  |  Size: 522 B

After

Width:  |  Height:  |  Size: 522 B