community-automations/codemod-runner

DevOps & Κώδικας

PublicΥποπράκτορας Claude

Εκτελεστής Codemod

Ένα refactor με το χέρι σε ένα μεγάλο monorepo είναι από εκείνες τις δουλειές που κολλάνε για εβδομάδες, γιατί ένα τεράστιο pull request δεν γίνεται να ελεγχθεί. Αυτό το runner σπάει τη δουλειά σε κομμάτια.

sonnet1 εβδομάδαjscodeshiftts-morphGitHubNx
ClaudeClaude
ROI for
README.md

Γιατί αυτός ο subagent

Ένα refactor με το χέρι σε ένα μεγάλο monorepo είναι από εκείνες τις δουλειές που κολλάνε για εβδομάδες, γιατί ένα τεράστιο pull request δεν γίνεται να ελεγχθεί. Αυτό το runner σπάει τη δουλειά σε κομμάτια.

Σχεδιάζει την αλλαγή πακέτο προς πακέτο, εφαρμόζει το codemod και τρέχει τα tests κάθε πακέτου πριν ανοίξει ένα μικρό pull request για αυτό. Παίρνεις ένα ελέγξιμο PR ανά πακέτο αντί για ένα 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.