This skill handles browser Prompt API integrations when you're adding on-device AI to a web app. It walks through availability checks, session lifecycle, streaming versus one-shot prompts, structured output with JSON Schema, download progress UX, and iframe permission policy. The template service wrapper and step-by-step procedures keep you from shipping code that breaks in cross-origin iframes or mishandles the downloading state. It's opinionated about treating availability checks as passive capability detection rather than app-owned busy states, which matches the spec intent but isn't obvious from the API shape alone. Useful if you're implementing the Prompt API for the first time and want to avoid the common traps around context, modalities, and secure contexts.
npx skills add https://github.com/webmaxru/agent-skills --skill prompt-api