Перейти к содержанию
Skillpedia
Анализ и таблицы15k · #11017

google-sheets

Что он делает

Скилл создаёт и оформляет Google Sheets, включая диаграммы и правила ввода данных. Он нужен людям, которые создают таблицы, трекеры и простые дашборды.

Когда использовать

  • ✓Когда вы просите агента создать таблицу или дашборд в Google Sheets.
  • ✓Когда в Google Sheets нужно добавить или исправить диаграмму.
  • ✓Когда вы хотите оформить ячейки, добавить проверку данных или переупорядочить листы и строки.

Ссылка на скилл

https://github.com/cursor/plugins/blob/main/third_party/google-sheets/skills/google-sheets/SKILL.md

Скопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.

Как использовать

Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.

Готовое сообщение для вставки

Используй этот скилл, чтобы помочь мне: https://github.com/cursor/plugins/blob/main/third_party/google-sheets/skills/google-sheets/SKILL.md Прочитай файл SKILL.md по этой ссылке и следуй его инструкциям в моей задаче.
Хотите, чтобы ваш ИИ сам находил такие скиллы?Установите бесплатный MCP Skillpedia: одна строка, и перед каждой задачей он ищет среди 15 000+ скиллов.Установить за 1 минуту →

Пример запроса к вашему ИИ

“Сделай трекер ежемесячных расходов в Google Sheets со столбчатой диаграммой сумм по категориям.”

5 новых скиллов в неделю. 1 минута чтения.

Как это работает

Агент сначала записывает значения, затем применяет оформление, а диаграммы добавляет в последнюю очередь. Для каждого изменения он использует названия листов и ID таблицы, чтобы точно попасть в нужное место.

Технический текст (оригинальный SKILL.md)

Оригинальный текст автора на английском, прямо с GitHub.

Google Sheets authoring

Two coordinate systems, on purpose

  • VALUE tools (read_range, write_range, append_rows, clear_range) address a TAB TITLE plus A1 cells: {sheet: "Data", cells: "A1:B4"}.
  • STRUCTURE/FORMAT tools (format_cells, set_borders, merge_cells, add_chart, add_conditional_formatting, insert_rows_or_columns, delete_rows_or_columns, freeze_rows_or_columns, sort_range, set_data_validation, set_basic_filter, add_banding, set_column_width, rename_sheet_tab, delete_sheet_tab) address the numeric sheetId.

get_spreadsheet returns both (each tab's title AND sheetId) with no cell data - call it first and keep the mapping. A new tab's sheetId is in add_sheet_tab's reply (replies[0].addSheet.properties.sheetId).

Sequencing a styled sheet: values first, then format, chart last

  1. create_spreadsheet (optionally with named tabs; it cannot target a folder - move it after with google-drive google_drive_move_or_rename).
  2. write_range the data with parseInput: true when values include numbers, dates, or formulas (default false stores everything as literal text - a top source of "chart is empty" bugs).
  3. Format like a real dashboard, not a bare grid:
    • format_cells bold header with a fill color and white text; number patterns on value columns ($#,##0, 0.0%).
    • freeze_rows_or_columns the header row.
    • set_basic_filter over the table range - filter dropdowns are what make it read as a data table.
    • set_borders (outer heavier than inner) or add_banding for alternating row colors; set_column_width so nothing clips.
    • add_conditional_formatting for thresholds worth seeing at a glance.
  4. add_chart LAST, after the data exists.

Charts

  • In add_chart, the FIRST range is the domain (x axis / pie labels) and later ranges are the series, one column each; anchoring a chart to the wrong or reversed ranges is the most common chart bug. All ranges live on the same tab as the chart. headerCount: 1 uses the first cells as series labels - include the header row in each range when you set it.
  • Place the chart over empty cells beside or below the table, not on top of the data it plots.
  • A wrong chart is fixed in place, not worked around: get_spreadsheet lists every tab's charts (chartId, title), update_chart replaces a chart's spec keeping its position, delete_chart removes one. Never add a second chart to paper over a bad first one.

Named and protected ranges

  • add_named_range makes formulas self-documenting (=SUM(Budget) instead of =SUM(B2:B13)); write the formula with parseInput: true. Names cannot look like cell references.
  • protect_range guards headers and formula cells (warningOnly: true by default warns editors; false locks them). Protect AFTER the last write to that range, or your own writes fight the protection.
  • get_spreadsheet lists both, with the ids delete_named_range and unprotect_range need.

Pitfalls

  • No revision guard anywhere: last write wins. Read before writing when a collaborator may be editing.
  • merge_cells keeps only the top-left value; write the text after merging.
  • sort_range rewrites cell positions; sort before adding formulas that reference the range, and exclude the header row from the sorted range.
  • insert_rows_or_columns / delete_rows_or_columns positions are 1-based (A=1); deletes are immediate and not undoable through the API.
  • find_replace_sheet is literal (never regex here) and can search inside formulas with searchFormulas: true.
  • Whole-tab reads can blow the byte cap; bound cells (e.g. "1:2000") on tabs you have not sized and follow nextCells when truncated.

Verify your work

read_range for values (FORMATTED_VALUE shows what the user sees; UNFORMATTED_VALUE the raw numbers - use it to confirm numbers are numbers, not text). get_spreadsheet for structure: tabs, charts, named ranges, protections. google-drive google_drive_export_file (pdf renders every tab including charts and formatting) when the visual result matters.

Частые вопросы

Почему моя диаграмма пустая?

Часто числа записаны как текст. Скилл может записывать значения так, чтобы числа и даты оставались настоящими значениями.

Может ли он добавить условное форматирование?

Да. Скилл охватывает условное форматирование, проверку данных и фильтры.

Может ли он защищать диапазоны?

Да. Именованные и защищённые диапазоны входят в скилл.

Подробности

Оригинальное описание автора

Build and edit Google Sheets with the google-sheets tools - values, formatting, charts, conditional formatting, structure, validation, named and protected ranges. Use when creating a spreadsheet or dashboard, formatting cells, adding or fixing charts, or reorganizing tabs and rows.

repo: cursor/plugins

Популярность

Звёзды на GitHub
15k
Место в рейтинге
#11017
Лицензия
—
Обновлён
31.10.2026

Полезен ли этот скилл?

0

Войдите , чтобы голосовать.

Комментарии

  • …

Другие скиллы из этого репозитория

Похожие скиллы