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★ 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→ Biomeeslint.config.*(.mjs,.js,.cjs,.ts,.mts,.cts) → ESLint (with Prettier for formatting)oxlint.config.ts,oxlint.config.mtsor.oxlintrc.json→ Oxlint (withoxfmt.config.tsoroxfmt.config.mtsfor formatting; init writes the.mtsform 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.jsonfor every VS Code-based editor) |vscode|cursor|devin|codebuddy|antigravity|bob|kiro|trae|void|zed--agents— every choice writes the rules toAGENTS.md.universalwrites only that;claude,gemini,aiderandreplitalso add the import, settings or copy that agent needs to read them; IDs likecodex,copilot,cline,ampandcursor-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 theirtype-awarepreset; Oxlint: installsoxlint-tsgolintand setstypeAware), and turn onstrictNullChecksin tsconfig files--install-skill— Install the reusable Ultracite skill after setup--skip-install— Skip dependency installation--yes,-y— Take the defaults without prompting (automatic whenCI=trueor there's no terminal); defaults tooxlintwhen--linteris 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
Установить ultracite в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
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), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic