Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

spreadsheets

БесплатноБез исполняемых скриптовНе проверен

"Use this skill when a user requests to create or modify or work with spreadsheets (.xlsx, .xls) to do any of the following:

lightspeedwpот lightspeedwp★ 20 звёзд на GitHub

Об этом скилле

Primary Goal

  • Produce a correct, polished spreadsheet artifact quickly that completes the user's request.
  • You are judged on layout, readability, style, and correctness.

Tools + Contract

  • Use python library artifact_tool workbook APIs only for workbook edits only with PYTHON TOOL.
  • After reading this file, you MUST read the whole artifact_tool API that is listed here: ./API_QUICK_START.md
  • Do not use openpyxl, pandas, or alternate spreadsheet libraries.
  • Read inputs from /mnt/data; write outputs to /mnt/data.
  • Export final workbook as .xlsx unless user asks otherwise.

Required Imports + Startup

Assume artifact_tool exists and is installed. Do not run environment/package discovery (pkgutil, module scans, install checks) unless the import throws an error.

Import existing workbook only when needed (user-uploaded/edit-in-place or intentional reload):

from artifact_tool import Blob, SpreadsheetFile
wb = SpreadsheetFile.import_xlsx(Blob.load("/mnt/data/input.xlsx"))

Create new workbook:

from artifact_tool import Workbook, SpreadsheetFile
wb = Workbook.create()
sheet = wb.worksheets.add("Inputs")

Continuous Notebook Strategy

  • Use one continuous notebook state.
  • Reuse in-memory wb across Python calls.
  • Keep calls focused; split into small coherent steps.
  • Avoid repeated import/export/render loops unless runtime reset forces it.
  • Do not re-import from disk between every patch step.

Latency Guardrails (High Priority)

  • Start meaningful edits quickly; avoid long upfront API exploration.
  • Core APIs are listed in ./API_QUICK_START.md. You must use that.
  • Keep tool-call count low while preserving quality.
  • Use workbook.help(...) only when blocked or for features or fields that are undocumented; keep discovery minimal.
  • Avoid very large monolithic calls and avoid full workbook rewrites unless first version is invalid.
  • Default flow:
    • one primary build call
    • minimal focused patch call(s)
    • at least one compact verification
    • one final export call
  • Stop when requirements are met. Do not create alternate variants after valid final output.
  • Keep verification targeted and efficient (max 3 iterations).

Fast Path (Default)

  1. Setup: import artifact_tool, create workbook/sheets for new files.
  2. Build quickly: bulk-write headers/data/formulas; then formatting/validation/conditional formatting; add charts/tables only when needed.
  3. Use additional focused calls if helpful for streamed progress.
  4. Near completion: inspect key ranges, scan formula errors, optional small render preview, export .xlsx.

Error Recovery

On first error:

  1. Read error text.
  2. Run one targeted workbook.help("<exact_api>") query only if needed.
  3. Retry with minimal patch (not full rewrite).
  4. Continue from existing workbook state.

Do not loop indefinitely on similar failures.

Quality Floor (Do Not Skip)

Speed matters, but output quality must meet baseline.

  • Keep layout readable and bounded, contents visible:
    • avoid extreme width/height from unconstrained autofit
    • cap oversized widths/heights after autofit + wrap_text
  • Prefer formula-driven logic over manual painted cells when logic is expected.
  • Derived values must be formulas (not hardcoded) and legible.
  • Use absolute/relative references correctly for fill/copy behavior.
  • Do not use magic numbers in formulas; reference cells (e.g. =H6*(1+$B$3)).
  • Include at least one visual summary for tracker/planning requests when appropriate (KPI block, chart, dashboard area).
  • If writing literal text that starts with =, prefix with single quote ('=high-low).
  • Keep workbook structurally valid (e.g., unique table names).

Formatting Baseline

  • If editing an uploaded/template workbook: render first, preserve and match existing style unless user asks to restyle.
  • Typical defaults when unspecified:
    • content columns: ~10-24
    • text-heavy columns: cap ~32-40
    • row heights: ~15-20 (titles may be larger)
    • avoid oversized body fonts (>12pt) except intentional titles
  • Add whitespace between sections where useful.
  • Use fill colors, borders, and merged cells judiciously to give the spreadsheet a professional visual style with a clear layout without overdoing it
  • Add data validation for editable categorical columns (Status, Priority, Owner) where feasible.
  • Use conditional formatting when useful.
  • Unless conflicting style guidelines are provided: style headers, correct number/date formats, sensible column widths, and row heights, light borders.

Citation Requirements

Cite sources inside the spreadsheet

  • Use plain-text URLs in spreadsheet cells.
  • For financial models, cite model-input sources in cell comments.
  • For researched row-wise data tables, include source URLs in a dedicated source column.

Completion Criteria

Complete only when:

  • Workbook content is populated and formulas compute.
  • No obvious formula errors in key scanned ranges (no b
Полный SKILL.md на GitHub

Установить spreadsheets в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

API_QUICK_START.mdLICENSE.txttemplates/financial_models.md

FAQ

Что делает скилл spreadsheets?

"Use this skill when a user requests to create or modify or work with spreadsheets (.xlsx, .xls) to do any of the following:

Как установить скилл spreadsheets?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл spreadsheets запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

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

Сравнить spreadsheets с