Skill Detail

Apply repeatable JavaScript and TypeScript codemods across large codebases with jscodeshift

Use jscodeshift when an agent needs AST-based JavaScript or TypeScript codemods for bulk migrations, API rewrites, and large refactors with reviewable diffs.

Code Quality & ReviewMulti-Framework
Code Quality & Review Multi-Framework Security Reviewed
⭐ 10k GitHub stars ⬇ 27.1M/wk npm
INSTALL WITH ANY AGENT
npx skills add agentskillexchange/skills --skill apply-repeatable-javascript-and-typescript-codemods-across-large-codebases-with-jscodeshift Copy
Works best when you want a reusable capability, not another fragile one-off prompt.
At a glance
Tools required
Node.js, npm or pnpm, Git
Install & setup
Install with npm install -g jscodeshift or run it with npx, then provide a transform file and target paths, for example jscodeshift -t ./transform.js src/.
Author
Meta
Publisher
Organization
Last updated
Apr 16, 2026
Quick brief

Use jscodeshift when the task is to apply a codemod across many JavaScript or TypeScript files, such as API migrations, naming rewrites, or framework upgrade cleanup. Invoke it instead of editing code manually or using a general coding assistant normally when you need one transform to run consistently over a large codebase with dry runs, parser control, and auditable output. The scope boundary is clear: this skill is about repeatable AST-driven codemod execution, not a generic library listing and not a broad JavaScript toolkit card.