weather-fetcher
仓库创建 2025年10月31日最近提交 3 小时前SkillHot 收录 20 天前
▸ 精选理由
实现明确,适合演示或小型天气查询流水线集成。
▸ 风险提示
会调用外部天气 API,涉及网络请求与第三方依赖
这个 Skill 做什么
使用 Open-Meteo API 获取迪拜当前温度并返回指定单位的结果。
调用 Open-Meteo 的免费接口获取迪拜当前温度,并按你要的单位(摄氏或华氏)返回结果,适合做天气小组件或喂给后续的 SVG 渲染。你会用到 WebFetch 去拉取实时数据,结果是可直接用于展示或后续处理的数字和时间戳。简单、实时、无须付费 API 密钥。
▸ 展开 SKILL.md 英文原文
Instructions for fetching current weather temperature data for Dubai, UAE from Open-Meteo API
6.4w
Stars
6.3k
Forks
9
仓库内 Skill
+1.4k
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/shanraisshan/claude-code-best-practice/main/.claude/skills/weather-fetcher/SKILL.md或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/shanraisshan/claude-code-best-practice/main/.claude/skills/weather-fetcher/SKILL.md"SKILL.MD 节选查看完整文件 ↗
# Weather Fetcher Skill This skill provides instructions for fetching current weather data. ## Task Fetch the current temperature for Dubai, UAE in the requested unit (Celsius or Fahrenheit). ## Instructions 1. **Fetch Weather Data**: Use the WebFetch tool to get current weather data for Dubai from the Open-Meteo API. For **Celsius**: - URL: `https://api.open-meteo.com/v1/forecast?latitude=25.2048&longitude=55.2708¤t=temperature_2m&temperature_unit=celsius` For **Fahrenheit**: - URL: `https://api.open-meteo.com/v1/forecast?latitude=25.2048&longitude=55.2708¤t=temperature_2m&temperature_unit=fahrenheit` 2. **Extract Temperature**: From the JSON response, extrac
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有