Token导航 LogoToken导航

Agent Skill · 前端设计

ultracite(ultracite 命令行)

用于辅助前端页面、组件、样式和交互逻辑的开发与维护。它适合让 Agent 生成或审查 React、Next.js、Vue、Tailwind、CSS 等相关代码,整理组件结构,或定位布局和性能问题。使用时需要结合项目现有设计系统、路由和构建方式,避免只生成孤立片段;涉及页面改动时,应配合本地预览和构建检查确认视觉效果。

ultracite 是前端设计类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为调用外部服务;许可证为 MIT,第三方扫描有提醒项,按安装量在前端设计类的 10,216 个 Skill 里排第 1,695。

总安装 4,293周安装 172GitHub Stars 128下载 1,390核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:ultracite(ultracite 命令行)
来源仓库:https://github.com/secondsky/claude-skills
仓库路径:skills/ultracite
安装命令:
npx skills add https://github.com/secondsky/claude-skills --skill ultracite
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/secondsky/claude-skills --skill ultracite

这个 Skill 是做什么的

前端设计类 Skill 关注页面结构、视觉规范和组件写法,输出通常是可运行的界面代码。

提供多提供商支持的代码格式化与 linting。支持 Biome、ESLint、Oxlint 三种引擎。适合 React、Next.js、Vue 等项目初始化。使用时可选择框架预设与 Git hook 集成。推荐用于追求高性能与零配置的场景。ultracite 属于前端设计类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/ultracite

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/secondsky/claude-skills --skill ultracite;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要调用外部服务,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

ultracite 怎么安装?

在终端执行 npx skills add https://github.com/secondsky/claude-skills --skill ultracite。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

ultracite 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

ultracite 需要什么权限?

权限级别是调用外部服务。该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

ultracite 是免费的吗?

来源标注的许可证是 MIT。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

ultracite 用的人多吗?

公开数据是累计安装 4,293 次,近一周安装 172 次,下载 1,390 次,GitHub 128 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

ultracite 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 3 个目录同时收录,说明这个 Skill 流传比较广。
  • 许可证明确为 MIT,商用和分发边界好判断。

先想清楚的地方

  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理前端设计类任务、又不想每次都手写提示词的人。

不太适合

  • 需要厂商级技术支持和 SLA 的生产系统。

前端设计类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
frontend-design

前端设计 · Codex、Claude

8,823,360126,072只读MIT通过
vercel-composition-patterns

Vercel 组合模式 · Codex、Claude

3,858,81625,893需要联网MIT通过
vercel-react-native-skills

Vercel React native skills 前端 · Codex、Claude

2,468,66425,878只读MIT通过
adapt

adapt 搜索 · Codex、Claude

2,027,04023,125操作浏览器未明确通过
bolder

bolder 分析 · Codex、Claude

2,004,28823,130只读未明确通过
ultracite

ultracite 命令行 · 本页

4,293128调用外部服务MIT有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Ultracite Skill

Fast, zero-config linting and formatting for modern JavaScript/TypeScript projects

Overview

Ultracite is a unified linting and formatting solution that supports multiple providers: Biome (default, Rust-based), ESLint+Prettier+Stylelint, and Oxlint+Oxfmt. It provides framework-specific presets and zero-configuration defaults, replacing traditional ESLint+Prettier setups with a faster, simpler alternative. Ultracite operates invisibly in the background, automatically formatting code and applying fixes on every save.

Version 7 Changes: Multi-provider architecture, preset path migration, MCP server support, AI hooks Version 6 Changes: Framework-specific presets introduced (React, Next.js, Vue, Svelte, etc.)

Core Goals

  1. Lightning-Fast Performance: Leverages Biome's Rust implementation for instant linting/formatting
  2. Zero-Config Design: Ships with 200+ sensible defaults optimized for modern TypeScript development
  3. Simplicity & Invisibility: Operates with minimal user interaction
  4. Type Safety: Enforces TypeScript strict mode and comprehensive null/undefined handling
  5. Tool Compatibility: Works alongside other development tools without conflicts

Key Benefits vs Alternatives

vs ESLint + Prettier:

  • 10-100x faster performance (Rust vs JavaScript)
  • Single tool instead of two
  • Zero configuration needed
  • Auto-fixes on save by default
  • Built-in TypeScript strict mode

