Skip to content
Back to skills

Apply Repeatable Javascript And Typescript Codemods Across Large Codebases With Jscodeshift

ASecurity

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

  • 36 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added June 2, 2026
ai-agentsjavascripttypescriptgojavanodegitapisecuritydocumentation

Works with

  • vscode
  • api

Security analysis

A92/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned June 2, 2026

npx -y skills add agentskillexchange/skills --skill apply-repeatable-javascript-and-typescript-codemods-across-large-codebases-with-jscodeshift --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Apply Repeatable Javascript And Typescript Codemods Across Large Codebases With Jscodeshift?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Apply Repeatable Javascript And Typescript Codemods Across Large Codebases With Jscodeshift
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/agentskillexchange-apply-repeatable-javascript-and-typescript-codemod/badge)](https://www.skillsdirectory.com/skills/agentskillexchange-apply-repeatable-javascript-and-typescript-codemod)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: "Apply repeatable JavaScript and TypeScript codemods across large codebases with jscodeshift"
slug: "apply-repeatable-javascript-and-typescript-codemods-across-large-codebases-with-jscodeshift"
description: "Use jscodeshift when an agent needs AST-based JavaScript or TypeScript codemods for bulk migrations, API rewrites, and large refactors with reviewable diffs."
github_stars: 9983
verification: "security_reviewed"
source: "https://github.com/facebook/jscodeshift"
author: "Meta"
publisher_type: "organization"
category: "Code Quality & Review"
framework: "Multi-Framework"
tool_ecosystem:
  github_repo: "facebook/jscodeshift"
  github_stars: 9983
  npm_package: "jscodeshift"
  npm_weekly_downloads: 27093990
---

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

## Prerequisites

Node.js, npm or pnpm, Git

## Installation

Use the upstream install or setup path that matches your environment:
- $ npm install -g jscodeshift
- make the transform more readable.
- To update docs in /docs, use npm run docs.
- To view these docs locally, use npx http-server ./docs

Requirements and caveats from upstream:
- const {run: jscodeshift} = require('jscodeshift/src/Runner')
- const path = require('node:path');
- An AST node is a plain JavaScript object with a specific set of fields, in

Basic usage or getting-started notes:
- Get jscodeshift from [npm](https://www.npmjs.com/package/jscodeshift):
- This will install the runner as jscodeshift.
- ## VSCode Debugger

- Source: https://github.com/facebook/jscodeshift
- Extracted from upstream docs: https://raw.githubusercontent.com/facebook/jscodeshift/HEAD/README.md

## Documentation

- https://jscodeshift.com

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/apply-repeatable-javascript-and-typescript-codemods-across-large-codebases-with-jscodeshift/)

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…