agentleFS
clxzlclxzl/claude-code-best-practice-cn/.claude/skills/weather-fetcher/SKILL.md

weather-fetcher

Skill127 starsChanged 6 months agoMITView on GitHub

从 Open-Meteo API 获取迪拜当前天气温度数据的指令

7 other projects use a version of this, 5 of them edited.

Adopted by

Most recently taken up by

The file

Files
SKILL.md

天气获取 Skill

此 Skill 提供获取当前天气数据的指令。

任务

以请求的单位(摄氏度或华氏度)获取迪拜的当前温度。

指令

  1. 获取天气数据:使用 WebFetch 工具从 Open-Meteo API 获取迪拜的当前天气数据。

    摄氏度:

    • URL:https://api.open-meteo.com/v1/forecast?latitude=25.2048&longitude=55.2708&current=temperature_2m&temperature_unit=celsius

    华氏度:

    • URL:https://api.open-meteo.com/v1/forecast?latitude=25.2048&longitude=55.2708&current=temperature_2m&temperature_unit=fahrenheit
  2. 提取温度:从 JSON 响应中提取当前温度:
    • 字段:current.temperature_2m
    • 单位标签位于:current_units.temperature_2m
  3. 返回结果:清晰地返回温度值和单位。

预期输出

完成此 Skill 的指令后:

Current Dubai Temperature: [X]°[C/F]
Unit: [Celsius/Fahrenheit]

注意事项

  • 仅获取温度,不进行任何转换或写入任何文件
  • Open-Meteo 免费、无需 API 密钥,使用基于坐标的查询以确保可靠性
  • 迪拜坐标:纬度 25.2048,经度 55.2708
  • 清晰地返回数值温度值和单位
  • 根据调用者的请求支持摄氏度和华氏度

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.