weatherkit

Fetch current, hourly, and daily weather data with WeatherKit.

Updated Jun 5, 2026
One-click install
npx skills add https://github.com/harshav167/build-ios-apps --skill weatherkit-harshav167
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: weatherkit
Source: https://github.com/harshav167/build-ios-apps/tree/main/skills/weatherkit
Command: npx skills add https://github.com/harshav167/build-ios-apps --skill weatherkit-harshav167

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

WeatherKit integration is required to fetch reliable forecast data and ensure Apple attribution across iOS apps. This skill provides a centralized way to obtain current conditions, hourly and daily forecasts, weather alerts, and attribution data to power location-aware experiences.

Core Features & Use Cases

  • Fetch current weather, hourly and daily forecasts, and weather alerts for a location.
  • Retrieve and display Apple Weather attribution using WeatherKit.
  • Access historical statistics and offer analytics-friendly data for UX improvements.

Quick Start

Ask WeatherKit to fetch current, hourly, and daily data for a location and display the attribution.

Frequently Asked Questions about weatherkit

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

FAQPage Schema
How do I fetch current weather and hourly forecasts for a location in iOS?

To fetch current weather and hourly forecasts in iOS, use WeatherKit to request currentWeather and hourlyForecast datasets for a specific location. This skill handles the data fetching logic and provides centralized access to reliable forecast data.

How do I display Apple Weather attribution in my iOS app?

Displaying Apple Weather attribution requires retrieving the attribution dataset from WeatherKit. This skill enables you to fetch the necessary attribution data and provides guidance on properly displaying it within your location-aware iOS app.

What WeatherKit datasets are available for iOS weather apps?

Available WeatherKit datasets include currentWeather, hourlyForecast, dailyForecast, weatherAlerts, and attribution. This skill supports fetching all these datasets to power comprehensive weather experiences in iOS apps.

Can I get weather alerts for a specific location using WeatherKit?

Yes, you can retrieve weather alerts for a specific location using the weatherAlerts dataset in WeatherKit. This skill enables fetching active alerts alongside current conditions and forecasts to keep users informed of severe weather.

Does WeatherKit provide historical weather statistics for analytics?

WeatherKit provides access to historical statistics and analytics-friendly data for UX improvements. This skill helps retrieve this data to analyze past weather conditions and enhance your app's user experience.

What is the best way to handle WeatherKit data caching in iOS?

The best way to handle WeatherKit data caching is to store fetched currentWeather, hourlyForecast, and dailyForecast datasets locally. This skill provides guidance on data handling and caching strategies to optimize app performance.