xlsx

GitHub

用于创建、检查、编辑和验证 Excel/CSV 工作簿,支持公式保留、格式还原及渲染。适用于表格数据处理与转换任务。

App/memmy-agent/src/skills/xlsx/SKILL.md MemTensor/memmy-agent

触发场景

需要处理 .xlsx, .xlsm, .csv 等文件 请求创建或编辑电子表格 需要重新计算或验证公式

安装

npx skills add MemTensor/memmy-agent --skill xlsx -g -y
更多选项

非标准路径

npx skills add https://github.com/MemTensor/memmy-agent/tree/main/App/memmy-agent/src/skills/xlsx -g -y

不安装直接使用

npx skills use MemTensor/memmy-agent@xlsx

指定 Agent (Claude Code)

npx skills add MemTensor/memmy-agent --skill xlsx -a claude-code -g -y

安装 repo 全部 skill

npx skills add MemTensor/memmy-agent --all -g -y

预览 repo 内 skill

npx skills add MemTensor/memmy-agent --list

SKILL.md

Frontmatter
{
    "name": "xlsx",
    "description": "Create, inspect, edit, recalculate, validate, render, and deliver Excel workbooks while preserving formulas, formatting, drawings, links, macros, and metadata."
}

Workbook workflow

Trigger for .xlsx, .xlsm, .xltx, .csv, and .tsv workbooks or requests to create, read, edit, clean, format, calculate, chart, or convert them. Do not use it for ordinary documents, web pages, databases, or live external spreadsheet APIs.

  1. Copy an existing workbook to a unique temporary directory and inspect it with scripts/inspect_workbook.mjs --input <file> --json before editing.
  2. Preserve formulas, cached values, styles, merges, tables, filters, validations, conditional formatting, charts, images, shapes, comments, hidden sheets, links, macros, and metadata. Only modify the requested cells or objects.
  3. After adding or changing formulas run scripts/recalculate_workbook.mjs --input <file> --output <file> --json. A completed recalculation with formula errors is reported as errors_found; a conversion or process failure is a separate failure.
  4. Run scripts/check_workbook.mjs <file> --json; use --allow-lossy only when the caller explicitly accepts the listed loss. The checker does not use PPTX or XSD data.
  5. Render with scripts/render_with_office.mjs <file> --output-dir <dir> and inspect every sheet/page. Reopen the output and verify formulas, cached values, objects, and that the original hash is unchanged.

CSV/TSV input requires an explicit encoding, BOM, delimiter, quote, newline, and malformed-row policy. Never replace formulas with constants unless a static export was requested. External links, macros, unsupported extensions, and objects that cannot be safely preserved fail closed.

All commands are standalone Node CLIs. They write stable JSON with --json, diagnostics to stderr, and non-zero status for invalid input, missing Office, timeout, or unsafe preservation. The bundled renderer is resolved through MEMMY_OFFICE_RENDERING_ROOT, the legacy DOCX override during migration, the packaged Office payload, and the source payload; it never silently falls back to a system PATH installation.

See references/workbook-workflow.md, references/formula-recalculation.md, and references/layout-and-preservation.md for the full SOP.

版本历史

  • 0074fc0 当前 2026-09-22 01:42

同 Skill 集合

App/memmy-agent/src/skills/agent-memory-onboarding/SKILL.md
App/memmy-agent/src/skills/computer-history/SKILL.md
App/memmy-agent/src/skills/docx/SKILL.md
App/memmy-agent/src/skills/github/SKILL.md
App/memmy-agent/src/skills/goal/SKILL.md
App/memmy-agent/src/skills/image-generation/SKILL.md
App/memmy-agent/src/skills/pdf/SKILL.md
App/memmy-agent/src/skills/pptx/SKILL.md
App/memmy-agent/src/skills/skill-creator/SKILL.md
App/memmy-agent/src/skills/summarize/SKILL.md
App/memmy-agent/src/skills/tmux/SKILL.md
App/memmy-agent/src/skills/ui-craft/SKILL.md
App/memmy-agent/src/skills/weather/SKILL.md
Memory/src/cli/skills/memmy-memory/SKILL.md
App/memmy-agent/src/skills/cron/SKILL.md

元信息

文件数
0
版本
d101fd5
Hash
158fbec9
收录时间
2026-09-22 01:42

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-10-03 19:36
浙ICP备14020137号-1