
Description
Migrate to Oxfmt is an agent skill that guides the move of a project's code formatter from Prettier or Biome to Oxfmt. Oxfmt is a high-performance formatter that is compatible with Prettier, and most Prettier options are supported directly. The skill starts by deciding whether the built-in automated migration fits your project. A static configuration, either JSON or a JavaScript or TypeScript config that only exports a plain object, can be converted with the --migrate option. A dynamic configuration, with logic such as environment branches or computed values, cannot: the migration writes a resolved snapshot of the values and drops the logic, printing a warning, so the logic has to be ported by hand into oxfmt.config.ts using the option mappings in the guide. Projects with nested per-directory configs need the migration run in each nested directory, which the guide covers under nested configs. The skill is published by the oxc project on skills.sh, and the listing shows about 4.1K installs and a repository with about 23.1K stars. Its security audits show Gen Agent Trust Hub: Pass, Socket: Pass and Snyk: Pass. It suits maintainers who want faster formatting without rewriting the rules their code already follows.…
Highlights
- Step-by-step move from Prettier or Biome to Oxfmt
- Automated migration with --migrate
- Guidance for dynamic and nested configs
- Prettier-compatible options
Ratings & Reviews
No ratings yet
Be the first to rate migrate-oxfmt.
People also visit
migrate-oxfmt FAQ
What does the skill do?
It walks you through switching a project's formatter from Prettier or Biome to Oxfmt, starting with the automated migration.
When does the automated migration not work?
With dynamic JS or TS config files that use logic. It writes only a snapshot of the values, so the logic must be ported by hand.
What about nested configs?
The migration handles only the config in the current directory, so run it again in each nested directory.
How do I install it?
Run npx skills add https://github.com/oxc-project/oxc --skill migrate-oxfmt.
What security audits has it passed?
skills.sh lists three audits: Gen Agent Trust Hub Pass, Socket Pass and Snyk Pass.
What are the best migrate-oxfmt alternatives?
Popular alternatives to migrate-oxfmt include setup-pre-commit, compound-docs and lfg. See all migrate-oxfmt alternatives









