writing-hashql-diagnostics

Official

Craft actionable diagnostics with hashql-diagnostics.

Authorhashintel
Version1.0.0
Installs0

System Documentation

What problem does it solve?

HashQL diagnostic writing patterns using the hashql-diagnostics crate to create helpful, actionable, and well-structured diagnostics.

Core Features & Use Cases

  • Severity levels and labeled diagnostics
  • Message style guidelines and code references
  • Adding suggestions and patches to diagnostics
  • Testing and review guidelines for diagnostic quality

Quick Start

Use Diagnostic builders and patches to craft helpful messages: Diagnostic::new(category, Severity::Error).primary(Label::new(span, "expected bool, found String")).with_suggestion(...).

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: writing-hashql-diagnostics
Download link: https://github.com/hashintel/hash/archive/main.zip#writing-hashql-diagnostics

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