excel-orchestrate

👤 yyy 📦 v1.0.0 ⭐ 4.2 ⬇️ 159 下載
📄 辦公效率 免費

📖 技能介紹


name: excel-orchestrate description: | Default entry point — all Excel file operations should consider this skill first.

## Auto-trigger Conditions (any one suffices) / 自動觸發條件(滿足任一即觸發)

### Condition 1: User mentioned an Excel file / 條件一:使用者提到了 Excel 檔案 As long as an Excel file (.xlsx / .xlsm / .csv / .xls / spreadsheet / workbook / worksheet) appears in context, AND the user is describing an operation to perform on it (modify/format/delete/merge/split/sort/dedup/filter/date/insert etc.), trigger this skill first — even if only one operation is described.

### Condition 2: Multi-step operations / 條件二:多步驟操作 - Multiple operations in one sentence - Delimiter-separated requirements - Parallel phrasing: "first...then...finally..." - Connective words: "also" "additionally" "and" "meanwhile" "at the same time"

這個技能的最新版本可以在7w4.net小蔥技能站找到。

### Condition 3: Vague/summary commands / 條件三:模糊/總結性指令 - "Process this file" "Handle this" "Take care of this" "Organize this"

## Non-trigger exceptions / 不觸發的例外 - Pure query/scout: just asking "how many rows" "are there nulls" → directly use excel-scout - User explicitly names a skill → directly use that skill

Trigger keywords (not limited to): ".xlsx" ".csv" "spreadsheet" "Excel" "process" "batch" "full workflow" "all" "organize" 觸發詞(不限於此):".xlsx"".csv""表格""Excel""處理一下""批次""整個流程""全部""搞定""整理""先…再…""然後""還有""另外""並且""以及""同時""要求如下""以下幾項"。

Workflow: Confirm it's an Excel operation → Call excel-scout for reconnaissance → Output report → User confirms → Execute one by one. 工作流程:確認是Excel操作 → 調 excel-scout 勘察 → 出報告 → 使用者確認 → 逐個執行。


This skill is a meta-skill — it does not directly operate on Excel, but orchestrates the existing 16 skills. Follows the "Decompose→Report→Confirm→Execute" four-step approach. 本技能是元技能——不直接操作 Excel,而是編排已有的 16 個技能。遵循"拆分→報告→確認→執行"四步。

Excel Task Orchestration / Excel 任務編排

Workflow / 工作流程

User Complex Requirements / 使用者複雜需求
    │
    ▼
[0] Scout First / 勘察先行 → Call excel-scout to locate target columns, show current values
    │
    ▼
[1] Parse Requirements / 解析需求 → Match scout results, decompose into independent sub-tasks
    │
    ▼
[2] Match Skills / 匹配技能 → Each sub-task maps to an existing skill
    │
    ▼
[3] Output Report / 輸出報告 → Table showing execution plan (order, skill, input, expected output)
    │
    ▼
[4] User Confirms / 使用者確認 → After confirmation, call skills one by one
    │
    ▼
[5] Summarize Results / 彙總結果 → Report status after each step completes

已有技能速查 / Available Skills Quick Reference

分類 技能 能幹什麼
🔍 查 scout 操作前勘察——定位目標列、展示當前值
find-duplicates 掃描重複行
filter 按條件篩選行
validate 資料質量檢查
🗑️ 刪 delete 刪除行/列
deduplicate 去重
✏️ 改 insert 插入行/列
replace 查詢替換
mapping-replace 按對映表批次替換
regex-clean 正則清理(提取/刪除/替換)
date-to-text 日期轉文本
format 設定格式
📊 整 sort 排序
split 按列拆分檔案
merge 合併多個檔案
freeze 凍結窗格
📋 基 safe-workflow 安全四步法

拆分原則 / Decomposition Principles

  1. 依賴關係:合併/篩選在前,改值/格式化在後
  2. 檔案來源:先搞定輸入(merge),再處理內容
  3. 同類合併:多個 mapping-replace 可以一次 XML 處理完成
  4. 大檔案優先 XML:>10MB 的行操作自動走 XML 方案
  5. 不可逆操作靠後:刪除類操作確認後再執行

報告格式 / Report Format

任務拆分報告 / Task Decomposition Report
═══════════════

原始需求: [使用者原話]

執行計劃:
| 序號 | 步驟 | 技能 | 輸入 | 預期輸出 |
|------|------|------|------|------|
| 1 | 合併28個檔案 | excel-merge | 1000萬-5000萬/ | 單一xlsx |
| 2 | 日期列插文本 | excel-date-to-text | 合併結果 | 6個新列 |
| 3 | 型別→數字 | excel-mapping-replace | 合併結果 | 列值替換 |
| 4 | 國別→程式碼 | excel-mapping-replace | 合併結果 | 列值替換 |
| 5 | 新興產業清理 | excel-regex-clean | 合併結果 | 列值清理 |

預計耗時: ~30分鐘
風險點: 合併時需處理sharedStrings引用斷裂

確認執行? (yes/no)

執行 / Execution

使用者確認後,按順序執行每步。每步完成後報告狀態:

[1/5] excel-merge... done (451s, 333669行)
[2/5] excel-date-to-text... done (771s, 6列)
[3/5] excel-mapping-replace... done (697s)
[4/5] excel-mapping-replace... (已合併到第3步)
[5/5] excel-regex-clean... (已合併到第3步)

全部完成 / All Complete, 輸出 / Output: 測試檔案/終極合併.xlsx

注意事項

  1. 先報告再執行:拆分結果必須讓使用者看到並確認
  2. 步驟間傳遞檔案:上一步的輸出是下一步的輸入,自動管理檔案路徑
  3. 同類操作合併:多個 mapping-replace 和 regex-clean 可一次 XML 處理,減少讀盤次數
  4. 失敗處理:某步失敗時暫停,刪除損壞產物,從備份恢復,詢問使用者是否繼續或修改方案
  5. sharedStrings 警告:如果涉及 merge + mapping-replace,提醒 sharedStrings 轉換問題
  6. 每步自動備份:每個子任務執行前自動備份(時間戳命名),全部成功後僅保留最新3份

🤖 AI 評測

這個工具質量不錯,操作起來很規範可靠。它的好處是把複雜的Excel任務拆分成小步驟,每步做什麼都會提前告訴你,確認後才執行,不用擔心做錯。功能覆蓋面較廣,基本的表格操作都能支援。不足之處是第一次用需要花點時間理解它的運作方式,另外處理大檔案時速度還有最佳化空間。

📊 多維度評分

適應性4.5
規範性3.7
有效性4.5
可靠性3.8
可信度5

📁 包含檔案 (1 個)

📄 SKILL.md 5.9 KB