Templates · Travel

Check your passport before a trip

From "is my passport still valid for my trip" to a clear yes or a renewal warning, using the trip's return date.

Example template for a hypothetical travel planner app. It is not taken from any shipping app. Rename the tools to match your own App Intents titles.

Tools this skill expects

  • Get Passport
  • Get Upcoming Trips

SKILL.md

Skills.skillsbundle/Skills/passport-check/SKILL.md

---
name: passport-check
description: Check the user's passport expiry before a trip and warn if it runs out within six months of travelling or needs renewal. Use when the user asks whether their passport is still valid for a trip, when it expires, or whether they need to renew it. Not for visa rules or booking travel.
---

# Check your passport before a trip

1. Use the Get Passport tool to read the expiry date. If the user has no passport saved, say so and stop.
2. Use the Get Upcoming Trips tool to find the next trip and its return date. If there is no upcoming trip, just report the expiry date and how many months are left.
3. If the passport expires within six months after the return date, say it needs renewal before travelling and suggest starting the renewal now.
4. Otherwise, confirm the passport is valid for the trip and give the expiry date.

## Don't

- Don't give visa advice. Expiry is not the same as a visa requirement.
- Don't guess the expiry date if the passport is not on file.
Open in validator

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

View on GitHub · Improve this skill

Why this works

It encodes the six-month rule. Many destinations require a passport to stay valid for six months after travel, so the skill compares the expiry date against the trip’s return date instead of just reading the date back.

It stays in its lane. Expiry is not a visa requirement, so the skill says so and does not give visa advice.