community-automations/codemod-runner

DevOps 與程式碼

PublicClaude 子代理

Codemod 執行器

在大型 monorepo 裡手動推動重構,往往因為一個巨大的 pull request 根本沒人審得完,一卡就是好幾週。這個 runner 會把工作拆開來做。

sonnet1 週jscodeshiftts-morphGitHubNx
ClaudeClaude
ROI for
README.md

為什麼選擇此子代理

在大型 monorepo 裡手動推動重構,往往因為一個巨大的 pull request 根本沒人審得完,一卡就是好幾週。這個 runner 會把工作拆開來做。

它會逐個套件規劃變更、套用 codemod,並在每個套件開出一個小型 pull request 之前先跑完該套件的測試。你拿到的是每個套件一個可審查的 PR,而不是沒人敢 approve 的千檔案 diff。

運作方式

    • Read

      Used at step 01 to kick off the pipeline.

    • Write

      Used at step 01 to kick off the pipeline.

    • WebFetch

      Used at step 01 to kick off the pipeline.

    • WebSearch

      Used at step 01 to kick off the pipeline.

輸出範例

json
// Sample output
// (generated when the pipeline finishes)

Plan a large refactor across packages, then for each package apply the codemod, run its tests, and open a separate pull request with a change summary; never bundle multiple packages into one PR.

Unlock the rest

The full agent definition, install snippet, and starter task are gated for community members.

Members get the full `.md` agent file, the npm / pnpm install one-liners, a starter prompt that we've tuned against real runs, and the open-source repo when this automation ships there. One email, magic link, done.