cd /news/ai-agents/ultracite-linter-and-formatter-for-a… · home › topics › ai-agents › article
[ARTICLE · art-175527] src=ultracite.ai ↗ pub= topic=ai-agents verified=true sentiment=↑ positive

Ultracite: Linter and Formatter for Agentic Development

Ultracite released version 8.3.1, a zero-config linter and formatter preset for JavaScript/TypeScript that checks agent-written code against hundreds of strict rules in about a third of a second. Ultracite's init command writes its rules into AGENTS.md, which the project says 39 of 40 coding agents read, and its hooks run `ultracite fix --hook` after every Write or Edit in tools including Claude Code, Codex, Cursor, GitHub Copilot and Grok Build, handing unfixable issues back to the agent. The preset targets common model failure modes such as `any` types, stale effect dependencies and missing alt text, aiming to keep agent output consistent and type-safe before it reaches review.

key takeaway

Ultracite 8.3.1 ships a zero-config lint/format preset that runs in roughly 0.3 seconds and can be wired into agent hooks via `ultracite fix --hook` on Write/Edit, with `init` writing its rules into AGENTS.md so generated code starts closer to passing.

read4 min views1 publishedNov 24, 2026
Ultracite: Linter and Formatter for Agentic Development
Image: source

v8.3.1Read the latest release notes

Agents write most of the code now. Ultracite checks every edit they make against hundreds of strict rules in under half a second, so what reaches review is consistent, type-safe code instead of slop.

Zero-config forOxlintBiomeESLint

Used by engineering teams at #

…and thousands of open source projects →

Strict enough to catch what agents get wrong #

Models write confident code with loose types, stale effect dependencies and missing alt text. Ultracite turns on hundreds of rules across type safety, React, accessibility and async code, so those patterns fail the check instead of reaching your review queue.

import { useEffect, useState } from "react";`` export function UserList({ teamId }: { teamId: string }) {func-style const [users, setUsers] = useState<any[]>([]); no-explicit-any useEffect(() => { fetch(`/api/teams/${teamId}/users`) catch-or-return · exhaustive-deps .then((res) => res.json()) .then((data) => setUsers(data)); }, []); exhaustive-effect-dependencies return ( <ul> {users.map((user) => ( <li key={user.id}> <img src={user.avatar} /> jsx-a11y/alt-text {user.role == "admin" ? "Admin" : user.role == "owner" ? "Owner" : "Member"}no-nested-ternary · eqeqeq ×2 </li> ))} </ul> );``}

  • Type safety
  • no-explicit-anyno-non-null-assertionno-floating-promises
  • React and hooks
  • exhaustive-depsjsx-keybutton-has-type
  • Accessibility
  • alt-textanchor-is-validaria-role
  • Async and correctness
  • eqeqeqrequire-awaitno-await-in-loop
  • Anti-slopOpt-in
  • Dillon Mulroy’s rules against unjustified type assertions,unknown leaking through signatures and other escape hatches.

Fast enough to run after every edit #

Agents check their work after nearly every change. Ultracite answers in about a third of a second, so the check never becomes the slow part of the loop.

Wired into the agent loop, start to finish #

Your agent learns the standard before it writes, gets checked after every edit, and takes over whatever autofix can’t settle. Nothing waits for CI.

  1. $ npx skills add haydenbleasel/ultracite skills/ultracite/SKILL.md description: Ultracite is a zero-config linting and formatting preset for JavaScript/TypeScript projects. Use when setting up Ultracite, running check, fix or doctor, writing code that follows its standards, or troubleshooting. 1 · Setup ### Let your agent install itAdd the Ultracite skill and ask for it. Your agent learns how to run init ,check ,fix anddoctor , and how to troubleshoot the result.
  2. Ultracite Code Standards - Prefer unknown over any when the type is genuinely unknown - Call hooks at the top level only, never conditionally - Provide meaningful alt text for images #

  • 40 agents 2 · Before it writes ### The standard, in your agent’s contextinit writes the rules into AGENTS.md, which 39 of them read, so generated code starts close to passing.
  1. .claude/settings.json
{
  "hooks": {
    "PostToolUse": [
      {
        "hooks": [{ "command": "bunx ultracite fix --hook", "type": "command" }],
        "matcher": "Write|Edit"
      }
    ]
  }
}

3 · After every edit ### Hooks that check each file it touchesA hook fixes every file your agent edits in Cursor, Devin Desktop, CodeBuddy, Claude Code, Codex, Deep Agents, GitHub Copilot, and Grok Build. In Claude Code, CodeBuddy, Codex, Devin Desktop, Deep Agents, Grok Build and VS Code’s Local agent, it hands what it can’t fix back to the agent. 4.

$ npx ultracite fix --codex
┌  ultracite fix — powered by Codex
◇  Autofix complete. 9 issues in 3 files left for Codex.
✓ src/queue.ts:2:22  no-async-promise-executor
✓ src/queue.ts:23:26  require-await
⠋ src/config-.ts:3:10  no-eval
⠋ src/config-.ts:10:22  eqeqeq

4 · When autofix can’t ### Your agent CLI fixes the restultracite fix --claude or--codex sends what’s left to Claude Code or Codex, which repairs the codebase file by file with edit-only permissions.

One command, your choice of engine #

ultracite init detects your stack, writes the config for the engine you pick, and sets up your editor, agents and git hooks. Every rule stays yours to override.

import { defineConfig } from "oxlint";
import core from "ultracite/oxlint/core";
import react from "ultracite/oxlint/react";
import next from "ultracite/oxlint/next";

export default defineConfig({
  env: core.env,
  extends: [core, react, next],
  ignorePatterns: core.ignorePatterns,
});
python
import { defineConfig } from "oxfmt";
import ultracite from "ultracite/oxfmt";

export default defineConfig({
  ...ultracite,
});
{
  "$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
  "extends": [
    "ultracite/biome/core",
    "ultracite/biome/react",
    "ultracite/biome/next"
  ]
}
python
import core from "ultracite/eslint/core";
import react from "ultracite/eslint/react";
import next from "ultracite/eslint/next";

export default [
  ...core,
  ...react,
  ...next,
];
python
import config from "ultracite/prettier";

export default {
  ...config,
  plugins: ["prettier-plugin-tailwindcss"],
};
python
import config from "ultracite/stylelint";

export default { ...config };

18 framework presets

  • React
  • Next.js
  • Solid
  • Vue
  • Svelte
  • Qwik
  • Remix
  • TanStack
  • Angular
  • Astro
  • NestJS
  • Jest
  • Vitest
  • Cypress
  • Storybook
  • Playwright
  • React Native
  • Drizzle

Pre-commit, your way

Husky · Lefthook · lint-staged · pre-commit

Set the bar on day one #

Ship less slop #

One command sets up your linter, formatter, editor and agents. Works with Oxlint, Biome and ESLint.

── more in #ai-agents 4 stories · sorted by recency
── more on @ultracite 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/ultracite-linter-and…] indexed:0 read:4min 2026-11-24 · —