Templates · Productivity

Summarize a document

Summarize the document on screen or by name, in the length the user wants.

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

Tools this skill expects

  • Find Documents
  • Get Document Text

SKILL.md

Skills.skillsbundle/Skills/doc-summary/SKILL.md

---
name: doc-summary
description: Summarize one of the user's documents. Use when the user asks to summarize, sum up, or give the gist of a document, file, or note. Not for editing the document.
---

# Summarize a document

If a document is open on screen, use it. Otherwise use the Find Documents tool with the name or topic the user gave and ask if more than one matches.

Use the Get Document Text tool. Keep the summary to three sentences unless the user asks for more.
Open in validator

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

View on GitHub · Improve this skill