google-docs
Ce qu’il fait
La compétence crée et modifie des Google Docs avec une mise en forme comme les styles, les listes et les tableaux. Elle s'adresse aux personnes qui ont besoin de documents soignés dans Google Drive.
Quand l’utiliser
- ✓Quand vous demandez à l'agent de créer un Google Doc mis en forme.
- ✓Quand vous devez modifier du texte ou ajouter des listes, des tableaux ou des images dans un Google Doc existant.
- ✓Quand vous voulez appliquer des styles de paragraphe ou de caractère à un document.
Lien du skill
https://github.com/cursor/plugins/blob/main/third_party/google-docs/skills/google-docs/SKILL.mdCopiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.
Comment l’utiliser
Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.
Message prêt à coller
Pour Claude Code, Codex ou Cursor : lancez-la dans le dossier du projet et le skill est installé.
Téléchargez le SKILL.md et placez-le dans le dossier de skills de votre agent.
Exemple de demande à votre IA
“Crée un Google Doc mis en forme à partir de mes notes de réunion, avec des titres et une liste à puces des actions à mener.”
5 nouveaux skills par semaine. 1 minute de lecture.
Comment ça marche
L'agent trouve le texte exact dans le document et applique les styles ou les listes à cette plage. Il lit d'abord la structure du document pour que les modifications ne décalent pas les mauvais paragraphes.
Contenu technique (SKILL.md original)
Texte original de l’auteur, en anglais, directement depuis 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
Questions fréquentes
Pourquoi les listes se fusionnent-elles parfois ?
Les positions devinées se décalent après chaque modification, donc la compétence repère les plages de texte à jour avant de styler le contenu.
Peut-elle ajouter des images et des tableaux ?
Oui. La compétence couvre les tableaux, les images, les en-têtes et les pieds de page.
Faut-il un compte Google ?
Oui. Elle fonctionne grâce aux outils Google Docs connectés à votre compte Google.
Détails
Description originale de l’auteur
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
Popularité
- Étoiles GitHub
- 15k
- Position au classement
- #11015
- Licence
- —
- Mis à jour
- 31/10/2026
Commentaires
- …
Autres skills de ce dépôt
advisor
15kPermet à votre agent de consulter un second modèle plus puissant à des moments clés, par exemple avant une grande décision ou face à une erreur bloquante, si vous l'activez.
check-agent-compatibility
15kVérifie si des agents de code IA peuvent démarrer, valider et documenter un dépôt, puis renvoie un score de compatibilité unique avec les principaux problèmes.
cli-for-agents
15kApprend à votre agent à concevoir ou revoir des outils en ligne de commande pour que les agents IA puissent les exécuter sans invites, avec une aide claire et des exemples.
continual-learning
15kMaintient vos notes AGENTS.md à jour en confiant la revue des anciennes conversations à un agent de mise à jour de mémoire dédié.
Skills similaires
feishu-doc
394kAide votre agent à lire, créer et modifier des documents cloud Feishu, y compris du texte, des images et des tableaux, grâce à l'outil de document.
feishu-drive
394kPermet à votre agent de parcourir, organiser et commenter des fichiers d'un dossier cloud Feishu partagé avec le bot.
feishu-perm
394kAide votre agent à vérifier et modifier qui peut accéder à un fichier Feishu, en choisissant la plus petite autorisation qui répond à votre demande.