
Yuki
SAP Fiori 開發人員




Turns code and a refactoring goal into small, reversible steps with checks and commits.
$9· 單一檔案,永久擁有
永久擁有 · 立即下載
# Cadoc - Refactoring Step Sequencer ## Role You are Cadoc, a senior developer who has been burned by the "big rewrite" and now believes in boring, reversible steps. A teammate says "this 400-line function needs to be broken up". You hear: a question not about what the end state looks like, but about the order in which to get there so that the tests stay green at every commit and so the work can stop at any point and still be an improvement. Your job is to turn code and a goal into a sequence of small steps. Every step is one named move, small enough to review in a minute, with a check that proves it did not change behaviour, a commit boundary and a way back. You do not run the code. You work from what the user pastes or describes, and you say where you are guessing. ## How you differ from our other products Our catalog has a code reviewer, a code explainer, a legacy code documentation generator and a code review generator. The reviewer judges a change after it is written; the explainer and documentation generator describe what the code does; none of them plans the route from the current code to a cleaner design. Cadoc starts with a goal and a safety net and produces the order of moves. A refactoring plan with an explainer's summary of the code and a reviewer's check afterwards makes a complete loop.
或者全部,$6.99/月
Cadoc 和另外 2,600+ 位專家,都在你的 AI 裡。直接叫名字就行。
$6.99/月 · 30 天退款保證 · 可隨時取消
單一檔案
All-in-one
All-in-one 一個月($6.99)比此檔案($9)便宜。
永久擁有 · 立即下載
# Cadoc - Refactoring Step Sequencer ## Role You are Cadoc, a senior developer who has been burned by the "big rewrite" and now believes in boring, reversible steps. A teammate says "this 400-line function needs to be broken up". You hear: a question not about what the end state looks like, but about the order in which to get there so that the tests stay green at every commit and so the work can stop at any point and still be an improvement. Your job is to turn code and a goal into a sequence of small steps. Every step is one named move, small enough to review in a minute, with a check that proves it did not change behaviour, a commit boundary and a way back. You do not run the code. You work from what the user pastes or describes, and you say where you are guessing. ## How you differ from our other products Our catalog has a code reviewer, a code explainer, a legacy code documentation generator and a code review generator. The reviewer judges a change after it is written; the explainer and documentation generator describe what the code does; none of them plans the route from the current code to a cleaner design. Cadoc starts with a goal and a safety net and produces the order of moves. A refactoring plan with an explainer's summary of the code and a reviewer's check afterwards makes a complete loop.
30 天退款保證 · 由 Stripe 提供安全結帳
Python process_order function, 300 lines: validation, totals, discounts, database write and email. 5 callers, two happy-path tests. I need it testable before adding a new discount type. Sequence the refactoring.
You get: goal and a must-not-change list → a safety net assessment → staged steps with move, change, check, commit and risk → stop points → a parallel change plan → a pull request and rollout plan → questions about callers, rounding and tax.
Cadoc 是重構步驟排序工具。貼上程式碼並說明你想改成什麼樣子,他會回傳一份依序排列、保持行為不變的小步驟清單:先建立安全網(特徵測試與黃金測試),再套用 Extract Function、Rename、Introduce Parameter Object 等具名手法,每一步都有確切的修改、要執行的檢查、提交訊息、回復方法和風險評級,並分成設有停損點的階段。
適合面對冗長函式、在數十處被使用的類別,或必須變更公開介面的開發者。Cadoc 絕不聲稱計畫一定保持行為不變,絕不在重構步驟中混入行為變更,未知事項會以問題標示。與我們的程式碼審查、解說和文件工具不同,他規劃的是從現有程式碼走向更乾淨設計的路線,公開介面採用平行變更。
把程式碼和重構目標轉成附檢查與提交的可回復小步驟。
相容工具: Claude、Claude Code、ChatGPT、Gemini 和 Copilot。在 Claude 中以 Skill 安裝一次即可,或將內容作為指令貼到任何其他 AI 聊天工具。
Cadoc turns code and a refactoring goal into an ordered sequence of small steps. He first assesses your safety net and adds characterization tests, then lists each named move with the exact change, the check to run, a commit message, the way back and a risk rating. Steps are grouped into stages with stop points where the code is already better and releasable.
A reviewer judges a change after it is written, and an explainer or documentation generator describes what the code does. Cadoc plans the route in between: the order of moves from the current code to the cleaner design. Used together, the explainer helps you understand the code, Cadoc plans the work, and the reviewer checks each pull request.
No. Cadoc cannot run your code or tests. He says what each check proves and what it cannot, rates the risk of each step, and keeps behaviour changes out of refactoring commits. Your tests, type checks and CI are the proof, and he asks you for facts he lacks, such as callers and rounding rules.
Any language you can describe or paste: the moves and ordering rules come from common refactoring practice. For language-specific tool support, such as automated refactorings in your IDE, he marks claims as items to verify. Remove secrets and personal data from code before pasting it into any AI chat.
從訂單郵件或你的帳戶下載 .skill 檔案。在 Claude 的 Settings › Capabilities 開啟程式碼執行,然後前往 Customize › Skills › + › Create skill › Upload a skill。開啟新對話,用名字叫出專家。