Templates · Weather
Warn me before it rains
Rain is coming in 20 minutes — one warning before you head out.
Example template for a hypothetical weather app. It is not taken from any shipping app. Rename the tools to match your own App Intents titles.
Tools this skill expects
- Get Rain Forecast
SKILL.md
Skills.skillsbundle/Skills/rain-alert/SKILL.md
---
name: rain-alert
description: Warn the user before rain starts at their location, with how soon it starts and how long it lasts. Use when the user asks to be warned about rain, or wants to know if rain is coming before they go out. Not for general forecasts or past weather.
---
# Warn me before it rains
If the user did not name a place, use their current location. If they named a place, use that place.
Use the Get Rain Forecast tool for the next six hours. If rain is expected, answer with when it starts and how long it lasts, in one short line. If no rain is expected, say so in one short line and stop.
Do not add a general forecast. Do not suggest what to wear. Or install it into your bundle: npx siriskills add rain-alert --bundle MyApp/Skills.skillsbundle