Templates · Business

Log business miles

Log the miles you drove for work and keep a running total for reimbursement.

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

Tools this skill expects

  • Log Miles

SKILL.md

Skills.skillsbundle/Skills/mileage-log/SKILL.md

---
name: mileage-log
description: Log the miles you drove for work and keep a running total for reimbursement. Use when the user says how far they drove for a business trip. Not for directions, and not for submitting an expense.
---

# Log business miles

Use the Log Miles tool to record the miles the user drove for work, with the date and the purpose of the trip. If the user did not name the miles, ask how far they drove before recording anything.

Report the running total for the current month after each entry. If the user asks for a reimbursement amount and did not name a mileage rate, ask for the rate first and do not invent one.

## Don't

- Don't invent miles, a date, or a rate that the user did not give.
- Don't give directions; that is a different skill.
- Don't submit an expense; that is a different skill.
Open in validator

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

View on GitHub · Improve this skill