weatherkit

Fetch current conditions, hourly and daily forecasts, and alerts via WeatherKit.

Updated Apr 19, 2026
One-click install
npx skills add https://github.com/femitz/flyby --skill weatherkit-femitz
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: weatherkit
Source: https://github.com/femitz/flyby/tree/main/.agents/skills/weatherkit
Command: npx skills add https://github.com/femitz/flyby --skill weatherkit-femitz

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

WeatherKit provides a standardized way to fetch current conditions, hourly and daily forecasts, and weather alerts, including required attribution, for iOS apps.

Core Features & Use Cases

  • Fetch current weather, hourly forecasts, and daily outlook for a given location.
  • Retrieve weather alerts and attribution data to display compliance notes in your UI.
  • Enable location-based weather queries and integration with SwiftUI dashboards or custom views.

Quick Start

Request weather data for a location using WeatherService to retrieve current conditions, hourly forecasts, and daily outlook.

Frequently Asked Questions about weatherkit

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fetch current conditions and hourly forecasts with WeatherKit in iOS?▼

Fetch current conditions and hourly forecasts with WeatherKit by requesting weather data for a specific location using WeatherService, which returns current, hourly, and daily datasets for your iOS app.

Do I need Swift 6.3 and iOS 26 to use WeatherService for location-based weather queries?▼

Yes, you need Swift 6.3 or later and iOS 26+ to use WeatherService for location-based weather queries that provide current conditions, hourly and daily forecasts, and alerts.

How do I display Apple Weather attribution in my SwiftUI dashboard?▼

Display Apple Weather attribution in your SwiftUI dashboard by retrieving attribution data alongside weather datasets from WeatherService, ensuring compliance notes are integrated directly into your custom views.

Can I retrieve weather alerts for a given location using WeatherKit?▼

Yes, you can retrieve weather alerts for a given location using WeatherKit, which provides alerts alongside current conditions, hourly forecasts, and daily outlook through the WeatherService API.

What is the best way to integrate WeatherKit forecasts into a SwiftUI app?▼

Integrate WeatherKit forecasts into a SwiftUI app by using WeatherService to fetch location-based current conditions, hourly and daily outlook, and attribution data to populate your SwiftUI dashboards or custom views.

Why does WeatherKit require attribution data for weather queries?▼

WeatherKit requires attribution data to display compliance notes in your UI, ensuring Apple Weather attribution is properly shown when you fetch current conditions, forecasts, and alerts across location-based queries.