google-docs
Что он делает
Скилл создаёт и правит Google Docs с оформлением: стилями, списками и таблицами. Он нужен людям, которым нужны аккуратные документы в Google Drive.
Когда использовать
- ✓Когда вы просите агента создать оформленный Google Doc.
- ✓Когда нужно отредактировать текст или добавить списки, таблицы или изображения в существующий Google Doc.
- ✓Когда вы хотите применить стили абзацев или символов к документу.
Ссылка на скилл
https://github.com/cursor/plugins/blob/main/third_party/google-docs/skills/google-docs/SKILL.mdСкопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.
Как использовать
Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.
Готовое сообщение для вставки
Для Claude Code, Codex или Cursor: запустите в папке проекта, и скилл установится.
Скачайте SKILL.md и положите его в папку скиллов вашего агента.
Пример запроса к вашему ИИ
“Создай оформленный Google Doc из моих заметок со встречи, с заголовками и маркированным списком задач.”
5 новых скиллов в неделю. 1 минута чтения.
Как это работает
Агент находит точный текст в документе и применяет стили или списки к этому диапазону. Сначала он читает структуру документа, поэтому правки не сдвигают не те абзацы.
Технический текст (оригинальный SKILL.md)
Оригинальный текст автора на английском, прямо с GitHub.
Google Docs authoring
Locate text, never compute indexes (the #1 source of bugs)
Docs edits address zero-based UTF-16 index ranges within one tab, and every write SHIFTS later indexes. Guessed or stale indexes silently hit the wrong paragraphs - the classic symptom is two lists merging into one continued numbering. The tools remove the need for index math:
find_textreturns FRESH{start, end}ranges for exact text - the direct source of indexes forapply_text_style,apply_paragraph_style,delete_content, andset_paragraph_format. Locate, then edit, in back-to-back calls.create_listtakesfirstItemText/lastItemTextanchors and resolves the range itself: name the first and last item paragraphs and no index ever touches your hands. Use onecreate_listper list with the right preset (BULLET_* for bullets, NUMBERED_* for numbers); never stretch one call across two visually separate lists.
When a range must come from structure instead of a phrase (styling a whole
paragraph, addressing a table), read it from read_document elements: a
paragraph's {start, end} is the range for paragraph-level tools. END IS
EXCLUSIVE: one short misses the last character, one long styles the
character after the phrase (the classic italic-or-link off-by-one).
When raw indexes are unavoidable: read_document first, compute ONE edit,
pass requiredRevisionId, apply, and re-read before the next positional
edit. Order multi-part positional work BACK-TO-FRONT (highest index first)
when re-reading between steps is too expensive; earlier ranges stay valid.
Creating a document
create_document makes a BLANK doc (its API ignores content), so plan:
- Content known up front: prefer google-drive
google_drive_create_filewith Markdown (target_mime_type: ...document), which imports headings, lists, and tables in one call and can target a folder. - Building incrementally:
create_document, theninsert_textwithindexomitted to APPEND each paragraph; append mode reads the tail itself and is revision-guarded automatically.paragraphStylestyles the new paragraphs andbold/italicstyle the inserted text in the same call, so a well-structured document is a sequence of appends with no styling pass. - Doc creates cannot set a parent folder. When placement matters, create
and then google-drive
google_drive_move_or_renamewithdestination_folder_id.
Structure is not optional
A document without hierarchy reads as a text dump. Default shape for any
report/memo/notes request: a TITLE paragraph, an italic byline or date line,
HEADING_2 per section, short body paragraphs with bold on the phrases that
matter, and bulleted lists for enumerations. Use insert_text's
paragraphStyle/bold/italic arguments as you write rather than styling
afterwards.
Styling
- Character styling (
apply_text_style): bold/italic/underline/strike, fontSize, fontFamily, textColor/backgroundColor as#RRGGBB, linkUrl. Exclusive END index: to style one paragraph without its trailing newline, useend - 1from the read. - Paragraph styling:
apply_paragraph_stylefor named styles (TITLE/HEADING_1..6),set_paragraph_formatfor alignment, indents, and line spacing (percent, 100 = single). - Lists:
create_listover the paragraphs' range; each newline-separated paragraph becomes one item. Insert the plain lines first, then bullet them. - The preset is part of correctness: enumerations get a BULLET_* preset by default; NUMBERED_* only when the content is ordered (steps, rankings) or the request says numbered.
- Before bulleting, check the read for paragraphs that ALREADY show a
leading bullet - text appended directly after a list inherits its
membership, and
create_listover such paragraphs restyles the ORIGINAL list, continuing its numbering (a second list showing 4, 5, 6). Strip first:create_listwithremove: trueover exactly the new paragraphs, then apply the wanted preset.
Tables and images
insert_tableinserts an EMPTY grid. To fill it: re-read (cells appear with their own index ranges) andinsert_textinto cells from the LAST cell to the first, so earlier cell indexes stay valid.- Style a table AFTER filling it, addressing it by the table element's
startfromread_document:set_table_cell_shadingthe header row (pick the row's text color against that fill),merge_table_cellsfor a title cell spanning columns (top-left conten
Частые вопросы
Почему списки иногда сливаются?
Угаданные позиции сдвигаются после каждой правки, поэтому скилл находит свежие диапазоны текста, прежде чем оформлять содержимое.
Может ли он добавлять изображения и таблицы?
Да. Скилл охватывает таблицы, изображения и колонтитулы.
Нужен ли аккаунт Google?
Да. Он работает через инструменты Google Docs, подключённые к вашему аккаунту Google.
Подробности
Оригинальное описание автора
Author and edit Google Docs with the google-docs tools - structured writing, character and paragraph styling, lists, tables, images, headers/footers. Use when creating a formatted document, editing document content, or applying styles.
repo: cursor/plugins
Популярность
- Звёзды на GitHub
- 15k
- Место в рейтинге
- #11015
- Лицензия
- —
- Обновлён
- 31.10.2026
Комментарии
- …
Другие скиллы из этого репозитория
advisor
15kПозволяет агенту советоваться с более сильной второй моделью на ключевых этапах, например перед важным решением или при застревании на ошибке.
check-agent-compatibility
15kПроверяет, могут ли ИИ-агенты для кода запустить, проверить и задокументировать репозиторий, и возвращает одну оценку совместимости с главными проблемами.
cli-for-agents
15kУчит агента проектировать или проверять инструменты командной строки, чтобы ИИ-агенты могли запускать их без запросов, с понятной справкой и примерами.
continual-learning
15kПоддерживает ваши заметки AGENTS.md в актуальном виде, передавая работу по просмотру прошлых чатов отдельному агенту памяти.
Похожие скиллы
feishu-doc
394kПомогает агенту читать, создавать и редактировать облачные документы Feishu, включая текст, изображения и таблицы, с помощью инструмента для документов.
feishu-drive
394kПозволяет агенту просматривать, упорядочивать и комментировать файлы в облачной папке Feishu, к которой предоставлен доступ боту.
feishu-perm
394kПомогает агенту проверить и изменить, кто может получить доступ к файлу Feishu, выбирая наименьшее право, которое соответствует вашему запросу.