Alex Bit

2K posts

Alex Bit banner
Alex Bit

Alex Bit

@alex__bit

love people & solving hard technical problems. forward-looking. systems thinker. building @Codemod to make code maintenance invisible for all. ex @Meta.

Palo Alto, CA Katılım Haziran 2009
3.5K Takip Edilen1.2K Takipçiler
Sabitlenmiş Tweet
Alex Bit
Alex Bit@alex__bit·
npx codemod ai coding agents struggle with large migrations. slow, unreliable, costly. they need a lot of babysitting. if you’re a platform/principal eng you’ve felt this pain 😅 so we gave them a new superpower npx codemod ai 🎉 everything your AI coding agent needs for fast, reliable code migrations free, open source, local-first, no login and it gets better over time as models improve + community contributes to the registry try it. break it. tell us what sucks link + debarrel case study in replies 👇🏼
GIF
English
2
6
20
1.1K
Alex Bit
Alex Bit@alex__bit·
@samsantosb @codemod , open source tooling for deterministic code mining and modification. OpenJS Foundation partner and adopted by React, Node.js, Nuxt, pnpm, webpack, react router, express, and many more. 2M+ codemod runs to date. npx codemod ai go.codemod.com/cli-docs
English
0
0
6
96
Sam
Sam@samsantosb·
Quais recursos você faz pra reduzir o não-determinismo da AI no trabalho ? Você ainda faz code review ?
Português
35
3
54
11.4K
Jonas Hernlund
Jonas Hernlund@jonashernlund·
@sama Two months free won't move teams off Claude Code. Lock-in isn't price. It's repo conventions, custom commands, internal evals, CI integration. Migration tooling beats trial length. Ship the codemod, not the discount.
English
1
1
2
1.7K
Sam Altman
Sam Altman@sama·
codex is the best AI coding product and we want to make it easy to try. for the next 30 days, we are giving companies that want to try switching over two months of free codex usage.
English
1.8K
885
21.3K
2.3M
Alex Bit
Alex Bit@alex__bit·
awesome. have you heard about our codemod runtime jssg (JS ast-grep)? if you ever take it for a spin, would love to hear your feedback on it #how-jssg-differs" target="_blank" rel="nofollow noopener">docs.codemod.com/jssg/intro#how… you can just run npx codemod ai and your coding agents will get all the knowledge and tools it needs to build jssg codemods! just describe what you want from your agent...
English
1
0
0
41
Cole Lawrence
Cole Lawrence@refactorordie·
@alex__bit TSSLint, custom TypeScript scripts that leverage the TypeScript compiler AST, forked dprint plugins (just formatting stuff)
English
1
0
1
49
Cole Lawrence
Cole Lawrence@refactorordie·
I must say that understanding RegExp and codemod tooling has been extremely helpful in a world of AI slop and accidental edits
English
1
0
5
108
Alex Bit retweetledi
React Summit 🔥The biggest React conference
🤖 Asking AI to refactor 200 files burns tokens, takes minutes, and sometimes hallucinates. A codemod does it reliably — for free. Nicolas Carlo shows how to use AI to write the codemods your team actually needs, live. Catch it at React Summit US!
React Summit 🔥The biggest React conference tweet media
English
0
1
2
454
Alex Bit
Alex Bit@alex__bit·
That’s what we are working on at @codemod. Framework builders can easily ship codemods with their new releases. it’s never been easier to do that. They just need to run one command and then their agent knows what to do next… npx codemod ai go.codemod.com/cli-docs Adopted by React, Node.js, Nuxt, pnpm, webpack, react router, express, and many more.
English
0
0
1
69
Mike Cao
Mike Cao@caozilla·
There is only one reason we have backwards compatibility in software: humans. Having to adjust our workflows is difficult and inconvenient. But I can imagine a point where this will no longer matter if AI agents can simply update your software for you, like a universal codemod. Then we can always be on the best standards. Python would be at version 9 by now.
English
1
0
1
111
shadcn
shadcn@shadcn·
How can I make shadcn/ui better for you? What do you need?
English
346
8
935
174.5K
Alex Bit
Alex Bit@alex__bit·
Happy to help. Btw, did you know that jssg (js ast-grep) has been adopted by top frameworks such as React, Node.js, Nuxt, pnpm, webpack, react router, express, ESlint, Backstage and many more? More than 2M codemod runs to date so far. 🤯 It’s 10x more performant than jscodeshift. It has a vibrant community and actively maintained. Every day more jssg codemods are created and published to Codemod Registry. Feel free to ping me if u ever have any codemod questions! ;)
English
1
0
1
56
Grok
Grok@grok·
Thanks for sharing this, Alex! JSSG (JavaScript AST-Grep) looks like a solid evolution—secure sandboxed execution, Tree-sitter parsing, ast-grep pattern matching, and multi-language support make it stand out for reliable, high-performance transforms. Perfect fit for the Codemod platform's hybrid deterministic + AI approach you mentioned earlier. This strengthens why it's one of the top toolkits for enterprise-scale work.
English
1
0
1
56
Felix Angelov 💙
Felix Angelov 💙@felangelov·
Is it just me or would we not be better off building a codemod to do these things? Afaict, all of the example skills could be codemods that use static analysis and generate the relevant code which would be way more efficient, performant, and deterministic than relying on an LLM.
Flutter@FlutterDev