vs Biome alone:

  • 200+ preconfigured rules
  • Framework-specific presets (React, Next.js, Vue, Svelte)
  • AI editor integration (Cursor, Claude Code, Copilot)
  • Git hook integrations
  • Migration tooling

When to Use This Skill

✅ Ideal Projects

Use Ultracite when:

  • Starting a new JavaScript/TypeScript project
  • Building with React, Next.js, Vue, Svelte, or other modern frameworks
  • Working in monorepos (Turborepo, Nx, Lerna)
  • Teams want consistent formatting without bikeshedding
  • Performance is critical (large codebases, CI/CD optimization)
  • Migrating from ESLint + Prettier to a faster solution
  • Using AI coding assistants (Cursor, Claude Code, Windsurf)
  • TypeScript projects requiring strict type safety
  • Projects with accessibility requirements (ARIA, semantic HTML)

⚠️ Consider Alternatives When

Limited framework support:

  • Need Angular/Ember-specific rules (Biome support is basic)
  • Require advanced CSS linting (Stylelint still recommended)

Specialized requirements:

  • Need specific ESLint plugins not replicated in Biome
  • Require property ordering in CSS (Stylelint feature)
  • Team has extensive custom ESLint configurations

Legacy projects:

  • Large codebases with custom ESLint rules (migration effort required)
  • Projects with extensive Prettier customization

For detailed limitations and workarounds, see: references/limitations-and-workarounds.md

Interactive Components

This skill provides interactive commands and autonomous agents for streamlined workflows:

Commands

  • /ultracite:doctor - Validate project setup, check for v6→v7 preset paths, detect conflicts
  • /ultracite:migrate - Interactive migration wizard (ESLint/Prettier → Ultracite, v6→v7 upgrade)

Agents

  • config-validator - Analyze biome.jsonc for syntax, preset paths, rule conflicts, performance
  • migration-assistant - Guide ESLint/Prettier migrations with rule mapping and gap analysis

See README.md for complete interactive features documentation.

Choosing a Provider

Ultracite v7 supports three linting providers. Choose based on your needs:

🚀 Biome (Default) - Recommended for most projects

  • Speed: Fastest (10-100x faster than ESLint)
  • Setup: Zero-config with 200+ preset rules
  • Best for: New projects, TypeScript-first development, performance-critical builds
  • Limitations: Fewer rules than ESLint, basic CSS/SCSS support

🔧 ESLint + Prettier + Stylelint - Recommended for maximum compatibility

  • Speed: Slower but mature ecosystem
  • Setup: Requires more configuration
  • Best for: Projects with existing ESLint plugins, advanced CSS/SCSS linting needs
  • Limitations: JavaScript-based (slower), requires multiple tools

⚡ Oxlint + Oxfmt - Recommended for maximum speed

  • Speed: Fastest linting (even faster than Biome for linting only)
  • Setup: Type-aware linting with TypeScript integration
  • Best for: Large TypeScript codebases, type-safety-critical projects
  • Limitations: Newer ecosystem, fewer rules than ESLint

Provider selection during init:

bun x ultracite init --linter biome   # Default
bun x ultracite init --linter eslint  # ESLint + Prettier + Stylelint
bun x ultracite init --linter oxlint  # Oxlint + Oxfmt

Load provider-specific documentation:

  • Biome: references/provider-biome.md
  • ESLint: references/provider-eslint.md
  • Oxlint: references/provider-oxlint.md

Version Migration Guide

Upgrading from v6 to v7

Breaking Change: Preset paths have changed in v7.

v6 paths (old):

{
  "extends": ["ultracite/core", "ultracite/react"]
}

v7 paths (new):

{
  "extends": ["ultracite/biome/core", "ultracite/biome/react"]
}

Migration steps:

  1. Update ultracite package: bun update ultracite
  2. Update preset paths in biome.jsonc (add /biome/ segment)
  3. Run npx ultracite doctor to validate configuration
  4. Test linting: npx ultracite check.

New v7 features:

  • Multi-provider support (Biome, ESLint, Oxlint)
  • MCP server integration for AI assistants
  • AI hooks (auto-format after AI edits)
  • Type-aware linting (Oxlint)
  • ultracite doctor diagnostics command

Load full v7 migration guide: references/v7-migration.md

Upgrading from v5 to v6

Key Change: Framework-specific presets introduced.

v5 approach (old):

