Skip to content

shanraisshan/claude-code-best-practice / .claude/skills/weather-svg-creator

weather-svg-creator

Verified

Creates an SVG weather card showing the current temperature for Dubai. Writes the SVG to orchestration-workflow/weather.svg and updates orchestration-workflow/output.md.

FileKindSize
SKILL.mdskill md1.2 KB
examples.mdmarkdown1.7 KB
reference.mdmarkdown1.6 KB

reference.md

View on GitHub
# Weather SVG Creator — Reference

## SVG Template

```svg
<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/Fahrenheit]</text>
  <text x="150" y="100" text-anchor="middle" fill="#ccd6f6" font-family="system-ui" font-size="42" font-weight="bold">[value]°[C/F]</text>
  <text x="150" y="140" text-anchor="middle" fill="#64ffda" font-family="system-ui" font-size="16">Dubai, UAE</text>
</svg>
```

### Placeholders

| Placeholder | Replace with | Example |
|-------------|-------------|---------|
| `[Celsius/Fahrenheit]` | Full unit name from input | `Celsius` |
| `[value]` | Numeric temperature from input | `26.2` |
| `[C/F]` | Unit abbreviation | `C` or `F` |

### Design Specs

| Property | Value |
|----------|-------|
| Dimensions | 300 x 160 px |
| Corner radius | 12 px |
| Background | `#1a1a2e` (dark navy) |
| Unit label | `#8892b0` (muted blue), 14px |
| Temperature | `#ccd6f6` (light blue), 42px bold |
| Location | `#64ffda` (teal accent), 16px |
| Font | `system-ui` |
| All text | Centered (`text-anchor="middle"` at x=150) |

---

## Output Markdown Template

```markdown
# Weather Result

## Temperature
[value]°[C/F]

## Location
Dubai, UAE

## Unit
[Celsius/Fahrenheit]

## SVG Card
![Weather Card](weather.svg)
```

---

## Output Paths

| File | Path |
|------|------|
| SVG card | `orchestration-workflow/weather.svg` |
| Markdown summary | `orchestration-workflow/output.md` |
planning-and-task-breakdownaddyosmani/agent-skillsBreaks work into ordered tasks. Use when you have a spec or clear requirements and need to break work into implementable tasks. Use when a task feels too large to start, when you need to estimate scope, or when parallel work is possible.Stars: 119kUpdated Claude CodeCodexVerifiedInstall
screenpipethedotmack/claude-memSearch screen and audio history recorded by Screenpipe and optionally save selected context into claude-mem. Use when the user asks to recall desktop activity, a meeting, or something seen in another app through Screenpipe.Stars: 118kUpdated Claude CodeCodexVerifiedInstall
contact-widgetnexu-io/open-designSelf-contained floating chat widget with welcome screen, social links, meeting button, and message input. Single HTML file, zero dependencies.Stars: 108kUpdated Claude CodeCodexVerifiedInstall
meeting-notesnexu-io/open-designMeeting notes page — title bar with attendees, agenda checklist, decisions block, action items table with owners + dates, and a "next meeting" footer. Use when the brief mentions "meeting notes", "minutes", "1:1 notes", "all-hands recap", or "会议纪要".Stars: 108kUpdated Claude CodeCodexVerifiedInstall