Every premium and members-only resource for $9.99/month, as a no-commitment subscription. See the plans

PalateKit

Menu

Request a resource

Describe the resource you are missing in one sentence. We will email you when it is published.

0 / 280

Unlock PalateKit

Unlock everything

Plan

Paying means accepting our terms of sale.

Secure payment by Stripe. Receipts and invoices sent by email.

Welcome back

Sign in to install, download or save this resource. A free account is enough for free resources.

Write jscodeshift codemods v1.0.0

Use this resource to write, review or debug a jscodeshift codemod

New

  • 473 downloads
  • 147 likes
  • 141 saves

Free

Install with the CLI

In a terminal, from the folder you want:

npx --yes palatekit@latest install jscodeshift-codemod-practices

With no option, the skill goes to ~/.agents/skills/; add --agent claude-code (or codex, cursor…) to target an agent.

First time: connect the CLI with

npx --yes palatekit@latest login

The agent applies 40 rules ranked by impact: parser choice, AST traversal, node filtering, transformations and code generation that preserves the original style. You get a more reliable codemod.

Mostly picked by

Updated November 2, 2026

Card for the “Write jscodeshift codemods” skill

Details

Generates with
Your agent's model
Licence
MIT

Similar resources

View all

What you get

  • AGENTS.md: rules by category, from parser to tests
  • references/codegen-preserve-style.md: preserving style; references/advanced-scope-analysis.md: scope analysis

Good fit for

  • A JavaScript migration touches thousands of files
  • Your transformation breaks the formatting of generated code

Not for

    Tags

    • jscodeshift
    • codemod
    • ast
    • migration

    About

    You say

    “Write a jscodeshift codemod that replaces require calls with import statements.”

    Card for the “Write jscodeshift codemods” skill

    Skill published by pproenca under the MIT license, delivered in its original version.

    Show more

    How to use it

    1. Install the skill in your agent's skills folder
    2. Ask your agent to write, review or debug a jscodeshift codemod
    3. Review and adjust the result

    Content preview

    Files

    • AGENTS.md8.6 KB
    • assets/templates/_template.md1.1 KB
    • LICENSE1.1 KB
    • metadata.json0.9 KB
    • NOTICE-PALATEKIT.md0.5 KB
    • README.md4.6 KB
    • references/_sections.md1.7 KB
    • references/advanced-compose-transforms.md2.4 KB
    • references/advanced-custom-collections.md2.5 KB
    • references/advanced-multi-file-state.md2.4 KB
    • references/advanced-scope-analysis.md2.4 KB
    • references/codegen-preserve-style.md1.8 KB
    • references/codegen-print-width.md1.7 KB
    • references/codegen-template-literals.md2 KB
    • references/codegen-tosource-options.md1.9 KB
    • references/filter-computed-properties.md2 KB
    • references/filter-import-binding.md2.2 KB
    • references/filter-jsx-context.md1.8 KB
    • references/filter-nullish-checks.md1.9 KB
    • references/filter-path-parent-check.md1.8 KB
    • references/parser-astexplorer-match.md1.6 KB
    • references/parser-babel5-compat.md1.5 KB
    • references/parser-export-declaration.md1.4 KB
    • references/parser-flow-annotation.md1.3 KB
    • references/parser-typescript-config.md1.3 KB
    • references/runner-batch-processing.md1.6 KB
    • references/runner-extensions-filter.md1.7 KB
    • references/runner-ignore-patterns.md1.6 KB
    • references/runner-parallel-workers.md1.8 KB
    • references/runner-verbose-output.md1.8 KB
    • references/test-dry-run-exploration.md2 KB
    • references/test-fixture-files.md1.9 KB
    • references/test-inline-snapshots.md1.9 KB
    • references/test-negative-cases.md2 KB
    • references/test-parse-errors.md2 KB
    • references/transform-builder-api.md1.7 KB
    • references/transform-insert-import.md2.5 KB
    • references/transform-preserve-comments.md1.9 KB
    • references/transform-remove-unused-imports.md2 KB
    • references/transform-renameto.md1.7 KB
    • references/transform-replacewith-callback.md1.9 KB
    • references/traverse-avoid-repeated-find.md1.7 KB
    • references/traverse-closest-scope.md1.9 KB
    • references/traverse-early-return.md1.8 KB
    • references/traverse-find-filter-pattern.md1.7 KB
    • references/traverse-find-specific-type.md1.4 KB
    • references/traverse-two-pass-pattern.md1.8 KB
    • SKILL.md7.1 KB

    Origin and licence

    Listed unmodified

    Author
    pproenca
    Source
    github.com/pproenca/dot-skills/tree/cf93c57cac89d6fc3e4194686000411567f5caf3/skills/.experimental/jscodeshift
    Licence
    MIT

    Notice

    « jscodeshift » (pproenca, MIT) livré dans sa version d'origine : fiche en français et en anglais par PalateKit.

    User reviews

    –

    No ratings yet

    Loading reviews…

    Delete your review?

    Your rating and comment will be removed from the page.