diagnostics-development

Official

Craft clear Biome diagnostics.

Authorbiomejs
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill guides developers in creating high-quality, user-friendly diagnostics (error messages, warnings, hints) within the Biome codebase, ensuring clear communication of issues to users.

Core Features & Use Cases

  • Diagnostic Creation: Learn to implement the Diagnostic trait and use the #[derive(Diagnostic)] macro.
  • Advice Implementation: Understand how to add helpful context, fixes, and explanations using various advice types (Log, CodeFrame, Diff, Command).
  • Markup Usage: Master the markup! macro for rich text formatting, including emphasis, code, and hyperlinks.
  • Use Case: When developing a new lint rule, use this Skill to define precise error messages and actionable advice that helps users quickly understand and fix the reported code issue.

Quick Start

Use the diagnostics-development skill to create a new diagnostic type for a lint rule.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: diagnostics-development
Download link: https://github.com/biomejs/biome/archive/main.zip#diagnostics-development

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.