Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

ultracite

БесплатноБез исполняемых скриптовНе проверен

Ultracite is a zero-config linting and formatting preset for JavaScript/TypeScript projects. Use when: (1) Setting up or initializing Ultracite in a project…

haydenbleaselот haydenbleasel★ 3 391 звезда на GitHub

Об этом скилле

Ultracite

Zero-config linting and formatting for JS/TS projects. Supports three linter backends: Oxlint + Oxfmt (recommended), Biome, and ESLint + Prettier + Stylelint.

Detecting Ultracite

Check if ultracite is in package.json dependencies or devDependencies. Detect the active linter by looking for (searching upward from the current directory):

  • biome.json / biome.jsonc → Biome
  • eslint.config.* (.mjs, .js, .cjs, .ts, .mts, .cts) → ESLint (with Prettier for formatting)
  • oxlint.config.ts, oxlint.config.mts or .oxlintrc.json → Oxlint (with oxfmt.config.ts or oxfmt.config.mts for formatting; init writes the .mts form in a package that isn't an ES module)

CLI Commands

# Check for issues (read-only)
bunx ultracite check

# Auto-fix issues
bunx ultracite fix

# Diagnose setup problems
bunx ultracite doctor

# Initialize in a new project
bunx ultracite init

Replace bunx with npx, pnpm exec, or yarn depending on the package manager, so the project's installed Ultracite runs (pnpm dlx and yarn dlx download the latest release instead, and Yarn 1 has no dlx). Only init in a project without Ultracite needs a download runner such as pnpm dlx.

check and fix accept optional file paths: bunx ultracite check src/index.ts. Unknown options are passed through to the underlying linter (e.g. bunx ultracite check --max-warnings 0).

Initialization

bunx ultracite init runs an interactive setup. For non-interactive (CI) use, pass flags:

bunx ultracite init \
  --pm bun \
  --linter biome \
  --editors universal \
  --agents claude copilot \
  --frameworks react next \
  --integrations husky lint-staged \
  --yes

Flags:

  • --pm — npm | yarn | pnpm | bun | deno | nub | aube
  • --linter — oxlint (recommended) | biome | eslint
  • --editors — universal (writes .vscode/settings.json for every VS Code-based editor) | vscode | cursor | devin | codebuddy | antigravity | bob | kiro | trae | void | zed
  • --agents — every choice writes the rules to AGENTS.md. universal writes only that; claude, gemini, aider and replit also add the import, settings or copy that agent needs to read them; IDs like codex, copilot, cline, amp and cursor-cli (40 agents supported) need nothing more
  • --frameworks — react | next | solid | vue | svelte | qwik | remix | tanstack | angular | astro | nestjs | jest | vitest | cypress | storybook | playwright | react-native | drizzle
  • --integrations — husky | lefthook | lint-staged | pre-commit
  • --hooks — Enable auto-fix hooks: claude | codex | copilot | cursor | devin | codebuddy | deepagents | grok
  • --js-plugins — Opt-in Oxlint JS plugins: @interfere/landmines | @shadcn/lint | anti-slop | eslint-plugin-github | eslint-plugin-jsdoc | eslint-plugin-sonarjs | eslint-plugin-tsdoc | oxlint-plugin-react-doctor
  • --type-aware — Enable type-aware linting (ESLint and Biome: extend their type-aware preset; Oxlint: installs oxlint-tsgolint and sets typeAware), and turn on strictNullChecks in tsconfig files
  • --install-skill — Install the reusable Ultracite skill after setup
  • --skip-install — Skip dependency installation
  • --yes, -y — Take the defaults without prompting (automatic when CI=true or there's no terminal); defaults to oxlint when --linter is omitted
  • --quiet — Only print warnings and errors

Init creates config that extends Ultracite presets:

// biome.jsonc
{ "extends": ["ultracite/biome/core", "ultracite/biome/react"] }
// eslint.config.mjs — arrays of flat configs, spread together
import core from "ultracite/eslint/core";
import react from "ultracite/eslint/react";
export default [...core, ...react];
// oxlint.config.ts — imports passed to extends
import { defineConfig } from "oxlint";
import core from "ultracite/oxlint/core";
export default defineConfig({
  env: core.env,
  extends: [core],
  ignorePatterns: core.ignorePatterns,
});

Presets available per linter (ultracite/<linter>/<preset>): core, react, next, solid, vue, svelte, qwik, remix, tanstack, angular, astro, nestjs, jest, vitest, cypress, storybook, playwright, react-native, drizzle (cypress and storybook only have rules on ESLint, and playwright, react-native and drizzle only on ESLint and Biome; on the other linters they add no plugin rules). ESLint and Biome also have type-aware, the rules that need type information, and ESLint has a <framework>/type-aware add-on for angular, jest, nestjs, qwik, tanstack and vitest, extended after that framework's preset. Oxlint also has js-plugins (eslint-plugin-github, eslint-plugin-sonarjs and oxlint-plugin-react-doctor run through oxlint's JS plugin support, with next/js-plugins and `tanstack/js-plug

Полный SKILL.md на GitHub

Установить ultracite в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/code-standards.mdreferences/upgrades/v5.mdreferences/upgrades/v6.mdreferences/upgrades/v7.mdreferences/upgrades/v8.md

FAQ

Что делает скилл ultracite?

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.

Как установить скилл ultracite?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл ultracite запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить ultracite с