Fetches the current temperature for Dubai from the Open-Meteo API in either Celsius or Fahrenheit. It's narrowly scoped to one city and one metric, making it more of a working example than a general-purpose tool. You get the WebFetch tool to hit specific lat/long coordinates, parse the JSON response for temperature_2m, and return a formatted result. Honestly useful if you're building something Dubai-specific or want a template for adding other cities, but you'll probably want to extend it beyond a single hardcoded location. Open-Meteo requires no API key, which keeps it simple for testing and demos.

skills.sh installs
370
GitHub stars
68.9K
last updated
Aug 21, 2026

Install

$ npx -y skills add shanraisshan/claude-code-best-practice --skill weather-fetcher --agent claude-code

Installs into .claude/skills of the current project.

Files

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&current=temperature_2m&temperature_unit=celsius

    For Fahrenheit:

    • URL: https://api.open-meteo.com/v1/forecast?latitude=25.2048&longitude=55.2708&current=temperature_2m&temperature_unit=fahrenheit
  2. Extract Temperature: From the JSON response, extract the current temperature:

    • Field: current.temperature_2m
    • Unit label is in: current_units.temperature_2m
  3. Return Result: Return the temperature value and unit clearly.

Expected Output

After completing this skill's instructions:

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

Notes

Sponsors

Details

Repository
github.com/shanraisshan/claude-code-best-practice
Categories
Backend & APIs, Code Review & Quality
License
MIT
First seen
Jun 3, 2026

More from shanraisshan/claude-code-best-practice

All 6
1bartundmett avatarshopware6-best-practicesbartundmett/skillsComprehensive Shopware 6.6+ development best practices for agency developers. Covers backend PHP, storefront Twig/JS, administration Vue.js, app system, integra369skills.sh installs
2pproenca avatarnginx-c-module-designpproenca/dot-skillsnginx C module directive design guidelines for creating admin-friendly configuration interfaces. This skill should be used when designing nginx module directive369skills.sh installs
3timescale avatarmigrate-postgres-tables-to-hypertablestimescale/pg-aiguideUse this skill to migrate identified PostgreSQL tables to Timescale/TimescaleDB hypertables with optimal configuration and validation. **Trigger when user asks 368skills.sh installs
4zzci avatarpma-crzzci/skillsCode review: stack-aware review for local diffs, pull requests, and repository-wide audits. Routes review across shared policy plus language packs for TypeScrip368skills.sh installs
5davila7 avatarfigma-implement-designdavila7/claude-code-templatesTranslate Figma nodes into production-ready code with 1:1 visual fidelity using the Figma MCP workflow (design context, screenshots, assets, and project-convent367skills.sh installs
6huggingface avatarhugging-face-datasetshuggingface/skillsCreate and manage datasets on Hugging Face Hub. Supports initializing repos, defining configs/system prompts, streaming row updates, and SQL-based dataset query367skills.sh installs