Templates · Music
Build a playlist
Make a playlist from a mood or activity and the user's own library.
Example template for a hypothetical music streaming app. It is not taken from any shipping app. Rename the tools to match your own App Intents titles.
Tools this skill expects
- Search Songs
- Get Library
- Create Playlist
SKILL.md
Skills.skillsbundle/Skills/playlist-build/SKILL.md
---
name: playlist-build
description: Create a playlist for a mood, activity, or occasion. Use when the user asks to make, build, or create a playlist or mix. Not for playing a single song.
---
# Build a playlist
Use the Get Library tool first and prefer songs the user already likes. Use the Search Songs tool to fill gaps.
Aim for about 25 songs unless the user gave a length. Name the playlist after what they asked for.
Use the Create Playlist tool, then offer to play it. Or install it into your bundle: npx siriskills add playlist-build --bundle MyApp/Skills.skillsbundle