Agent SkillsOpenBMB/PilotDeck › spreadsheets

spreadsheets

GitHub

用于创建、编辑和审查XLSX/CSV等电子表格文件,涵盖生成、公式计算、数据合并及视觉检查。支持多种工具处理格式与内容,强调基于源文件的精确修改与结果验证,不控制实时Excel或宏。

skills/spreadsheets/SKILL.md OpenBMB/PilotDeck

Trigger Scenarios

需要生成或转换电子表格文件 对现有表格进行公式更新或数据清洗 批量处理CSV/XLSX数据

Install

npx skills add OpenBMB/PilotDeck --skill spreadsheets -g -y
More Options

Use without installing

npx skills use OpenBMB/PilotDeck@spreadsheets

指定 Agent (Claude Code)

npx skills add OpenBMB/PilotDeck --skill spreadsheets -a claude-code -g -y

安装 repo 全部 skill

npx skills add OpenBMB/PilotDeck --all -g -y

预览 repo 内 skill

npx skills add OpenBMB/PilotDeck --list

SKILL.md

Frontmatter
{
    "name": "spreadsheets",
    "description": "Create, edit, review, and finalize standalone XLSX, XLS, CSV, and TSV spreadsheet files. Use for spreadsheet generation, formatting, formulas, charts, data consolidation, source-based calculations, numeric reconciliation, legacy conversion, and visual QA. Do not use for live Microsoft Excel control or macro-enabled workbook editing."
}

Spreadsheets

Use three stages as a reasoning framework, not a fixed tool pipeline:

  1. Understand the request and source materials.
  2. Build or edit the spreadsheet using the approach best suited to the task.
  3. Review the actual result before delivery.

The user's explicit requirements are the primary acceptance criteria.

Understand

Determine what the final spreadsheet should accomplish, which sources contain authoritative facts, what must change, what must remain, and what evidence would demonstrate success.

  • Preserve source files unless replacement is explicitly requested.
  • Do not invent missing facts or replace unknown values with plausible ones.
  • When editing, preserve content, formulas, structure, and formatting the user did not ask to change.
  • Inspect only the files, sheets, ranges, and package features relevant to the requested outcome.

Resolve the optional CLI when its mechanical commands help:

SKILL_ROOT={{SKILL_ROOT_SHELL}}
SHEET="$SKILL_ROOT/scripts/spreadsheet.sh"
WORKSPACE="${PILOTDECK_WORK_DIR:?PILOTDECK_WORK_DIR is required}/spreadsheets"
mkdir -p "$WORKSPACE/tmp" "$WORKSPACE/review"

Review package-sensitive features before modifying workbooks containing charts, drawings, pivots, external connections, signatures, or other advanced objects.

Build

Write and run one task-specific, reproducible script for each workbook revision. Use openpyxl, xlsxwriter, pandas, ExcelJS, direct OOXML editing, LibreOffice UNO, or another suitable tool according to the task. Do not switch languages or adopt a wrapper merely to use this skill.

Keep task scripts, candidates, extracted assets, reports, renders, and debugging output under PILOTDECK_WORK_DIR. Put only the requested final deliverable in the project workspace.

Prefer localized edits to reconstruction when modifying an existing workbook. Keep identifiers as text when leading zeroes or long digits matter. Use real numbers, dates, and booleans, and retain derived values as formulas when the workbook should remain inspectable or reusable.

Follow supplied templates and explicit visual requirements. Without either, use restrained neutral presentation: readable typography, clear number formats, useful spacing, dark text, white backgrounds, and limited color for meaning. Do not add dashboard furniture, branding, or decorative formatting unrelated to the requested outcome.

For formula caches, Excel/LibreOffice differences, dates, package-sensitive objects, or CSV safety, read spreadsheet-specifics.md only when relevant.

Review