{
  "extends": ["ultracite/core"]
}

v6 approach (new):

{
  "extends": ["ultracite/core", "ultracite/react"]  // Framework preset
}

Load full v6 migration guide: references/v6-migration.md

Project Suitability Assessment

When this skill is invoked, scan the project and assess:

  1. Check existing tooling: # Check for ESLint ls -la.eslintrc* eslint.config.* package.json | grep eslint # Check for Prettier ls -la.prettierrc* prettier.config.* package.json | grep prettier # Check for Biome ls -la biome.json* package.json | grep biome
  2. Identify framework:

- Check package.json for react, next, vue, svelte, etc. - Recommend appropriate preset

  1. Assess project size:

- Large projects (1000+ files) benefit most from Rust performance - Small projects may not notice speed difference

  1. Check TypeScript config:

- If tsconfig.json exists, note that Ultracite requires strictNullChecks: true - Warn if disabled (will generate many warnings)

  1. Recommend or warn: ✅ RECOMMENDED: This TypeScript + React project is ideal for Ultracite - 500+ files will benefit from Rust performance - React preset available - Can replace existing ESLint + Prettier setup ⚠️ CONSIDER: This project uses advanced ESLint plugins - Custom rule: eslint-plugin-custom-security - May need to retain ESLint for these specific rules - Could use Ultracite for formatting only

Installation & Setup

Prerequisites

  • Node.js v14.18+ (v18+ recommended)
  • Package manager: Bun (preferred), npm, pnpm, or yarn
  • package.json file in project root

Quick Start (Interactive)

# Using Bun (preferred for speed)
bun x ultracite init

# With provider selection (v7+)
bun x ultracite init --linter biome   # Default, fastest
bun x ultracite init --linter eslint  # ESLint + Prettier + Stylelint
bun x ultracite init --linter oxlint  # Oxlint + Oxfmt (type-aware)

# Using npm
npx ultracite init

# Using pnpm
pnpm dlx ultracite init

# Using yarn
yarn dlx ultracite init

The interactive setup will:

  1. Prompt for provider selection (Biome, ESLint, Oxlint) - v7+ only
  2. Install Ultracite and provider dependencies
  3. Prompt for framework selection (React, Next.js, Vue, etc.)
  4. Ask about editor setup (VS Code, Cursor, etc.)
  5. Offer AI agent rules installation (Cursor, Claude Code, Copilot)
  6. Prompt for Git hook integration (Husky, Lefthook, lint-staged)
  7. Offer to migrate from existing tools (ESLint, Prettier)
  8. Create/merge configuration file (biome.jsonc, .eslintrc.js, etc.)
  9. Update .vscode/settings.json for editor integration
  10. Enable strictNullChecks in tsconfig.json (if TypeScript)

Non-Interactive Setup (CI/Automation)

# Auto-detect settings, skip prompts
bunx ultracite init --quiet

# Specify options explicitly (v7+)
bunx ultracite init \
  --linter biome \
  --pm bun \
  --frameworks react,next \
  --editors vscode \
  --agents cursor,claude \
  --integrations husky \
  --migrate eslint,prettier \
  --quiet

Available flags:

  • --linter: Provider selection (biome, eslint, oxlint) - v7+ only
  • --pm: Package manager (bun, npm, pnpm, yarn)
  • --frameworks: react, next, solid, vue, qwik, angular, remix, svelte
  • --editors: vscode, zed
  • --agents: cursor, claude, cline, copilot, windsurf, etc.
  • --integrations: husky, lefthook, lint-staged
  • --migrate: eslint, prettier, biome
  • --quiet: Skip all prompts (auto-enabled when CI=true)

Manual Setup (Advanced)

# 1. Install dependencies
bun add -D ultracite @biomejs/biome

# 2. Create biome.jsonc
cat > biome.jsonc << 'EOF'
{
  "$schema": "https://biomejs.dev/schemas/2.3.8/schema.json",
  "extends": ["ultracite/core"]
}
EOF

# 3. Create VS Code settings
mkdir -p .vscode
cat > .vscode/settings.json << 'EOF'
{
  "editor.defaultFormatter": "biomejs.biome",
  "editor.formatOnSave": true,
  "editor.codeActionsOnSave": {
    "quickfix.biome": "explicit",
    "source.organizeImports.biome": "explicit"
  }
}
EOF

