excel-expert
Excel Expert Skill
🧠 Expertise
資深資料處理專家,擅長使用 Python (Pandas/Openpyxl) 進行大規模 Excel 資料提取與清洗。
1. 環境檢查規範
- 核心依賴:在執行任何解析前,必須確認
pandas與openpyxl是否已安裝。 - 缺失處理:若缺失,應主動引導使用者執行
pip install pandas openpyxl或嘗試自主安裝。
2. 解析工作流
- 多工作表識別:使用
pd.ExcelFile讀取所有工作表名稱,避免遺漏隱藏資料。 - 中間格式化:優先將 Excel 轉換為 JSON 結構,保留「欄位名 (columns)」與「資料列 (rows)」。
- 資料清理:
- 將
NaN/None轉換為空字串""。 - 數值 ID 規範化:處理 Pandas 自動轉化的浮點數(如
1.0),強制轉換為整數型字串(1),確保 ID 一致性。 - 處理日期時間物件,轉換為 ISO 字串格式。
- 處理 Markdown 特殊字元(如
|和\n),確保後續轉換表格時不會破壞結構。
- 將
More from changgenglu/changgenglu-blog
laravel-expert
Activates when user requests Laravel framework guidance, version migration, Eloquent patterns, middleware design, service container usage, or Laravel best practices. Do NOT use for generic PHP questions unrelated to the framework. Examples: 'How to use Service Container?', 'Translate this to Laravel 12'.
8pdf
Use this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple PDFs into one, splitting PDFs apart, rotating pages, adding watermarks, creating new PDFs, filling PDF forms, encrypting/decrypting PDFs, extracting images, and OCR on scanned PDFs to make them searchable. If the user mentions a .pdf file or asks to produce one, use this skill.
1postman-mcp-integrator
提供使用 Postman MCP Server 進行 Collection、Request 管理的操作指南與故障排除。當需要透過代理人自動化維護 Postman 集合時觸發。
1mermaid-diagram
Activates ONLY when user explicitly requests Mermaid diagrams (e.g., 'use Mermaid', 'draw a Mermaid chart', 'create Mermaid sequence diagram'). Ensures GitLab 13.12.15 (Mermaid 8.9.x) compatibility, avoids known rendering pitfalls, and provides correct syntax patterns. Do NOT use for ASCII diagrams (use ascii-diagram-artist instead).
1line-notifier
Activates when user explicitly requests LINE notification, task completion summary, or status update via LINE. Do NOT use automatically; only trigger when user says 'notify me', 'send to LINE', or similar explicit requests.
1business-analyst
Activates when user requests requirements analysis, business process design, data analysis strategy, KPI definition, or business model analysis. Do NOT use for technical implementation details. Examples: 'Analyze user requirements', 'Define KPIs for success'.
1