Agent skill · Data & Analytics

weatherkit

Fetch WeatherKit current, minute, hourly, and daily forecasts; weather alerts; iOS 18+ changes, historical comparisons, summaries, and statistics; and required Apple Weather attribution. Use when integrating weather data, showing forecasts or alerts, caching WeatherKit responses, displaying attribution, or reviewing WeatherKit query limits in iOS apps.

Derek Pearson935★ · +23/wk · 1 repos on radarProfile →
claude-codecodexcursorNOASSERTION
Install
npx skills add dpearson2699/swift-ios-skills --skill weatherkit --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 3
SKILL.md size: 14 KB
Bundled scripts: none
Path: skills/weatherkit/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 963 · +28 this week
Language: Python
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# WeatherKit Fetch current conditions, hourly and daily forecasts, weather alerts, and historical statistics using `WeatherService`. Display required Apple Weather attribution. ## Contents - [Setup](#setup) - [Fetching Current Weather](#fetching-current-weather) - [Forecasts](#forecasts) - [Weather Alerts](#weather-alerts) - [Selective Queries](#selective-queries) - [Context Queries](#context-queries) - [Attribution](#attribution) - [Availability](#availability) - [Common Mistakes](#common-mistakes) - [Review Checklist](#review-checklist) - [References](#references) ## Setup ### Project Configuration 1. Enable the **WeatherKit** capability in Xcode (adds the entitlement) 2. Enable WeatherKit for your App ID in the Apple Developer portal 3. Add `NSLocationWhenInUseUsageDescription` to Info.plist if using device location 4. WeatherKit requires an active Apple Developer Program membership ### Import ```swift import WeatherKit import CoreLocation ``` ### Creating the Service Use the shared singleton or create an instance. `WeatherService` conforms to `Sendable`; keep app cache and UI state isolated separately. ```swift let weatherService = WeatherService.shared // or let weatherService

What's inside
Steps it walks through
  1. Contents
  2. Setup
  3. Project Configuration
  4. Import
  5. Creating the Service
  6. Fetching Current Weather
  7. Forecasts
  8. Hourly Forecast
  9. Daily Forecast
  10. Custom Date Range
  11. Weather Alerts
  12. Selective Queries
  13. Single Dataset
  14. Multiple Datasets
Ships with 2 files
  • evals/evals.json
  • references/weatherkit-patterns.md
More from swift-ios-skills
All skills →
About this skill
What does the weatherkit skill do?

Fetch WeatherKit current, minute, hourly, and daily forecasts; weather alerts; iOS 18+ changes, historical comparisons, summaries, and statistics; and required Apple Weather attribution. Use when integrating weather data, showing forecasts or alerts, caching WeatherKit responses, displaying attribution, or reviewing WeatherKit query limits in iOS apps.

How do I install it?

Run `npx skills add dpearson2699/swift-ios-skills --skill weatherkit --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From dpearson2699/swift-ios-skills, a repository with 963 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going