執行跨多天的重構而不失去進度脈絡
何時使用: 當你正在拆解一個單體架構、遷移框架,或進行任何需要超過一個工作階段才能完成的工作時。
步驟
-
明確使用技能來啟動工作We're migrating the auth module from JWT to session cookies. Use the planning-with-files skill to map this out before you start.✓ 已複製→ Claude 在碰觸程式碼前先寫入包含各階段的 task_plan.md
-
讓 Claude 執行;可跨天暫停與恢復Pick up where we left off — read progress.md and continue.✓ 已複製→ Claude 重新讀取計畫並確切知道下一個階段為何
-
查看 findings.md 中的意外發現Summarize findings.md — anything that changed the original plan?✓ 已複製→ 列出若無記錄將會遺失的各項發現
結果: 一個能在情境重置後存活的重構,並留有可實際審閱的稽核軌跡。
注意事項
- 技能被用於微不足道的單行修改,徒增額外負擔 — 告訴 Claude「skip planning-with-files, this is a one-shot fix」
搭配使用: filesystem · git