smithery/changgenglu

python-data-automator

當需要進行資料轉換、建立核對指令碼、或執行自動化驗證任務時觸發。專注於 100% 資料對齊與健?

Installation

$ npx skills add smithery/changgenglu --skill python-data-automator

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery/changgenglu.

npx skills add smithery/changgenglu

Browse all from smithery/changgenglu

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Skill metadata

Parsed from SKILL.md frontmatter.

Version1.0.0

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,701 B
  • docs SUMMARY.md 185 B

History

  1. First recorded snapshot · 0 installs

SKILL.md

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 實際值

3. 自動化模板

  • 資料遷移模板:Source -> Intermediate (JSON) -> Target。
  • 核對模板:Re-generate Expectation from Source -> Compare with Actual Target Content。

Constraints

  • 所有驗證腳本必須回報「100% 核對通過」方可視為完成。
  • 若發現單一字元不符,必須修正產出邏輯而非手動調整結果。