Introducing Agent Skills for Flutter and Dart to give your AI tools domain-specific expertise 📓 These initial core Skills are designed to handle the most common Flutter development hurdles. Learn how to start using them in your workflow → goo.gle/4uBRR6M

English
8
0
76
9.6K
Grok
Grok@grok·
**Top codemod toolkits & what makes them stand out:** - **jscodeshift** (JS/TS, by Meta): AST-based (via recast), jQuery-like API for precise transforms, parallel runner, dry-run + style preservation. Gold standard for React/JS large-scale refactors. - **ts-morph** (TypeScript): Wrapper on TS Compiler API – type-aware analysis, safe renames/symbol ops, great for complex TS-specific changes. - **OpenRewrite** (Java): Lossless Semantic Trees (LST) for semantic, recipe-based migrations. Highly deterministic and enterprise-proven. - **LibCST** (Python): Concrete Syntax Tree – precise, formatting-preserving transforms (successor to Bowler). - **Codemod platform** (codemod.com): Hybrid deterministic + AI (Codemod2.0), workflows, agent orchestration for massive enterprise migrations. For Dart/Flutter, most are custom via analyzer or dart fix – fewer mature off-the-shelf options vs JS/Java.
English
1
0
1
50
Alex Bit
Alex Bit@alex__bit·
@grok @ncq_syh @felangelov What are the top codemod toolkits out there and what are their mean features that make them special?
English
1
0
1
27
Grok
Grok@grok·
A codemod is a script/tool that automates large-scale, repeatable code transformations across a codebase. It typically parses code into an AST (abstract syntax tree), applies precise find-and-replace rules based on static analysis, then rewrites files—making changes deterministic, fast, and safe (with version control diffs). Common in Flutter/Dart, React, etc., for refactors that LLMs might suggest but can't guarantee perfectly.
English
1
0
2
183
Erik Dunteman
Erik Dunteman@erikdunteman·
@diptanu @threepointone is consistently top of my list for people who think and write with high clarity on these topics, worth the cc!
English
1
0
4
122
Erik Dunteman
Erik Dunteman@erikdunteman·
lazyweb - I remember seeing a shit ton of blogs and posts making the claim "we replaced all our tools with just a bash tool and tokens reduced x% and accuracy increased y%" Anyone have these bookmarked? I've got some narratives to push
English
4
0
18
2.5K
AstraKernel 💫
AstraKernel 💫@AstraKernel·
The official pnpm rewrite in Rust >pacquet is a port of the pnpm CLI from TypeScript to Rust > pacquet is under active development and not yet ready for production use. github.com/pnpm/pacquet
English
6
20
276
23.1K
Alex Bit
Alex Bit@alex__bit·
@ericjuta Cool. Did it eventually create a good codemod to get the job done? Which codemod toolkit did it use?
English
0
0
1
41
Ξric Juta
Ξric Juta@ericjuta·
bruh this is with gpt 5.5 no thinking "The trigger reinsertion still only matched a subset because some option objects contain nested braces. I’m going to use an AST-aware codemod with TypeScript’s parser for this part instead of regex so nested concurrency/cancel objects don’t get skipped."
Ξric Juta tweet media
English
4
0
7
400
Stanzilla
Stanzilla@stanzillaz·
@alex__bit Hrrm, that sets the version to the latest RC and changed all my single quotes to double quotes in the workspace.yaml
English
2
0
0
115