casoon/ai-agent-config/biome

Claude Code and agent skill by casoon/ai-agent-config

Trust tier 3
  • community
  • ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Source check pending

Checking that the SKILL.md file is still in the repository.

Biome configuration for linting and formatting — single tool replacing ESLint and Prettier, with Astro/Svelte/Tailwind quirks and pre-commit wiring. Use for lint errors, formatting rules, and code-style questions.

Install

npx vskill@latest install casoon/ai-agent-config/biome

Semi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard

SKILL.md

The same SKILL.md was published earlier as casoon/ai-agent-config/biome.

Biome

Biome is the single tool for linting and formatting. No ESLint, no Prettier.

Configuration (biome.json)

json
{
"$schema": "https://biomejs.dev/schemas/2.4.8/schema.json",
"files": {
"includes": ["**/*.js", "**/*.ts", "**/*.mjs", "**/*.cjs",
"**/*.json", "**/*.astro", "**/*.svelte", "**/*.css"]
},
"formatter": {
"indentStyle": "space",
"indentWidth": 2,
"lineWidth": 100
},
"linter": {
"rules": {
"recommended": true,
"correctness": { "noUnusedVariables": "warn", "noUnusedImports": "warn" },
"suspicious": { "noExplicitAny": "warn", "noVar": "error" },
"style": { "useConst": "error" }
}
},
"javascript": {
"formatter": { "quoteStyle": "single", "trailingCommas": "es5", "semicolons": "always" }
},
"json": {
"formatter": { "trailingCommas": "none" }
},
"css": {
"parser": { "cssModules": false, "tailwindDirectives": true },
"formatter": { "enabled": true },
"linter": { "enabled": true }
}
}

Commands

bash
pnpm check # lint + format check (no changes)
pnpm check:fix # auto-fix lint + format issues
pnpm format # format only (writes)

Pre-commit hook

Husky + lint-staged runs Biome on staged files only:

json
"lint-staged": {
"*.{js,mjs,cjs,ts,tsx,json,astro,svelte,css}": [
"biome check --write --no-errors-on-unmatched"
]
}

Known quirks

Tailwind CSS directives

tailwindDirectives: true in the CSS parser config is required. Without it, Biome reports errors on @source, @theme, @apply, @custom-variant, and other Tailwind-specific at-rules.

@source ordering

Biome's noInvalidPositionAtImportRule requires @source to appear after all @import statements:

css
/* Correct */
@import "tailwindcss";
@import "./styles/global.css";
@import "@fontsource/inter/latin-400.css";
@source "./src/components";
/* Wrong — Biome error */
@source "./src/components";
@import "@fontsource/inter/latin-400.css";
False-positive unused imports in .astro

Biome cannot see template usage of imports in .astro files. Imports used only in the template (not in the frontmatter script) may trigger noUnusedImports. Keep the rule at "warn", not "error", to avoid blocking valid code.

.svelte file support

Biome supports .svelte for formatting and linting. Runes and {#if} blocks are handled correctly.

Code style

RuleSettingMeaning
QuotesSingle (')import x from 'y'
SemicolonsAlwaysconst x = 1;
Trailing commasES5Arrays, objects, parameters
Indent2 spacesNo tabs
Line width100Max chars per line
constRequireduseConst: "error"
varForbiddennoVar: "error"
anyWarnednoExplicitAny: "warn"

Fixing common issues

bash
pnpm check:fix # fix everything auto-fixable
npx biome check src/pages/index.astro # check a single file
npx biome format --write src/app.css # format a single file

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Extension points

  • hookPre/post lifecycle hooks

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/casoon/ai-agent-config/biome/badge)](https://verified-skill.com/skills/casoon/ai-agent-config/biome)

Something wrong with this skill or its page? Tell us.