技能图谱SKILLSGROVE
技能图谱/办公文档/revolover00/Claude-clone/spreadsheets

spreadsheets

安装

$npx skills add https://github.com/revolover00/Claude-clone --skill spreadsheets
$git clone --depth 1 https://github.com/revolover00/Claude-clone.git /tmp/Claude-clone && mkdir -p ~/.claude/skills && cp -r /tmp/Claude-clone/skills/builtin/spreadsheets ~/.claude/skills/spreadsheets
请帮我安装这个 Agent Skill:https://github.com/revolover00/Claude-clone/tree/1e465ee963ae98afa83b11bb6e2d3e8c912b2613/skills/builtin/spreadsheets ,先阅读它的 SKILL.md 和脚本,确认安全后再安装到我的技能目录。

简介

原文描述 · MITGenerates Microsoft Excel spreadsheets (.xlsx) with multi-sheet workbooks, formatted tables, typed cells, calculations and formulas, custom column widths, and visual styles. Use when users ask to create spreadsheets, financial models, budgets, inventory trackers, or data tables in .xlsx format. Supports RTL Arabic sheets. Triggers: create spreadsheet, excel sheet, generate xlsx, financial model, budget sheet, إنشاء جدول إكسل, جدول بيانات, ملف إكسل, حسابات مالية.
以下 SKILL.md 内容转载自 revolover00/Claude-clone(提交 1e465ee),依据 MIT 许可证转载正文(文字未改动;仅省略文件头元数据、将图片显示为链接,超长内容会截断);版权归 2026 Author 所有。许可证:skills/builtin/spreadsheets/LICENSE.txt。仅展示说明文件,附带脚本请在原仓库查看。

Spreadsheets Creation (.xlsx)

Use the server function create_document({ format: "xlsx", title, spec }) to generate an Excel spreadsheet.

How to fill the spec

  1. Structure First: Plan the workbook sheets and column widths:

    • Sheet name (name: string)
    • Explicit column widths (columnWidths: number[])
    • Header row with bold styling and background fill
    • Data rows with typed values (numbers, strings, booleans)
    • Formula cells ({ formula: "SUM(C2:C10)", value: 0 })
    • Number formats (format: "$#,##0.00" or "0.0%")
  2. Concise Text: Keep headers and cell labels clear and standardized.

  3. Arabic & RTL Handling:

    • For Arabic sheets, set rtl: true on the sheet or root spec.
    • Excel will display columns from Right to Left with right-aligned text.

Example Call

{
  "format": "xlsx",
  "title": "Annual Department Budget",
  "spec": {
    "rtl": false,
    "sheets": [
      {
        "name": "Q1 Budget",
        "columnWidths": [24, 15, 15, 18],
        "rows": [
          {
            "cells": [
              { "value": "Department", "bold": true, "backgroundColor": "E5E7EB" },
              { "value": "Budget", "bold": true, "backgroundColor": "E5E7EB" },
              { "value": "Actual", "bold": true, "backgroundColor": "E5E7EB" },
              { "value": "Variance", "bold": true, "backgroundColor": "E5E7EB" }
            ]
          },
          {
            "cells": [
              "Engineering",
              { "value": 50000, "format": "$#,##0" },
              { "value": 46000, "format": "$#,##0" },
              { "formula": "B2-C2", "value": 4000, "format": "$#,##0" }
            ]
          }
        ]
      }
    ]
  }
}
查看许可证全文(MIT)
MIT License

Copyright (c) 2026 Author

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.