一键导入
codemod-gen
Generate codemods for large-scale code changes. Use when refactoring patterns across many files.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Generate codemods for large-scale code changes. Use when refactoring patterns across many files.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | codemod-gen |
| description | Generate codemods for large-scale code changes. Use when refactoring patterns across many files. |
You need to replace a pattern across 500 files. Find and replace won't cut it. This tool generates AST-based codemods that safely transform your code at scale.
One command. Zero config. Just works.
npx ai-codemod "convert class components to functional"
# Class to functional components
npx ai-codemod "convert class components to functional"
# Modernize code
npx ai-codemod "replace lodash.get with optional chaining"
# API migrations
npx ai-codemod "migrate from moment to date-fns"
# Framework upgrades
npx ai-codemod "update React Router v5 to v6"
This is one of 110+ free developer tools built by LXGIC Studios. No paywalls, no sign-ups, no API keys on free tiers. Just tools that work.
Find more:
No install needed. Just run with npx. Node.js 18+ recommended. Needs OPENAI_API_KEY environment variable.
npx ai-codemod --help
Takes your plain English description of the transformation and generates a jscodeshift codemod script. The AI understands AST manipulation and outputs a codemod you can run with jscodeshift or babel.
MIT. Free forever. Use it however you want.
Built by LXGIC Studios
Match emotional frequency, detect power dynamics (444_CONSULT). Detects emotional state and power imbalance. The empathy detection stage of arifOS metabolic loop. Use when emotional calibration matters.
Establish position, intake context, ground reality (000_INTAKE). The intake stage of arifOS metabolic loop. Reduces sensory entropy by fixing a reference frame. Use at the beginning of any interaction to establish grounding.
Check F1-F9 floors, compute governance score (777_VERIFY). Checks constitutional floors. The enforcement layer of APEX tier. Use to verify any action against arifOS constitution.
Reduce entropy, refine output, cool structure (888_HOLD). Reduces entropy and refines output. The cooling process. Use when refining drafts or reducing complexity.
Combine knowledge, cross-domain synthesis (333_DELIBERATE). Combines knowledge across domains and forges creative connections. Use when connecting disparate domains or synthesizing insights.
Logical inference, causal trace, plan steps (222_PROCESS). Executes logical inference and causal analysis. The cognitive engine of AGI tier. Use when breaking down complex problems into logical steps.