Index of every page on this site: llms.txt
All skills
haydenbleasel avatar

/ultracite

@2067174
by Hayden Bleaselhaydenbleasel/ultracite3.4k stars
129
Run it yourself

Ultracite is a zero-config linting and formatting preset for JavaScript/TypeScript projects. Use when: (1) Setting up or initializing Ultracite in a project, or migrating its existing lint and format config onto Ultracite (ultracite init), (2) Running linting or formatting commands (check, fix, doctor), (3) Writing or reviewing JS/TS code in a project that uses Ultracite — to follow its code standards, (4) Troubleshooting linting/formatting issues, (5) Upgrading Ultracite or bringing its configuration up to a newer release (ultracite upgrade), (6) User mentions 'ultracite', 'lint', 'format', 'code quality', or 'biome/eslint/oxlint' in a project with Ultracite installed.

Use this Skill: https://skilld.dev/gh/haydenbleasel/ultracite/ultracite

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

referencesupgradesv5.md

≈399 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Upgrading to Ultracite v5

Ultracite v5 moved to Biome 2, whose configuration format differs from Biome 1's. Every later release uses Biome 2 too.

Does the project need it?

Yes, if the Biome config (biome.json or biome.jsonc) still uses Biome 1's format: its $schema points at a 1.x schema (such as https://biomejs.dev/schemas/1.9.4/schema.json), or it has a top-level organizeImports, files.ignore or files.include.

Steps

  1. Set $schema to ./node_modules/@biomejs/biome/configuration_schema.json. Leave "extends": ["ultracite"] as it is; the v6 and v7 guides rename it.

  2. Move Biome 1 settings to their Biome 2 form:

    • files.ignore and files.include become a single files.includes list. Start it with "**", then add each ignored path with a leading !. Globs no longer get an implicit **/ prefix, so an ignored dist becomes "!**/dist".
    • organizeImports moves to assist.actions.source.organizeImports, set to "on" or "off".
    • linter.rules.all is gone, with no replacement. Remove it.
    • Paths and globs are now relative to the config file, not the folder Biome runs in.

    If you can run commands, npx @biomejs/biome migrate --write makes most of these changes. Review what it writes.

  3. Biome 2 reads suppression comments as // biome-ignore lint/<group>/<rule>: <reason>. Rewrite any in the old lint(<group>/<rule>) form.

  4. biome.json keeps working. v5 wrote biome.jsonc for new projects, but there's no need to rename an existing file.

Check

npx ultracite check runs without a configuration error.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts3d5 checks · Risk SAFE
  • Gen Agent Trust Hub4d

    The Ultracite skill provides instructions for managing a zero-config linting and formatting tool for JavaScript and TypeScript projects. It supports multiple linter backends and provides automated commands for checking, fixing, and upgrading project configurations. The skill follows secure coding practices and does not exhibit any malicious behaviors.

  • Socket3d

    No alerts

  • Snyk4d

    Risk: LOW · No issues

  • Runlayer8mo

    2 files scanned · No issues

  • ZeroLeaks7mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at 2067174. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated last week
  • TypeScript
  • linting
  • formatting
  • biome
  • eslint
  • oxlint
  • javascript
  • code-quality
  • zero-config

README badge

README badge for haydenbleasel/ultracite

Ultracite is a zero-config linting and formatting preset for JavaScript and TypeScript projects that supports Biome, ESLint + Prettier, or Oxlint + Oxfmt as backends. Use it to initialize linting in a new project, run check/fix commands, or follow its code standards (type safety, modern JS/TS patterns, React best practices, async/await correctness) when writing code in an Ultracite-configured repo.

Generated from the current SKILL.md.

What linters does Ultracite support?
Ultracite supports three backends: Biome (recommended), ESLint + Prettier, and Oxlint + Oxfmt. You choose which one during initialization.
How do I initialize Ultracite in a new project?
Run `bunx ultracite init` for interactive setup, or pass flags like `--pm bun --linter biome --frameworks react` for non-interactive (CI) initialization.
Does Ultracite require configuration?
No. Ultracite is zero-config — it extends preset configurations for your chosen linter and framework. You can customize by extending presets in your config file.
How do I troubleshoot linting or formatting issues?
Run `bunx ultracite doctor` to diagnose problems. It checks linter installation, config validity, dependencies, and detects conflicting tools like old `.eslintrc` or `.prettierrc` files.
Can I run Ultracite on specific files?
Yes. Both `bunx ultracite check` and `bunx ultracite fix` accept optional file paths, e.g. `bunx ultracite check src/index.ts`.

Generated from the current SKILL.md. These answers refresh after source changes.