agentleFS
0mlkrizzz655335v0mlkrizzz655335v/claude-skills-zh/skills/docs-office/google-sheets/SKILL.md

google-sheets

Skill2 starsChanged 5 months agoMITView on GitHub

Google Sheets 精确编辑。按单元格区域精度分析、编辑在线表格,处理公式、图表、数据清洗。

We split this skill into the rules it gives an agent

25 rules. 0 are common, 18 are distinctive, and 7 are very specific to this project.

  • 0

    Common

    Most of the 16 edited versions we read keep these.

  • 18

    Distinctive

    This author's own choices. Worth a look.

  • 7

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill to keep spreadsheet work grounded in the exact spreadsheet, sheet, range, headers, and formulas that matter.

    line 8
  2. Distinctive:

    Use the request, conversation, and relevant sources to resolve the topic, audience, purpose, and material analytical definitions.

    line 12
  3. Distinctive:

    Read the references needed for the active operation and reuse guidance already loaded in the conversation while it remains current.

    line 25
  4. Very specific:

    If the user has not provided explicit style direction, read references/style-profiles.md and apply the appropriate Google Sheets …

    line 26
  5. Distinctive:

    If neither skill is installed, create the spreadsheet directly with Google Sheets MCP.

    line 33
  6. Distinctive:

    Prefer one simple proven workflow over a large tree of recovery branches.

    line 44
  7. Distinctive:

    When a task matches a known successful pattern, follow that pattern directly instead of re-evaluating every possible fallback path.

    line 45
  8. Distinctive:

    Do not let accumulated edge-case guardrails turn a straightforward Sheets task into a long blocker-analysis exercise.

    line 46
  9. Very specific:

    Verify the sheet is clean, complete, native, and scannable per references/reference-visual-quality.md.

    line 54
  10. Distinctive:

    Stop once the verified workflow has succeeded.

    line 55
  11. Distinctive:

    If a simple verified workflow is viable, use it.

    line 57
  12. Distinctive:

    If Default Routing uses native Google Sheets reference-follow creation:

    line 63
  13. Very specific:

    If Default Routing uses the system spreadsheet plugin or skill like @spreadsheets or $Spreadsheets:

    line 69
  14. Very specific:

    Read the plugin/skill, e.g.

    line 70
  15. Very specific:

    If the new Sheet has explicit or reference-derived option/list/dropdown columns, read references/reference-batch-update-recipes.md before …

    line 72
  16. Distinctive:

    If Default Routing uses connector edit workflow:

    line 74
  17. Very specific:

    Before any direct live range read, cell read, or search_spreadsheet_rows, read references/reference-live-read-search-safety.md.

    line 77
  18. Distinctive:

    Read every task-specific file from the matrix below.

    line 78
  19. Distinctive:

    If the task spans multiple categories, read all matching files.

    line 79
  20. Distinctive:

    If uncertain, use the task-to-reference map or search reference headings to identify the missing guidance.

    line 80
  21. Distinctive:

    Read the references required by the active route before content edits.

    line 82
  22. Very specific:

    Use/create ChatGPT at My Drive root.

    line 91
  23. Distinctive:

    If the user only gives a title or title keywords, use the connector/app search path to identify candidate spreadsheets before asking for a …

    line 99
  24. Distinctive:

    Read spreadsheet metadata before deeper reads or writes.

    line 101
  25. Distinctive:

    Before each edit pass, identify the exact sheet, range, headers, formulas, and validation constraints being edited through connector reads.

    line 103

“Common” is measured: kept by at least 6 in 10 of the 16 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Google Sheets

Use this skill to keep spreadsheet work grounded in the exact spreadsheet, sheet, range, headers, and formulas that matter.

Clarification

Use the request, conversation, and relevant sources to resolve the topic, audience, purpose, and material analytical definitions. Ask only when missing information would materially change the result and cannot reasonably be inferred; otherwise proceed. Do not invent missing source facts.

When clarification is useful, ask one concise group of questions using an available question tool or a message. Reuse answers and choices already provided. If an optional question receives no answer, proceed with a stated reasonable assumption; required authorization or indispensable source facts cannot be supplied by a timeout.

Purpose Of This File

This file is intentionally minimal and only covers:

  1. routing to the right spreadsheet workflow
  2. stateful operation and mandatory routing to reference files
  3. live-read/search safety for direct connector calls

Detailed editing, formula, chart, upload, live-read/search, and batch-update rules live in references/. Read the references needed for the active operation and reuse guidance already loaded in the conversation while it remains current. If the user has not provided explicit style direction, read references/style-profiles.md and apply the appropriate Google Sheets destination default before authoring workbook formatting.

Default Routing

  1. New Google Sheet from a native Google Sheets reference or template URL: copy the entire source workbook with the Drive file-copy action, then trim or repair the copy. Treat a deep-linked gid as the initial view, not copy scope. Duplicate one source sheet only when the user explicitly requests a single-sheet extraction. Do not rebuild through .xlsx when chips, validation, formulas, rich links, or formatting matter.
  2. Other new Google Sheets creation: Inspect the available skills and plugins for the registered Spreadsheets capability. It may be exposed as the $Spreadsheets skill, the @Spreadsheets plugin, or the plugin URI plugin://spreadsheets@openai-primary-runtime. If found, load and follow its instructions.
    • If a system spreadsheet plugin or skill is installed, YOU MUST use it to create a local .xlsx. Then import the .xlsx into Drive as a native Google Sheets spreadsheet. For table-like option/list/dropdown columns, seed a valid row and add native table DROPDOWN columns post-import.
    • If neither skill is installed, create the spreadsheet directly with Google Sheets MCP.
  3. Existing Google Sheets edits: use Google Sheets MCP directly.