Judge the spreadsheet against the user's requested outcome, not whether a tool ran successfully. Review may be as light as directly checking the result. When mechanical evidence would materially improve confidence, choose any appropriate combination of:

  • validate for package, relationship, formula-cache, and formula-error diagnostics;
  • recalculate to refresh supported formula caches when changed formulas or dependencies must display calculated results;
  • render for visual evidence about layout, pagination, charts, and formatting.

These are optional tools, not a required pipeline. Decide whether to use them and what to examine according to the task's consequences and uncertainty. If recalculation is needed alongside validation or rendering, recalculate the final candidate first so later evidence describes its final calculation state.

The CLI provides facts and images, never a content- or design-quality verdict. See optional-tools.md only when one of these commands or another mechanical operation would serve the task.

Open relevant full-size page images before making visual claims. After changing the candidate, prior renders no longer describe the current workbook. LibreOffice may paginate, calculate, or substitute fonts differently from Microsoft Excel.

When correctness depends on sources or non-trivial calculations, independently reread or reconcile important cells, formulas, and types, or write a small task-specific checking script when it materially improves confidence. Use compare after a package-sensitive edit only when distinguishing intended changes from unrelated package changes matters.

Deliver

Publish the chosen internal candidate through the delivery command:

bash "$SHEET" deliver \
  --input "$WORKSPACE/tmp/candidate.xlsx" \
  --out "$FINAL_OUTPUT"

For an edit, add --source "$INPUT". Replace that exact source only when explicitly requested, using --source "$INPUT" --out "$INPUT" --replace-source; a recovery copy remains internal.

deliver protects the source, rejects structurally unsafe or unreadable packages, and publishes the exact candidate atomically. It does not run validate, recalculate, or render, and it does not decide whether the content, formulas, design, or requested outcome are good enough; those judgments belong to the model.

Use optional mechanical commands such as compare and convert-legacy only when they directly serve the request.

Version History

  • 2626c07 Current 2026-08-27 15:19

    重构文档以澄清功能描述,移除过时文件,强调CLI命令的可选性及任务特定检查的重要性。

  • 98a0edf 2026-08-19 17:30

    将脚本根目录变量从 SPREADSHEET_SKILL_ROOT 更新为 SKILL_ROOT_SHELL,并完善了执行阶段的样式选择指导。

  • ed8da90 2026-08-13 16:09

    重构文档以澄清渲染页面审查流程,移除过时组件如 requirements.example.json 和 qa-checklist.md,更新 CLI 使用说明以提升清晰度,增强错误处理与验证检查。

  • d0c4eee 2026-08-05 14:19
  • a3d1f7c 2026-07-23 06:12

Same Skill Collection

skills/1password/SKILL.md
skills/apple-notes/SKILL.md
skills/apple-reminders/SKILL.md
skills/audio-transcription/SKILL.md
skills/bear-notes/SKILL.md
skills/blogwatcher/SKILL.md
skills/browser-use/SKILL.md
skills/diagram-maker/SKILL.md
skills/docx/SKILL.md
skills/frontend-slides/SKILL.md
skills/github/SKILL.md
skills/gog/SKILL.md
skills/himalaya/SKILL.md
skills/karpathy-guidelines/SKILL.md
skills/meeting-recorder-assistant/SKILL.md
skills/notion/SKILL.md
skills/obsidian/SKILL.md
skills/pdf/SKILL.md
skills/pilotdeck-skills-migration/SKILL.md
skills/powershell/SKILL.md
skills/pptx/SKILL.md
skills/react-next-best-practices/SKILL.md
skills/skill-creator/SKILL.md
skills/spike/SKILL.md
skills/summarize/SKILL.md
skills/tmux/SKILL.md
skills/trello/SKILL.md
skills/weather/SKILL.md
skills/find-skills/SKILL.md
skills/frontend-design/SKILL.md
skills/minimax-pdf/SKILL.md
skills/web-design-guidelines/SKILL.md

Metadata

Files
0
Version
53658bb
Hash
18b516c1
Indexed
2026-07-23 06:12

- 위키
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-30 02:18
浙ICP备14020137号-1 $방문자$