# 4. Enable TypeScript strict mode
# Add to tsconfig.json:
{
  "compilerOptions": {
    "strictNullChecks": true
  }
}

Verify Installation

# Check installation
bunx ultracite doctor

# Expected output:
# ✔ Biome is installed
# ✔ Configuration file found: biome.jsonc
# ✔ Editor integration configured
# ✔ TypeScript strict mode enabled

Configuration

Basic Configuration

File structure:

project-root/
├── biome.jsonc              # Main configuration
├── .vscode/settings.json    # VS Code integration
├── tsconfig.json            # TypeScript config (strictNullChecks required)
└── package.json

Minimal biome.jsonc:

{
  "$schema": "https://biomejs.dev/schemas/2.3.8/schema.json",
  "extends": ["ultracite/core"],

  // Optional: Add framework preset
  // "extends": ["ultracite/core", "ultracite/react"],

  // Optional: Customize rules
  "linter": {
    "rules": {
      "suspicious": {
        "noConsoleLog": "off"  // Disable specific rule
      }
    }
  },

  // Optional: Exclude files
  "files": {
    "ignore": ["dist", "build", "coverage", "**/*.generated.ts"]
  }
}

Framework Presets

  • ultracite/react: React Hooks, JSX a11y, component best practices
  • ultracite/nextjs: React + Next.js App Router, image optimization, document structure
  • ultracite/vue: Vue 3 Composition API, template syntax, reactivity
  • ultracite/svelte: Svelte 4/5 syntax, reactive declarations

Usage:

{
  "extends": ["ultracite/core", "ultracite/react"]
}

Core Preset

The ultracite/core preset includes 200+ rules across 7 categories:

  • Accessibility: ARIA validation, semantic HTML, keyboard navigation
  • Correctness: Type safety, unused code removal, exhaustive dependencies
  • Performance: Code optimization, barrel file warnings
  • Security: Prevents eval(), XSS risks, unsafe patterns
  • Style: Consistent patterns, const preference, import organization
  • Suspicious: Catches loose equality, debugger statements, typos
  • Complexity: Cognitive complexity limits

Formatting defaults: 2 spaces, 80 chars/line, LF endings, single quotes

For detailed framework presets, rule descriptions, and advanced configuration, see: references/configuration-guide.md

Usage

IDE Integration (Recommended)

VS Code Setup:

  1. Install Biome extension: biomejs.biome
  2. Verify .vscode/settings.json: {"editor.defaultFormatter": "biomejs.biome", "editor.formatOnSave": true, "editor.codeActionsOnSave": {"quickfix.biome": "explicit", "source.organizeImports.biome": "explicit"}}
  3. Disable conflicting extensions (ESLint, Prettier)

Features:

  • Auto-format on save
  • Auto-fix on save (removes unused imports, fixes order, applies strict equality)
  • Format on paste
  • Problems panel for unfixable issues
  • Quick fixes via lightbulb indicators

CLI Usage

Check code (lint only):

bunx ultracite check
bunx ultracite check src/
bunx ultracite check --diagnostic-level error  # Only errors

Fix code (auto-fix):

bunx ultracite check --write
bunx ultracite check --write src/

Format code (format only):

bunx ultracite format --write
bunx ultracite format --write src/

Package.json scripts:

{
  "scripts": {
    "lint": "ultracite check",
    "lint:fix": "ultracite check --write",
    "format": "ultracite format --write"
  }
}

Git Hook Integrations

Ultracite auto-detects and integrates with:

  • Husky: Node.js-based hook manager
  • Lefthook: Fast Go-based hook manager
  • lint-staged: Runs linters on staged files only

Quick setup:

# Husky
bunx ultracite init --integrations husky

# Lefthook
bunx ultracite init --integrations lefthook

# lint-staged
bunx ultracite init --integrations lint-staged

Example .husky/pre-commit:

#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

ultracite check --staged --write

For complete Git hook setup guides (Husky, Lefthook, lint-staged), see: references/git-hooks-setup.md

AI Editor Rules

Ultracite generates AI editor rules that teach AI assistants about your linting/formatting standards.

Supported editors:

  • Cursor (.cursorrules)
  • Claude Code (.windsurfrules)
  • GitHub Copilot (.github/copilot-instructions.md)
  • Continue.dev (.continuerules)
  • Codeium (.codeiumrules)
  • Zed (.zedrules)