Return the Google Spreadsheet link as the primary deliverable; include a local .xlsx only when the user also requested it.

File Safety

Treat a provided Google Sheet as read-only unless the user explicitly asks to edit that file. When a task uses the Sheet as a reference, template, similar structure, or data source, copy it or create a separate Sheet, then verify the output spreadsheet ID differs before writing.

Canonical Workflow Bias

Prefer one simple proven workflow over a large tree of recovery branches. When a task matches a known successful pattern, follow that pattern directly instead of re-evaluating every possible fallback path. Do not let accumulated edge-case guardrails turn a straightforward Sheets task into a long blocker-analysis exercise.

For sheet creation and editing tasks, prefer this sequence when viable:

  1. Gather the required source material.
  2. Pick the correct default routing.
  3. Establish the sheet checklist or sheet plan.
  4. Build or edit the sheet.
  5. Verify the sheet is clean, complete, native, and scannable per references/reference-visual-quality.md.
  6. Stop once the verified workflow has succeeded.

If a simple verified workflow is viable, use it. Do not drift into speculative alternate paths.

Required Read Order (No Skips)

For every route that creates, imports, or edits a Google Sheet, read references/reference-visual-quality.md before final verification.

If Default Routing uses native Google Sheets reference-follow creation:

  1. Read references/reference-edit-workflow.md
  2. Read references/reference-live-read-search-safety.md
  3. Read references/reference-native-cell-structure.md
  4. Read references/reference-batch-update-recipes.md

If Default Routing uses the system spreadsheet plugin or skill like [@spreadsheets](plugin://spreadsheets@openai-primary-runtime) or $Spreadsheets:

  1. Read the plugin/skill, e.g. [@spreadsheets](plugin://spreadsheets@openai-primary-runtime)
  2. Read references/reference-import-spreadsheet-to-native-sheets.md
  3. If the new Sheet has explicit or reference-derived option/list/dropdown columns, read references/reference-batch-update-recipes.md before the post-import table batch update.

If Default Routing uses connector edit workflow:

  1. Read references/reference-edit-workflow.md.
  2. Before any direct live range read, cell read, or search_spreadsheet_rows, read references/reference-live-read-search-safety.md.
  3. Read every task-specific file from the matrix below.
  4. If the task spans multiple categories, read all matching files.
  5. If uncertain, use the task-to-reference map or search reference headings to identify the missing guidance. Do not read unrelated reference files.

Read the references required by the active route before content edits; reuse them across turns unless the route, runtime, or files changed.

Final Answer Requirement

For net-new creation only, when Default Routing selects the registered Spreadsheets capability, create the local .xlsx and import it with upload_mode: "native_google_sheets". Existing-sheet edits stay on the direct connector route and native-reference creation stays on the native-copy route; neither requires rebuilding a local .xlsx. Return the verified Google Spreadsheet link. Include a local .xlsx only when the user also requested that local deliverable.

Spreadsheets location

Use/create ChatGPT at My Drive root. Place new spreadsheets created from scratch or from a template there. Edit existing spreadsheets in place.

Respect user-specified locations.

Connector Load Checklist

  1. Confirm the exact target Google Sheet URL or spreadsheet id before editing an existing spreadsheet.
  2. If the user only gives a title or title keywords, use the connector/app search path to identify candidate spreadsheets before asking for a URL.
  3. Resolve and record the spreadsheet id, target sheet names, and sheetId values.
  4. Read spreadsheet metadata before deeper reads or writes.
  5. For direct live range reads, cell reads, or search_spreadsheet_rows, use exact visible tab names from metadata, bounded ranges, and the recovery rules in references/reference-live-read-search-safety.md. Do not guess Sheet1, scan whole grids, or retry oversized row searches.
  6. Before each edit pass, identify the exact sheet, range, headers, formulas, and validation constraints being edited through connector reads.
  7. Re-read target cells before writing when live values, formulas, formatting, or validation could affect the write.

Task To Reference Map

Task areaRequired reference file
Existing spreadsheet edit workflow, grounding, validation-backed cells, output conventions, and write planningreferences/reference-edit-workflow.md
Direct live range reads, cell reads, row searches, tab/range recovery, and oversized search avoidancereferences/reference-live-read-search-safety.md
Adding or inserting rows or columns beside populated data while preserving validation, chips, formulas, and formattingreferences/reference-native-cell-structure.md
Reference/template following from a provided Google Sheetreferences/reference-native-cell-structure.md
Raw Sheets write shapes and example batch_update bodiesreferences/reference-batch-update-recipes.md
Importing a local spreadsheet and upgrading intended tables to native Sheets tablesreferences/reference-import-spreadsheet-to-native-sheets.md
Formula design, repair, rollout, or syntax refreshreferences/reference-formula-patterns.md
Chart creation, repair, chart-spec recall, or repositioningreferences/reference-chart-recipes.md
Unspecified styling for native Google Sheets destinationsreferences/style-profiles.md

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

Reviews can't be read right now.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.