updated weather workflow

This commit is contained in:
Shayan Rais
2026-04-26 16:55:11 +05:00
parent f400ba83d4
commit eabba864a9
7 changed files with 60 additions and 32 deletions
@@ -95,7 +95,7 @@ This showcases the **Command → Agent → Skill** architecture pattern, where:
- **Location**: `.claude/agents/weather-agent.md`
- **Purpose**: Fetch weather data using its preloaded skill
- **Skills**: `weather-fetcher` (preloaded as domain knowledge)
- **Tools Available**: WebFetch, Read
- **Tools Available**: Read, Skill
- **Model**: sonnet
- **Color**: green
- **Memory**: project
+3 -3
View File
@@ -1,13 +1,13 @@
# Weather Result
## Temperature
26.2°C
89.3°F
## Location
Dubai, UAE
## Unit
Celsius
Fahrenheit
## SVG Card
![Weather Card](weather.svg)
![Weather Card](weather.svg)
+3 -3
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">26.2°C</text>
<text x="150" y="45" text-anchor="middle" fill="#8892b0" font-family="system-ui" font-size="14">Unit: Fahrenheit</text>
<text x="150" y="100" text-anchor="middle" fill="#ccd6f6" font-family="system-ui" font-size="42" font-weight="bold">89.3°F</text>
<text x="150" y="140" text-anchor="middle" fill="#64ffda" font-family="system-ui" font-size="16">Dubai, UAE</text>
</svg>
</svg>

Before

Width:  |  Height:  |  Size: 522 B

After

Width:  |  Height:  |  Size: 524 B