Migrate Oxfmt
oxc-project/oxcOfficial
Guide for migrating a JavaScript or TypeScript project's formatter from Prettier or Biome to Oxfmt.
- CCM score
- 83 of 100
- skills.sh installs
- 4.4K
- GitHub stars
- 23.6K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers the migration flow: running
--migrate prettieror--migrate biome, reviewing generated.oxfmtrc.json, and resolving unsupported options - Includes Biome-to-Oxfmt option mappings for indentation, quotes, semicolons, arrow parentheses, and attribute position
- Flags differences to review, such as the default
printWidth(80 versus Oxfmt's 100) and thesortPackageJsondefault - Designed for teams moving existing Prettier or Biome configurations, including ones with overrides, plugins, or per-directory configs
Install
$ npx -y skills add oxc-project/oxc --skill migrate-oxfmt -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
This skill guides you through migrating a project from Prettier or Biome to Oxfmt.
Overview
Oxfmt is a high-performance, Prettier-compatible code formatter. Most Prettier options are supported directly.
An automated migration tool is built into Oxfmt, supporting both Prettier and Biome as migration sources.
Step 1: Run Automated Migration
First, decide whether the automated tool fits:
- Static config (JSON, or a JS/TS config that just exports a plain object): use
--migratebelow. - Dynamic JS/TS config (logic such as environment branches or computed values):
--migratewrites only a resolved snapshot of the values, and the logic does not survive (a warning is printed). Port the logic tooxfmt.config.tsmanually with the option mappings in this guide. - Nested per-directory configs:
--migrateonly handles the config in the current directory. Run it again in each nested directory (see "Nested Config" in Step 2).
From Prettier
npx oxfmt@latest --migrate prettier
This will:
Details
- Repository
- github.com/oxc-project/oxc
- Category
- Code Review & Quality
- First seen
- Apr 16, 2026
More from oxc-project/oxc
All 2Similar to Migrate Oxfmt
More Code Review & Qualitymigrate-oxlintSkilloxc-project/oxc7.9K installsGuide for migrating a JavaScript or TypeScript project's linter from ESLint to Oxlint.
oxfmtPlugindashed/claude-marketplace27 starsoxfmt — the fast Rust formatter from the oxc project, a Prettier-compatible alternative formatting JS/TS/JSX plus JSON, CSS, YAML, TOML, GraphQL, Markdown and V
Pare LintMCP serverdave-london141 starsStructured linting and formatting via ESLint, Prettier, Biome, and Oxlint as typed JSON.
ultraciteSkillhaydenbleasel/ultracite14K installsZero-config lint and format preset for JS/TS projects across Oxlint, Biome, and ESLint backends.
jscodeshiftSkillpproenca/dot-skills426 installsBest-practice guide with 40 rules for writing, reviewing, and debugging jscodeshift codemods across eight prioritized categories.
biomeSkillbobmatnyc/claude-mpm-skills965 installsSingle tool replacing ESLint and Prettier for JavaScript and TypeScript, with zero-config defaults and Rust-speed checks.