Templates · Weather

Should I bring an umbrella

Answer the practical question, not the forecast table, for where the user is going.

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 Forecast
  • Get Calendar Places

SKILL.md

Skills.skillsbundle/Skills/weather-plan/SKILL.md

---
name: weather-plan
description: Answer practical weather questions such as whether to bring an umbrella or a jacket. Use when the user asks if they need an umbrella, coat, or sunscreen, or whether it will rain later. Not for long-range forecasts.
---

# Should I bring an umbrella

If the user didn't name a place, use the Get Calendar Places tool to find where they'll be today, else use their current location.

Use the Get Forecast tool for those hours. Answer yes or no first, then one reason.
Open in validator

Or install it into your bundle: npx siriskills add weather-plan --bundle MyApp/Skills.skillsbundle

View on GitHub · Improve this skill