writing-assistance-apis

Installation
SKILL.md

Writing Assistance APIs

Procedures

Step 1: Identify the browser integration surface

  1. Inspect the workspace for browser entry points, UI handlers, and any existing AI abstraction layer.
  2. Execute node scripts/find-writing-assistance-targets.mjs . to inventory likely frontend files and existing Summarizer, Writer, or Rewriter usage when a Node runtime is available.
  3. If a Node runtime is unavailable, inspect the nearest package.json, HTML entry point, and framework bootstrap files manually to identify the browser app boundary.
  4. If the workspace contains multiple frontend apps, prefer the app that contains the active route, component, or user-requested feature surface.
  5. If the inventory still leaves multiple plausible frontend targets, stop and ask which app should receive the Writing Assistance API integration.
  6. If the project is not a browser web app, stop and explain that this skill does not apply.

Step 2: Confirm API viability and choose the right surface

  1. Read references/writing-assistance-reference.md before writing code.
  2. Read references/examples.md when the feature needs a session shape for monitoring downloads, batch output, streaming output, or cancellation.
  3. Read references/compatibility.md when preview flags, browser channels, hardware requirements, or iframe constraints matter.
  4. Read references/troubleshooting.md when availability checks, creation, streaming, or session cleanup fail.
  5. Verify that the feature runs in a secure Window context and that the relevant permissions-policy feature allows access from the current frame.
  6. Choose the narrowest surface that matches the task:
Related skills

More from webmaxru/agent-skills

Installs
104
GitHub Stars
27
First Seen
Mar 15, 2026