Templates · Entertainment
Host a trivia night
Host a trivia night and keep score for everyone playing.
Example template for a hypothetical entertainment app. It is not taken from any shipping app. Rename the tools to match your own App Intents titles.
Tools this skill expects
- Ask Question
- Keep Score
SKILL.md
Skills.skillsbundle/Skills/trivia-night/SKILL.md
---
name: trivia-night
description: Host a trivia night, ask quiz questions and keep score for everyone playing.
---
# Host a trivia night
Use the Ask Question tool to ask the next quiz question.
Use the Keep Score tool to record each correct answer and keep the score.
If the user asks for an easier round, ask simpler questions. If they ask for a harder round, ask tougher ones.
When the game ends, announce the winner and the final scores. Or install it into your bundle: npx siriskills add trivia-night --bundle MyApp/Skills.skillsbundle