community-automations/codemod-runner

DevOps & Mã nguồn

PublicSubagent Claude

Trình chạy codemod

Quét một đợt refactor trên cả monorepo lớn theo cách thủ công là kiểu công việc dễ bị đình trệ hàng tuần trời, vì một pull request khổng lồ thì chẳng ai review nổi. Runner này chia nhỏ công việc ra.

sonnet1 tuầnjscodeshiftts-morphGitHubNx
ClaudeClaude
ROI for
README.md

Tại sao chọn subagent này

Quét một đợt refactor trên cả monorepo lớn theo cách thủ công là kiểu công việc dễ bị đình trệ hàng tuần trời, vì một pull request khổng lồ thì chẳng ai review nổi. Runner này chia nhỏ công việc ra.

Nó lên kế hoạch thay đổi theo từng package, chạy codemod, rồi chạy test của từng package trước khi mở một pull request nhỏ riêng cho package đó. Bạn nhận được mỗi package một PR dễ review thay vì một diff cả nghìn file mà không ai muốn approve.

Cách vận hành

    • 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.

Ví dụ đầu ra

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.