據 AlphaMoat 統計,截至 2026-09,csv to excel 累計下載 2,736 次、獲 0 個星標,在全部 5,078 個 AI 技能中排名第 3,925 位,在「辦公效率」分類(435 個)中排名第 291 位。
| 平台 | 累計安裝 | 累計下載 | 星標 | 評論 |
|---|---|---|---|---|
| ClawHub ↗ | 83 | 2691 | - | - |
| SkillHub ↗ | 249 | 2736 | - | — |
各平台的計數口徑不同,統計時間不一致。
將一個或多個 CSV 檔案轉換為格式化的 Excel 工作簿,支援中文字元編碼識別、表頭和列寬調整以及分工作表輸出。轉換後應檢查字元編碼、行列和數值是否完整。 不可信 CSV 中的公式樣式單元格可能在工作簿中保持有效;轉換和分享前應檢查或清洗。需要 openpyxl。
資料釋出於 2026-10-29
以下是根據技能文件生成的示例,不代表實際執行結果。
2026-09 起統計方法調整:同名技能按作者分別統計,並覆蓋全部技能。圖中虛線為調整前的月份,與之後的資料不直接比較,也不計算跨越調整的增長。
| 月份 | 累計下載 | 環比 | 星標 |
|---|---|---|---|
| 2026-09 | 2736 | — | - |
| 2026-08 | 2572 | +6.1% | - |
| 2026-07 | 2423 | +11.0% | - |
| 2026-06 | 2183 | +7.9% | - |
| 2026-05 | 2024 | — | - |
| 2026-03 | 1467 | — | - |
以下是作者釋出的原始檔案,按純文字顯示,本站未做修改或稽核;其中的連結不可點選,命令請核實後再執行。抓取於 2026-10-23。
--- name: csv-to-excel description: "Convert CSV files to professionally formatted Excel workbooks with Chinese character support, automatic formatting, and multi-sheet capabilities. Use when users need to: (1) Convert single CSV to Excel, (2) Combine multiple CSV files into one Excel with separate sheets, (3) Format CSV data with headers, borders, and auto-adjusted columns, (4) Handle Chinese or other non-ASCII characters in CSV files, or (5) Create professional Excel reports from CSV data." --- # CSV To Excel Converter ## Overview This skill enables conversion of CSV files to Excel format with professional formatting, proper encoding handling for Chinese characters, and support for combining multiple CSV files into a single Excel workbook with separate sheets.
## Quick Start Use the `csv_to_excel.py` script for all conversions: ```bash # Single CSV to Excel python scripts/csv_to_excel.py input.csv output.xlsx # Multiple CSVs to one Excel (each becomes a sheet) python scripts/csv_to_excel.py file1.csv file2.csv file3.csv --output combined.xlsx # With custom sheet names python scripts/csv_to_excel.py sales.csv inventory.csv --output report.xlsx --sheet-names "销售数据" "库存数据" ``` ## Features ### Automatic Encoding Detection - Detects CSV encoding automatically (UTF-8, GBK, GB2312, UTF-8-SIG) - Ensures Chinese characters display correctly in Excel - No manual encoding specification needed ### Professional Formatting - **Header row**: Bold white text on blue background - **Borders**: Thin borders around all cells - **Column widths**: Auto-adjusted based on content (handles Chinese characters properly) - **Frozen panes**: Header row frozen for easy scrolling - **Alignment**: Headers centered ### Multi-Sheet Support - Combine multiple CSV files into one Excel workbook - Each CSV becomes a separate sheet - Custom sheet names supported - Sheet names default to CSV filenames (max 31 characters) ## Common Usage Patterns ### Pattern 1: Single File Conversion User says: "Convert this data.csv to Excel" ```bash python scripts/csv_to_excel.py data.csv data.xlsx ``` ### Pattern 2: Multiple Files to Multi-Sheet Excel User says: "Combine these CSV files into one Excel, each file as a separate sheet" ```bash python scripts/csv_to_excel.py sales_2024.csv sales_2025.csv inventory.csv --output report.xlsx ``` Result: `report.xlsx` with 3 sheets named "sales_2024", "sales_2025", "inventory" ### Pattern 3: Custom Sheet Names User says: "Create an Excel with these CSVs and name the sheets in Chinese" ```bash python scripts/csv_to_excel.py q1.csv q2.csv q3.csv q4.csv --output 年度报告.xlsx --sheet-names "第一季度" "第二季度" "第三季度" "第四季度" ``` ### Pattern 4: Handling Chinese Content User says: "This CSV has Chinese text and it shows as garbled characters in Excel" The script automatically detects encoding and handles Chinese characters: ```bash python scripts/csv_to_excel.py 中文数据.csv 输出.xlsx ``` ## Technical Details ### Encoding Support The script tries these encodings in order: 1. UTF-8 2. GBK (common for Chinese Windows) 3. GB2312 (simplified Chinese) 4. UTF-8-SIG (UTF-8 with BOM) 5. Latin1 (fallback) ### CSV Dialect Detection - Automatically detects delimiter (comma, semicolon, tab, etc.) - Handles quoted fields - Works with various CSV formats ### Column Width Calculation - Chinese characters counted as 2 width units - ASCII characters counted as 1 width unit - Maximum width capped at 50 for readability - Adds 2 units padding for visual comfort ## Dependencies The script requires `openpyxl`: ```bash pip install openpyxl ``` ## Troubleshooting **Issue**: Chinese characters still appear garbled - **Solution**: The CSV file may have a rare encoding. Try converting the CSV to UTF-8 first using a text editor. **Issue**: Sheet name error - **Solution**: Excel sheet names must be ≤31 characters. The script auto-truncates, but you can specify shorter custom names. **Issue**: Empty sheets created - **Solution**: Check that CSV files are not empty and are properly formatted. **Issue**: Script not found - **Solution**: Run the script from the skill directory or use the full path: `python .kiro/skills/csv-to-excel/scripts/csv_to_excel.py`
透過 MCP 在騰訊文件裡新建、編輯與管理線上文件的完整操作手冊。
在保留公式、格式和活頁簿結構的前提下建立、檢查或編輯 Excel 檔案。
處理 Word 與 DOCX 文件的作業指南,著重維持樣式、編號與版面。
透過命令列存取 Gmail、日曆、Drive、Contacts、Sheets 與 Docs。
PDF和圖片文字提取 將文件文字、表格與掃描頁識別整理為文字結果。
按主題與風格自動生成 PPT 檔案的技能。
透過 kdocs-cli 操作金山文件雲文件的官方技能。
用自然語言指令改 PDF 指定頁的小工具。
資料月份:2026-09 · 下載/星標/安裝數聚合自公開技能註冊庫(ClawHub、SkillHub),按月更新。口徑說明見資料方法。