agentleFS
guzhou079-archguzhou079-arch/deepseek-harness-android/skills/dsh-excel-copilot/SKILL.md

dsh-excel-copilot

Skill79 starsChanged 13 days agoMITView on GitHub

Excel 复杂多表批量对齐、公式自动化与智能母表生成专家。支持跨部门/多渠道表格智能对齐、异构字段合并、SUM/AVG 动态公式注入与标准高颜值 .xlsx 导出,带可视化数据流向图与对账留痕卡片。

The file

Files
SKILL.md

Excel 多表对齐与公式自动化技能 (dsh-excel-copilot)

在手机端处理财务对账表、跨部门销售报表或异构数据汇总时,手机 WPS 手动复制粘贴、匹配字段和写公式极易出错。本技能提供零依赖、自动化合并异构表格、自动注入 Excel 公式并生成大厂级高颜值 .xlsx 文件的能力,严格执行数据对齐工作流与对账留痕机制。


🧭 可视化数据合并与对齐工作流 (Visual Excel Pipeline)

每次处理复杂表格合并与生成时,在回答中呈现标准的数据管道流:

flowchart TD
    classDef input fill:#161b22,stroke:#58a6ff,stroke-width:2px,color:#f0f6fc;
    classDef align fill:#21262d,stroke:#bc8cff,stroke-width:2px,color:#f0f6fc;
    classDef xlsx fill:#21262d,stroke:#3fb950,stroke-width:2px,color:#f0f6fc;
    classDef audit fill:#21262d,stroke:#d29922,stroke-width:2px,color:#f0f6fc;

    Files["📥 多个异构 CSV/XLSX 输入 (各部门/渠道)"]:::input --> Header["🔍 智能表头语义对齐 (同义字段映射)"]:::align
    Header --> Clean["🧹 空值填充、类型校验与去重合并"]:::align
    Clean --> Formula["📐 SUM / AVERAGE / IF 动态公式注入"]:::align
    Formula --> Build["⚙️ excel_copilot.py 零依赖构建标准 XLSX"]:::xlsx
    Build --> Card["📦 呈递 .xlsx 文件卡片 (present)"]:::xlsx
    Card --> Trace["📋 输出多表合并对账留痕卡片"]:::audit

🛠️ 核心交付规范

1. 多表智能对齐与清洗

  • 自动识别异构表头同义词(如 实收金额 ↔ 实付款 ↔ 成交额);
  • 自动补齐缺失列,防止行错位;
  • 统计清洗掉的空行与异常格式数量。

2. 标准 Excel 样式与公式规范

  • 表头风格:商务科技蓝底色 (#0969DA)、白色加粗字体、居中对齐;
  • 自适应列宽:根据内容长度设置合理列宽,杜绝文字截断或 ### 显示;
  • 原生公式注入:汇总行必须使用标准 Excel 动态公式(如 =SUM(D2:D50)),而非写死静态数值。

3. 生成与呈递

调用 /data/user/0/com.deepseek.harness/files/payload/dshhome/skills/dsh-excel-copilot/scripts/excel_copilot.py 生成表格,并通过 present 工具将文件卡片直观呈递给用户。


📋 必带对账留痕审计卡片 (Excel Audit Card)

在交付物末尾,必须输出标准化的 表格对账留痕卡片:

---
### 📊 表格合并与对账留痕卡片 (Excel Copilot Trace Card)
- **任务编号**:`XL-20261007-006`
- **源文件数**:`3 份异构表格`(华东/华北/华南销售对账表,共计 1,420 行记录)
- **字段对齐**:成功对齐 8 个维度字段,修正 12 处格式异常
- **公式注入**:注入 4 处 `SUM` 汇总公式与 2 处 `AVERAGE` 均值公式
- **输出文件**:`/sdcard/Download/DSH_WorkLogs/202610_全国销售汇总母表.xlsx`
- **交付动作**:已通过 `present` 呈递,支持在手机 WPS / 电脑 Excel 中原生查看与动态重新计算
- **审计时间**:2026-10-07 19:15 (DSH Excel Copilot Engine)
---

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.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

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.