Twmd routine sync

From frank890417/taiwan-md · View interactive version

Twmd routine sync is an AI agent skill from the GitHub repository frank890417/taiwan-md. 讓這台機器的 routine prompt 與排程設定跟 git 的 routine SSOT 對齊。 Routine twmd-routine-sync fires 05:30 daily(晨鏈之前); manual via "/twmd-routine-sync" or "同步 routine" or "routine 對齊". TRIGGER when: routine twmd-routine-sync fires / user says "同步 routine" / "routine 三層對賬" / 剛 ship 完 routine 改動要讓其他機器跟上.

How to use this skill

Skill file

🧬 Taiwan.md — Routine Sync(daily)v1.0

canonical 在 ROUTINE.md 註 ¹⁸。本 skill 是薄殼,只 pointer + HARD gate。

🚨 STRICT BECOME GATE

跑 /twmd-become micro 走完 Step 0-9,self-test 過才進第 1 步。

執行

git pull origin main
python3 scripts/tools/routine-sync.py            # 對賬,不動檔案

exit 0 → 安靜收工。有漂移 → 先判方向再動手:git 新用 --apply --stamp $(date +%F)(機器版先存證再覆蓋),機器新用 --harvest,判不出來停手交觀察者。cron / enabled 的 live 值工具不改,用 mcp__scheduled-tasks__update_scheduled_task。

HARD gate

收官

/twmd-finale:memory 一行寫對賬結果(幾項一致/修了什麼/方向)+ 未解漂移 + Handoff。零漂移也要記,否則看不出這條有沒有在跑。

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.