TE

testing-hashql

Provides testing strategies and workflow assistance for HashQL compiler and logic tests.

Install

mkdir -p .claude/skills/testing-hashql && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/4090" && unzip -o skill.zip -d .claude/skills/testing-hashql && rm skill.zip

Installs to .claude/skills/testing-hashql

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

HashQL testing strategies including compiletest (UI tests), unit tests, and snapshot tests. Use when writing tests for HashQL code, using //~ annotations, running --bless, debugging test failures, or choosing the right testing approach.
236 chars✓ has a “when” trigger
Advanced

Key capabilities

  • →Executes compiletest UI tests
  • →Manages insta snapshot comparisons
  • →Updates test artifacts with --bless
  • →Parses diagnostics for test verification

How it works

Invokes the HashQL compiler test suite and snapshot runners to compare output against stored expectations, allowing for diagnostic updates via standard CLI flags.

Inputs & outputs

You give it
Compiler test file or logic change
You get back
Pass/fail result for diagnostics and snapshot updates

When to use testing-hashql

  • →Writing HashQL UI tests
  • →Updating snapshots with --bless
  • →Debugging compiler diagnostics
  • →Adding unit tests for HashQL

About testing-hashql

Supports the full HashQL testing lifecycle, including compiletest UI tests and snapshot testing. Helps with writing tests, debugging diagnostics, and managing compiler test artifacts.

HashQL testing strategies including compiletest (UI tests), unit tests, and snapshot tests. Use when writing tests for HashQL code, using //~ annotations, running --bless, debugging test failures, or choosing the right testing approach.

When not to use it

  • →When not developing within the HashQL ecosystem
  • →For logic that doesn't involve compiler diagnostics

Prerequisites

HashQL development toolchaincargo

Limitations

  • →Specific to HashQL compiler infrastructure
  • →Requires familiarity with snapshot update workflows

How it compares

Provides specialized tooling for compiler-specific behavior testing rather than generic unit testing.

Compared to similar skills

testing-hashql side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
testing-hashql (this skill)14moReviewAdvanced
implementing-cards73moReviewAdvanced
write-rust-tests97moNo flagsIntermediate
gen-rust17moReviewAdvanced

Try saying

Example prompts that trigger this skill in your AI assistant.

More by hashintel

View all by hashintel →

Search skills

Search the agent skills registry