{"id":"ae07a518-3ab9-4529-a346-80bd956e51dd","shortId":"TsmeuP","kind":"skill","title":"Apply repeatable JavaScript and TypeScript codemods across large codebases with jscodeshift","tagline":"Use jscodeshift when an agent needs AST-based JavaScript or TypeScript codemods for bulk migrations, API rewrites, and large refactors with reviewable diffs.","description":"# Apply repeatable JavaScript and TypeScript codemods across large codebases with jscodeshift\n\nUse jscodeshift when an agent needs AST-based JavaScript or TypeScript codemods for bulk migrations, API rewrites, and large refactors with reviewable diffs.\n\n## Prerequisites\n\nNode.js, npm or pnpm, Git\n\n## Installation\n\nUse the upstream install or setup path that matches your environment:\n- $ npm install -g jscodeshift\n- make the transform more readable.\n- To update docs in /docs, use npm run docs.\n- To view these docs locally, use npx http-server ./docs\n\nRequirements and caveats from upstream:\n- const {run: jscodeshift} = require('jscodeshift/src/Runner')\n- const path = require('node:path');\n- An AST node is a plain JavaScript object with a specific set of fields, in\n\nBasic usage or getting-started notes:\n- Get jscodeshift from [npm](https://www.npmjs.com/package/jscodeshift):\n- This will install the runner as jscodeshift.\n- ## VSCode Debugger\n\n- Source: https://github.com/facebook/jscodeshift\n- Extracted from upstream docs: https://raw.githubusercontent.com/facebook/jscodeshift/HEAD/README.md\n\n## Documentation\n\n- https://jscodeshift.com\n\n## Source\n\n- [Agent Skill Exchange](https://agentskillexchange.com/skills/apply-repeatable-javascript-and-typescript-codemods-across-large-codebases-with-jscodeshift/)","tags":["apply","repeatable","javascript","and","typescript","codemods","across","large","codebases","with","jscodeshift","skills"],"capabilities":["skill","source-agentskillexchange","skill-apply-repeatable-javascript-and-typescript-codemods-across-large-codebases-with-jscodeshift","topic-agent-skills","topic-ai-agents","topic-ai-tools","topic-awesome-list","topic-claude-code","topic-codex","topic-cursor","topic-llm","topic-mcp","topic-npx-skills","topic-openclaw","topic-skills-catalog"],"categories":["skills"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/agentskillexchange/skills/apply-repeatable-javascript-and-typescript-codemods-across-large-codebases-with-jscodeshift","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"cli":"npx skills add agentskillexchange/skills","source_repo":"https://github.com/agentskillexchange/skills","install_from":"skills.sh"}},"qualityScore":"0.454","qualityRationale":"deterministic score 0.45 from registry signals: · indexed on github topic:agent-skills · 8 github stars · SKILL.md body (1,319 chars)","verified":false,"liveness":"unknown","lastLivenessCheck":null,"agentReviews":{"count":0,"score_avg":null,"cost_usd_avg":null,"success_rate":null,"latency_p50_ms":null,"narrative_summary":null,"summary_updated_at":null},"enrichmentModel":"deterministic:skill-github:v1","enrichmentVersion":1,"enrichedAt":"2026-05-18T19:09:24.690Z","embedding":null,"createdAt":"2026-05-18T13:15:07.947Z","updatedAt":"2026-05-18T19:09:24.690Z","lastSeenAt":"2026-05-18T19:09:24.690Z","tsv":"'/docs':102,117 '/facebook/jscodeshift':174 '/facebook/jscodeshift/head/readme.md':181 '/package/jscodeshift):':161 '/skills/apply-repeatable-javascript-and-typescript-codemods-across-large-codebases-with-jscodeshift/)':190 'across':7,42 'agent':16,51,185 'agentskillexchange.com':189 'agentskillexchange.com/skills/apply-repeatable-javascript-and-typescript-codemods-across-large-codebases-with-jscodeshift/)':188 'api':28,63 'appli':1,36 'ast':19,54,134 'ast-bas':18,53 'base':20,55 'basic':148 'bulk':26,61 'caveat':120 'codebas':9,44 'codemod':6,24,41,59 'const':123,128 'debugg':170 'diff':35,70 'doc':100,106,110,178 'document':182 'environ':88 'exchang':187 'extract':175 'field':146 'g':91 'get':152,155 'getting-start':151 'git':76 'github.com':173 'github.com/facebook/jscodeshift':172 'http':115 'http-server':114 'instal':77,81,90,164 'javascript':3,21,38,56,139 'jscodeshift':11,13,46,48,92,125,156,168 'jscodeshift.com':183 'jscodeshift/src/runner':127 'larg':8,31,43,66 'local':111 'make':93 'match':86 'migrat':27,62 'need':17,52 'node':131,135 'node.js':72 'note':154 'npm':73,89,104,158 'npx':113 'object':140 'path':84,129,132 'plain':138 'pnpm':75 'prerequisit':71 'raw.githubusercontent.com':180 'raw.githubusercontent.com/facebook/jscodeshift/head/readme.md':179 'readabl':97 'refactor':32,67 'repeat':2,37 'requir':118,126,130 'review':34,69 'rewrit':29,64 'run':105,124 'runner':166 'server':116 'set':144 'setup':83 'skill':186 'skill-apply-repeatable-javascript-and-typescript-codemods-across-large-codebases-with-jscodeshift' 'sourc':171,184 'source-agentskillexchange' 'specif':143 'start':153 'topic-agent-skills' 'topic-ai-agents' 'topic-ai-tools' 'topic-awesome-list' 'topic-claude-code' 'topic-codex' 'topic-cursor' 'topic-llm' 'topic-mcp' 'topic-npx-skills' 'topic-openclaw' 'topic-skills-catalog' 'transform':95 'typescript':5,23,40,58 'updat':99 'upstream':80,122,177 'usag':149 'use':12,47,78,103,112 'view':108 'vscode':169 'www.npmjs.com':160 'www.npmjs.com/package/jscodeshift):':159","prices":[{"id":"c026f07b-d4d6-44c2-80fb-02573f1352e8","listingId":"ae07a518-3ab9-4529-a346-80bd956e51dd","amountUsd":"0","unit":"free","nativeCurrency":null,"nativeAmount":null,"chain":null,"payTo":null,"paymentMethod":"skill-free","isPrimary":true,"details":{"org":"agentskillexchange","category":"skills","install_from":"skills.sh"},"createdAt":"2026-05-18T13:15:07.947Z"}],"sources":[{"listingId":"ae07a518-3ab9-4529-a346-80bd956e51dd","source":"github","sourceId":"agentskillexchange/skills/apply-repeatable-javascript-and-typescript-codemods-across-large-codebases-with-jscodeshift","sourceUrl":"https://github.com/agentskillexchange/skills/tree/main/skills/apply-repeatable-javascript-and-typescript-codemods-across-large-codebases-with-jscodeshift","isPrimary":false,"firstSeenAt":"2026-05-18T13:15:07.947Z","lastSeenAt":"2026-05-18T19:09:24.690Z"}],"details":{"listingId":"ae07a518-3ab9-4529-a346-80bd956e51dd","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"agentskillexchange","slug":"apply-repeatable-javascript-and-typescript-codemods-across-large-codebases-with-jscodeshift","github":{"repo":"agentskillexchange/skills","stars":8,"topics":["agent-skills","ai-agents","ai-tools","awesome-list","claude-code","codex","cursor","llm","mcp","npx-skills","openclaw","skills-catalog"],"license":"mit","html_url":"https://github.com/agentskillexchange/skills","pushed_at":"2026-05-18T19:02:17Z","description":"The open catalog of AI agent skills — 2,000+ security-scanned skills for Claude Code, Cursor, Codex, and more.","skill_md_sha":"8151d741aecb000b50c1f2d9b68a8c5410d04e36","skill_md_path":"skills/apply-repeatable-javascript-and-typescript-codemods-across-large-codebases-with-jscodeshift/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/agentskillexchange/skills/tree/main/skills/apply-repeatable-javascript-and-typescript-codemods-across-large-codebases-with-jscodeshift"},"layout":"multi","source":"github","category":"skills","frontmatter":{"name":"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."},"skills_sh_url":"https://skills.sh/agentskillexchange/skills/apply-repeatable-javascript-and-typescript-codemods-across-large-codebases-with-jscodeshift"},"updatedAt":"2026-05-18T19:09:24.690Z"}}