code-quality

Apply Biome linting and formatting to JavaScript/TypeScript projects.

Updated May 12, 2025
One-click install
npx skills add https://github.com/ruchernchong/is-leap-year --skill code-quality-ruchernchong
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: code-quality
Source: https://github.com/ruchernchong/is-leap-year/tree/main/.claude/skills/code-quality
Command: npx skills add https://github.com/ruchernchong/is-leap-year --skill code-quality-ruchernchong

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps maintain code quality using Biome for linting and formatting in the IsLeapYear project.

Core Features & Use Cases

  • Linting & Formatting: Run Biome to check and auto-fix issues.
  • Git Hooks & Commit Quality: Manage Husky and lint-staged checks for consistent commits.
  • Config & Best Practices: Explain Biome configuration and best practices for code quality.

Quick Start

Run bun biome check --write . to fix issues across the codebase. Then commit with conventional messages formatted as per guidelines.

Frequently Asked Questions about code-quality

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

FAQPage Schema
How do I fix code quality issues with Biome in a JavaScript project?▼

Biome linting and formatting fixes code quality issues automatically. Run `bun biome check --write .` to apply linting and formatting fixes across your codebase in one command.

What's the best way to enforce code quality checks before committing?▼

Git hooks with Husky and lint-staged enforce code quality checks automatically on commit. This integration runs Biome checks and applies formatting before changes are committed, ensuring consistent code quality.

How do I configure Biome for linting and formatting?▼

Biome configuration uses a biome.json file to define linter and formatter rules. Configure this file to set your project's code quality standards for linting, formatting, and import organization.

Can I use Biome with pre-commit hooks and conventional commits?▼

Yes, Biome integrates with Husky for pre-commit hooks and works alongside commitlint for conventional commit validation. This combination ensures both code quality and commit message standards before pushing.

Does Biome handle import organization automatically?▼

Biome organizes imports as part of its formatting process. When you run `biome check --write`, it reorganizes imports according to your configuration alongside other formatting and linting fixes.

What JavaScript and TypeScript projects work with Biome?▼

Biome applies to JavaScript and TypeScript projects like IsLeapYear that need automated linting, formatting, and code quality management. It handles the full toolchain from configuration through pre-commit validation.