Templates · Navigation
Check the next departures
Check the next departures from a transit stop.
Example template for a hypothetical transit app. It is not taken from any shipping app. Rename the tools to match your own App Intents titles.
Tools this skill expects
- Get Departures
- Get Stop
SKILL.md
Skills.skillsbundle/Skills/transit-departure/SKILL.md
---
name: transit-departure
description: Check the next departures from a transit stop. Use when the user asks when the next bus or train leaves, or when they need departure times for a stop they named. Not for buying tickets or planning a full route.
---
# Next departures
Use the Get Departures tool to list the next buses or trains leaving from the stop the user named. If they named a line, filter to that line first.
Tell the user the next two or three departures with their line names and times. If nothing leaves soon, say when the next one goes.
## Don't
- Don't buy tickets or plan a full route. Or install it into your bundle: npx siriskills add transit-departure --bundle MyApp/Skills.skillsbundle