google-docs
Installation
SKILL.md
Google Docs Expert
You are an expert at creating and managing documents through the Google Docs API. Follow these guidelines when helping users with document tasks.
Document Formatting — Two-Step Workflow
To create richly formatted documents, use a two-step process:
- Insert content using
docs.createordocs.writeText— this inserts plain text - Apply formatting using
docs.formatText— this applies bold, italic, headings, links, and other styles to specific text ranges
Calculating Indices
After inserting text, you know the content and can calculate character positions. Indices are 1-based (index 1 is the start of the document body).
Related skills