Generate rules:

bunx ultracite generate-ai-rules
bunx ultracite generate-ai-rules --all  # All editors
bunx ultracite generate-ai-rules --editor=cursor  # Specific editor

For complete AI editor integration guide and customization, see: references/ai-editor-integration.md

Monorepo Support

Ultracite optimizes for monorepos with:

  • Shared base configurations
  • Package-specific overrides
  • Turborepo/Nx caching integration
  • Performance optimization for large workspaces

Example monorepo structure:

monorepo/
├── biome.json              # Shared base config
├── apps/
│   └── web/
│       └── biome.json      # Next.js-specific overrides
└── packages/
    └── ui/
        └── biome.json      # React-specific overrides

For complete monorepo setup, Turborepo/Nx integration, and performance tips, see: references/monorepo-configuration.md

Migration from ESLint/Prettier/Biome

Automatic migration:

bunx ultracite migrate eslint
bunx ultracite migrate prettier
bunx ultracite migrate biome

Manual migration:

  1. Analyze current configuration
  2. Map rules to Biome equivalents
  3. Create biome.json with equivalent rules
  4. Update package.json scripts
  5. Remove old dependencies
  6. Test thoroughly

For complete migration guides with detailed rule mappings, see: references/migration-guides.md

Known Limitations

CSS/SCSS: Biome does not lint CSS. Workaround: Use Stylelint Framework gaps: Limited Angular/Astro support. Workaround: Use ultracite/core + manual rules ESLint plugins: Many ESLint plugins have no Biome equivalent. Workaround: Run ESLint alongside Ultracite for specific plugins File types: No Markdown, YAML, HTML linting. Workaround: Use dedicated tools (markdownlint, yamllint, htmlhint)

For complete list of limitations and detailed workarounds, see: references/limitations-and-workarounds.md

Troubleshooting

Common issues:

  • VS Code not formatting on save → Install Biome extension, configure settings
  • ESLint conflicts → Disable ESLint or run selectively
  • Parse errors → Configure JSX support in biome.json
  • Pre-commit hooks failing → Use bunx instead of global install
  • CI failures → Pin Bun/Node versions, increase memory limit

For complete troubleshooting guide, see: references/troubleshooting.md

Templates & Scripts

Initial Setup Script

See scripts/install-ultracite.sh for automated setup.

Migration Script

See scripts/migrate-to-ultracite.sh for ESLint/Prettier migration.

Example Configurations

See references/ directory for:

  • configuration-guide.md: Framework presets and rule details
  • git-hooks-setup.md: Husky, Lefthook, lint-staged setup
  • ai-editor-integration.md: Cursor, Claude Code, Copilot rules
  • monorepo-configuration.md: Turborepo, Nx, pnpm workspaces
  • migration-guides.md: ESLint, Prettier, Biome migration
  • troubleshooting.md: Common issues and solutions
  • limitations-and-workarounds.md: Known gaps and fixes

Package Versions

Current versions (verified 2025-11-27):

  • ultracite: latest
  • @biomejs/biome: >=1.9.0

Check for updates:

npm view ultracite version
npm view @biomejs/biome version

Update:

bun update ultracite @biomejs/biome

Resources

Official Documentation:

Examples:

Troubleshooting:

Community:

When to Load References

Load reference files on-demand based on user questions or task requirements:

