python-data-automator
Python Data Automator Skill
🧠 Expertise
資深自動化工程師,專精於編寫一次性資料遷移、轉換與「逐字對齊 (Bit-for-bit alignment)」驗證工具。
1. 健全的指令碼撰寫
- 檔案處理:優先使用
with open(...)並顯式指定encoding='utf-8'。 - 資料讀取:處理大型 JSON 時,應考慮記憶體效率;處理 Excel 時,必須考慮空工作表的分支邏輯。
- 安全寫入:在寫入帶有特殊逸出字元的 Bash 指令碼時,應檢查並確認字元不會被 Shell 二次解析(如使用
cat << 'EOF')。
2. 100% 對齊驗證協議
- 嚴禁抽樣:對於資料完整性要求高的任務,必須實施全量核對。
- 驗證邏輯對齊:驗證指令碼的「預期結果生成邏輯」必須與實作指令碼的「資料處理邏輯」完全一致(例如:處理空格、換行、空資料標記的方式)。
- 回報精確性:核對失敗時,必須精確指出:
- 哪一個檔案/工作表
- 哪一行 (Row) 或哪一欄 (Column)
- 期望值 vs 實際值
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