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
Claude
83ROI
87Scale
$3.1k91Saved
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
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.
Lên kế hoạch thay đổi dưới dạng một pull request cho mỗi package để đảm bảo mỗi PR đều nhỏ gọn và dễ review.
pending
Áp dụng codemod, chạy build và test của package đó, và revert sạch sẽ nếu có gì đó hỏng.
pending
Mở một pull request có gắn nhãn cho mỗi package kèm tóm tắt diff và kết quả test đính kèm.
pending
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.