references/provider-biome.md: When user asks about:

  • Biome provider specifics
  • Biome-only configuration
  • Biome performance optimization
  • Biome preset paths (v7: ultracite/biome/*)
  • Biome rule customization

references/provider-eslint.md: When user asks about:

  • ESLint provider setup
  • ESLint + Prettier + Stylelint integration
  • ESLint plugin configuration
  • ESLint migration to Ultracite
  • Advanced CSS/SCSS linting

references/provider-oxlint.md: When user asks about:

  • Oxlint provider setup
  • Type-aware linting features
  • Oxlint performance benefits
  • Oxlint vs Biome comparison
  • TypeScript integration

references/v6-migration.md: When user asks about:

  • Upgrading from v5 to v6
  • Framework preset introduction
  • v6 configuration changes
  • v6 breaking changes

references/v7-migration.md: When user asks about:

  • Upgrading from v6 to v7
  • Preset path migration (ultracite/core → ultracite/biome/core)
  • Multi-provider setup
  • v7 breaking changes
  • ultracite doctor command

references/mcp-integration.md: When user asks about:

  • MCP server setup
  • AI assistant integration via MCP
  • Model Context Protocol
  • MCP server configuration

references/ai-hooks.md: When user asks about:

  • AI hooks setup (distinct from AI rules)
  • Auto-format after AI edits
  • Editor hook configuration
  • Post-edit formatting automation

references/configuration-guide.md: When user asks about:

  • Framework presets (React, Next.js, Vue, Svelte)
  • Core preset rules (200+ rules breakdown)
  • Rule customization methods
  • File exclusion patterns
  • Advanced configuration

references/git-hooks-setup.md: When user asks about:

  • Pre-commit hooks
  • Husky integration
  • Lefthook integration
  • lint-staged setup
  • CI/CD integration
  • Hook troubleshooting

references/ai-editor-integration.md: When user asks about:

  • AI editor rules generation
  • Cursor integration
  • Claude Code integration
  • GitHub Copilot setup
  • Custom AI rules
  • Editor-specific setup

references/monorepo-configuration.md: When user asks about:

  • Monorepo setup
  • Turborepo integration
  • Nx integration
  • Package-specific overrides
  • Workspace configuration
  • Performance optimization

references/migration-guides.md: When user asks about:

  • ESLint migration
  • Prettier migration
  • Biome migration
  • Rule mapping
  • Migration checklist
  • Post-migration steps

references/troubleshooting.md: When user asks about:

  • VS Code issues
  • ESLint/Prettier conflicts
  • Parse errors
  • Pre-commit hook failures
  • CI failures
  • TypeScript strictness errors
  • Installation issues
  • Performance problems

references/limitations-and-workarounds.md: When user asks about:

  • CSS linting
  • Framework support gaps
  • ESLint plugin ecosystem
  • File type support
  • Editor integration
  • Migration limitations

Summary

Ultracite provides a unified linting and formatting solution with multi-provider support:

✅ Use when:

  • Starting new projects
  • Building with React/Next/Vue/Svelte
  • Working in monorepos
  • Want consistent formatting without configuration
  • Performance matters (Biome/Oxlint providers)
  • Need ESLint compatibility (ESLint provider)
  • Using AI coding assistants
  • Require type-aware linting (Oxlint)

⚠️ Consider alternatives when:

  • Need specific ESLint plugins not supported by any provider
  • Advanced CSS linting required (though ESLint provider includes Stylelint)
  • Legacy framework support needed

Key advantages:

  • Multi-provider: Choose Biome (fastest), ESLint (most compatible), or Oxlint (type-aware)
  • Version 7: Preset path migration, MCP server, AI hooks, multi-provider architecture
  • Version 6: Framework-specific presets (React, Next.js, Vue, Svelte, etc.)
  • 10-100x faster than traditional ESLint + Prettier (Biome/Oxlint)
  • Zero configuration (200+ rules preconfigured for Biome)
  • Framework-specific presets
  • AI editor integration + AI hooks
  • Git hook support
  • TypeScript strict mode enforced

Installation:

bun x ultracite init --linter biome   # Default (v7+)
bun x ultracite init --linter eslint  # ESLint provider (v7+)
bun x ultracite init --linter oxlint  # Oxlint provider (v7+)

Most common workflow:

  1. Install with bun x ultracite init
  2. Select framework preset (React, Next.js, etc.)
  3. Choose Git hook integration (Husky, Lefthook, lint-staged)
  4. Enable AI editor rules (Cursor, Claude Code, Copilot)
  5. Optionally migrate from ESLint/Prettier
  6. Code with auto-formatting on save
  7. Commit with pre-commit hooks ensuring quality

Remember:

  • Always check for existing Git hook managers before installing
  • Assess project suitability (scan for ESLint/Prettier/frameworks)
  • Recommend or warn based on project characteristics
  • Enable strictNullChecks in TypeScript projects
  • Use framework-specific presets for best results
  • Load reference files on-demand based on user questions

平台分布

windsurf

46.34%
按下载量换算644

Cursor

32.39%
按下载量换算450

Codex

12.36%
按下载量换算172

安全审计

Gen Agent Trust Hub

可疑

Socket

通过

Snyk

通过

权限和风险

调用外部服务

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。

继续浏览同类 Skills