Software Development

Connector WeatherAPI

MANDATORY recipe for every Caffeine build that reads weather data from a canister. The supported path is the `weatherapi-client` mops package (WeatherAPI.com) over outbound HTTPS, authenticated with a query-string API key. Hand-rolling `ic.http_request` calls to `api.weatherapi.com` is a FORBIDDEN anti-pattern — it bypasses the non-replicated-outcall safeguard (WeatherAPI bodies carry per-request clocks and fail consensus), the generated JSON decoding, and the API-key handling. Load this skill whenever the user, spec, or any prior task mentions weather, forecast, temperature, humidity, wind, rain, snow, conditions, sunrise, sunset, moon phase, astronomy, timezone, IP geolocation, marine or tide forecasts, or location autocomplete — and BEFORE writing any code that touches a weather endpoint.

Publisher / source
caffeinelabs/skills (found on skills.sh)
Upstream record
caffeinelabs/skills
Version
Version 3
Published
Publication review
Approved for publication · recorded passed scan 2026-11-02
Content fingerprint
a0e89362c97c542a543757eb4972e771c105e2ffb766c63bfed9440bb34b96db