google-sheets
できること
このスキルは、グラフやデータ入力のルールを含め、Googleスプレッドシートを作成し書式を整えます。トラッカーや簡単なダッシュボードを作る人向けです。
使う場面
- ✓Googleスプレッドシートで、表やダッシュボードを作るよう頼むとき。
- ✓Googleスプレッドシートのグラフを追加または修正する必要があるとき。
- ✓セルの書式、データの入力規則、タブや行の整理がほしいとき。
スキルのリンク
https://github.com/cursor/plugins/blob/main/third_party/google-sheets/skills/google-sheets/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“毎月の経費のGoogleスプレッドシートのトラッカーを作ってください。カテゴリ別の合計の棒グラフを付けてください。”
毎週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 numericsheetId.
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
create_spreadsheet(optionally with named tabs; it cannot target a folder - move it after with google-drivegoogle_drive_move_or_rename).write_rangethe data withparseInput: truewhen values include numbers, dates, or formulas (default false stores everything as literal text - a top source of "chart is empty" bugs).- Format like a real dashboard, not a bare grid:
format_cellsbold header with a fill color and white text; number patterns on value columns ($#,##0,0.0%).freeze_rows_or_columnsthe header row.set_basic_filterover the table range - filter dropdowns are what make it read as a data table.set_borders(outer heavier than inner) oradd_bandingfor alternating row colors;set_column_widthso nothing clips.add_conditional_formattingfor thresholds worth seeing at a glance.
add_chartLAST, 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: 1uses 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_spreadsheetlists every tab's charts (chartId, title),update_chartreplaces a chart's spec keeping its position,delete_chartremoves one. Never add a second chart to paper over a bad first one.
Named and protected ranges
add_named_rangemakes formulas self-documenting (=SUM(Budget)instead of=SUM(B2:B13)); write the formula withparseInput: true. Names cannot look like cell references.protect_rangeguards headers and formula cells (warningOnly: trueby default warns editors;falselocks them). Protect AFTER the last write to that range, or your own writes fight the protection.get_spreadsheetlists both, with the idsdelete_named_rangeandunprotect_rangeneed.
Pitfalls
- No revision guard anywhere: last write wins. Read before writing when a collaborator may be editing.
merge_cellskeeps only the top-left value; write the text after merging.sort_rangerewrites 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_columnspositions are 1-based (A=1); deletes are immediate and not undoable through the API.find_replace_sheetis literal (never regex here) and can search inside formulas withsearchFormulas: true.- Whole-tab reads can blow the byte cap; bound
cells(e.g. "1:2000") on tabs you have not sized and follownextCellswhen 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
- ライセンス
- —
- 更新日
- 2026/10/31
コメント
- …
このリポジトリの他のスキル
advisor
15k重要な判断の前や、エラーで行き詰まったときなど、要所でより強力な第二のモデルに相談させます。機能をオンにしている場合のみ動きます。
check-agent-compatibility
15kAIコーディングエージェントがリポジトリを起動し、検証し、文書化できるかを包括的に確認し、主な問題とともに1つの互換性スコアを返します。
cli-for-agents
15kAIエージェントがプロンプトなしで実行でき、わかりやすいヘルプ文と例を備えるように、コマンドラインツールを設計または確認する方法をエージェントに教えます。
continual-learning
15k過去のチャットを確認する作業を専用のメモリ更新エージェントに任せることで、AGENTS.mdのメモを最新に保ちます。
似ているスキル
gitcrawl
394k保存されたGitHubのイシューとプルリクエストのアーカイブを検索し、重複をまとめ、GitHub上の現在の状態を確認するようエージェントを支援します。
slacrawl
394kローカルのSlackアーカイブ内のメッセージを検索して件数を数え、アーカイブの新しさを確認し、必要に応じて更新するようエージェントを支援します。
goplaces
394kGoogle Placesを使って、場所を検索し、詳細や口コミを取得し、場所の名前を解決するようエージェントを支援します。スクリプト用にJSON出力もできます。