biome-validator

Validate Biome configurations against schema and version requirements.

43|8|Updated Jan 5, 2025
One-click install
npx skills add https://github.com/gracefullight/stock-checker --skill biome-validator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: biome-validator
Source: https://github.com/gracefullight/stock-checker/tree/main/.opencode/skills/biome-validator
Command: npx skills add https://github.com/gracefullight/stock-checker --skill biome-validator

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Biome configurations often drift from the expected schema and recommended settings, causing CI failures and stale setups. This Skill provides automated checks to ensure Biome 2.3+ compatibility, proper schema usage, and up-to-date configuration patterns.

Core Features & Use Cases

  • Configuration validation: ensures correct $schema, Biome version, and core sections (linter, assist, and formatter).
  • CI readiness: detects deprecated keys, missing domains, and outdated patterns, with fixes to pass validation in pipelines.
  • Audits existing projects: quickly validates current Biome setups and suggests improvements.

Quick Start

Run the validator from your project root to verify Biome configuration:

  • python3 path/to/validate.py --root .
  • python3 path/to/validate.py --root . --strict

Frequently Asked Questions about biome-validator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I validate my Biome config schema for CI pipelines?

To validate a Biome configuration against schema requirements, the validator checks $schema usage, Biome 2.3+ compatibility, and core sections including linter, assist, and formatter. It detects deprecated keys and missing domains, reporting issues with suggested fixes for CI readiness.

Why does my Biome linting setup fail during pre-commit checks?

Biome linting setups fail during pre-commit checks when configuration drifts from the expected schema or uses deprecated keys. The validator identifies outdated patterns and missing domains in your config, providing suggested fixes to pass validation and maintain up-to-date configuration patterns.

What is the best way to audit an existing Biome configuration?

The best way to audit an existing Biome configuration is running the validator script with the --strict flag from your project root. This enforces comprehensive checks on $schema, linter, assist, and formatter settings, quickly validating current setups and suggesting improvements for stale configurations.

Does Biome configuration validation support strict enforcement for formatter and assist settings?

Biome configuration validation supports strict enforcement for formatter and assist settings via the --strict flag. It checks Biome 2.3+ compatibility and enforces correct schema usage across linter, assist, and formatter sections, reporting any configuration drift with actionable suggested fixes.

What are the limitations of automated Biome config validation?

Limitations of automated Biome config validation include dependency on Biome 2.3+ compatibility requirements and reliance on correct $schema declarations. The validator focuses on schema rules, deprecated keys, and core section patterns, meaning custom or undocumented configuration fields may not be fully covered.