Templates · Shopping

Add a recipe's groceries

Add only the missing ingredients of a recipe to the list, merged with what's already there.

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

Tools this skill expects

  • Find Recipes
  • Get Shopping List
  • Add Items

SKILL.md

Skills.skillsbundle/Skills/grocery-add/SKILL.md

---
name: grocery-add
description: Add the ingredients for a recipe to the shopping list. Use when the user asks to shop for, buy the ingredients for, or add a recipe to the list. Not for adding a single item.
---

# Add a recipe's groceries

Use the Find Recipes tool for the recipe the user named and ask if more than one matches.

Use the Get Shopping List tool. Skip items already on the list and pantry staples like salt and oil.

Use the Add Items tool with the rest and say how many were added.
Open in validator

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

View on GitHub · Improve this skill