Prompt Buddy logoPrompt Buddy

cloudflare · Cloudflare Workers Docs

Workers Geolocation: Weather application

A complete implementation pattern for building a Cloudflare Worker that retrieves a user's geographic location and fetches corresponding weather data from an external API.

Import to Prompt Buddy

Derived skill

Files assembled from official documentation

Viewing SKILL.md

Workers Geolocation: Weather application

A complete implementation pattern for building a Cloudflare Worker that retrieves a user's geographic location and fetches corresponding weather data from an external API.

When To Use

Use when you need to implement a Cloudflare Worker that detects a user's location to provide localized data like weather information.

Reference Files

FileContainsUse For
SKILL.mdEntry point: scope, routing table, and workflow.Start here.
docs/workers-examples-geolocation-app-weather-application-workflow-guide.mdA guide demonstrating how to build a Cloudflare Workers application that fetches weather data based on user geolocation.Questions about a guide demonstrating how to build a Cloudflare Workers application that fetches weather data based on user geolocation.
examples/workers-examples-geolocation-app-weather-application-cloudflare-workers-.textA Cloudflare Workers script that uses request geolocation data to fetch and display weather information from an external API.Exact payloads, commands, or snippets shown in A Cloudflare Workers script that uses request geolocation data to fetch and display weather information from an exter...
examples/workers-examples-geolocation-app-weather-application-cloudflare-workers--2.textA Cloudflare Workers script that uses request geolocation data to fetch and display weather information from an external API.Exact payloads, commands, or snippets shown in A Cloudflare Workers script that uses request geolocation data to fetch and display weather information from an exter...
examples/workers-examples-geolocation-app-weather-application-cloudflare-workers--3.textA Hono-based Cloudflare Worker implementation that uses geolocation data to fetch and display air quality information from the WAQI API.Exact payloads, commands, or snippets shown in A Hono-based Cloudflare Worker implementation that uses geolocation data to fetch and display air quality information...
examples/workers-examples-geolocation-app-weather-application-cloudflare-workers--4.textA Python implementation of a Cloudflare Worker that uses request geolocation data to fetch and display weather information.Exact payloads, commands, or snippets shown in A Python implementation of a Cloudflare Worker that uses request geolocation data to fetch and display weather inform...

What This Skill Covers

  • Geolocation: Weather application
  • Main sections: Tags.

Workflow

  1. Open the most relevant file under docs/ for the exact documented workflow and wording.
  2. Open schemas/ files for exact structured contracts.
  3. Open examples/ files for concrete requests, commands, snippets, and manifests.
  4. Do not add behavior or configuration that is not present in the attached source files.

Canonical source: https://developers.cloudflare.com/workers/examples/geolocation-app-weather