Setup biome

From redpanda-data/ui-harness · View interactive version

Setup biome is an AI agent skill from the GitHub repository redpanda-data/ui-harness. Install Biome linter with Ultracite preset, create biome.jsonc config, and configure Claude Code Stop hook for auto-fix before finishing. Use when setting up linting, formatting, Biome, Ultracite, or code quality enforcement.

How to use this skill

Skill file

Setup Biome + Ultracite

Steps

1. Install

bun add -D @biomejs/biome ultracite --yarn

2. Create `biome.jsonc`

From REFERENCE.md. Extend ultracite/biome/core + ultracite/biome/react. VCS git on. Test files re-enable noExplicitAny.

3. Package.json scripts

{
  "scripts": {
    "lint": "biome check .",
    "lint:fix": "biome check --write .",
    "lint:file": "biome check",
    "lint:fix:file": "biome check --write"
  }
}

4. Hook

Copy scripts/biome-autofix.sh -> .claude/hooks/. chmod +x. Add to Stop.

5. Verify

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.