jscodeshift

Community

Master jscodeshift for robust code transformations.

Authorpproenca
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides a comprehensive guide to writing effective, performant, and safe jscodeshift codemods, preventing common pitfalls and ensuring reliable code transformations.

Core Features & Use Cases

  • Best Practices: Covers parser configuration, AST traversal, node filtering, transformation, and code generation.
  • Performance Optimization: Rules to ensure codemods run efficiently on large codebases.
  • Correctness & Safety: Guidelines to prevent unintended code modifications and runtime errors.
  • Use Case: When developing a codemod to migrate a large React codebase from class components to functional components, use this Skill to ensure the codemod is robust, efficient, and doesn't break existing functionality.

Quick Start

Apply the jscodeshift skill to review the best practices for writing a codemod to refactor React component imports.

Dependency Matrix

Required Modules

None required

Components

scriptsreferencesassets

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: jscodeshift
Download link: https://github.com/pproenca/dot-skills/archive/main.zip#jscodeshift

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.