CtrlK
BlogDocsLog inGet started
Tessl Logo

handling-rust-errors

HASH error handling patterns using error-stack crate. Use when working with Result types, Report types, defining custom errors, propagating errors with change_context, adding context with attach, implementing Error trait, or documenting error conditions in Rust code.

78

Quality

100%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide

SecuritybySnyk

Passed

No findings from the security scan

SKILL.md
Quality
Evals
Security

Quality

Content

100%

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

The body is an efficient, actionable overview that routes to real one-level-deep reference files and gives executable patterns without restating Rust fundamentals. It handles the one project exception (HashQL diagnostics) explicitly via a decision table.

DimensionReasoningScore

Conciseness

The body is lean: it states the project-specific rules (imports, prohibited crates) and immediately gives executable code snippets without explaining what an error or Result type is, assuming Claude's competence; every section earns its place.

3 / 3

Actionability

Provides fully executable, copy-paste-ready Rust snippets (Report::new, change_context, attach, attach_with) plus concrete DO/DON'T rules and a decision table pointing to the right crate per location.

3 / 3

Workflow Clarity

The Quick Start Guide sequences decisions by task (defining -> propagating -> documenting) with 'Use when' guidance, and the decision table gives an explicit routing rule plus a cross-skill link for the HashQL exception; this is effectively a single-action routing skill so the simple-skill note applies.

3 / 3

Progressive Disclosure

The SKILL.md is a concise overview that splits detailed content into three one-level-deep, well-signaled references (defining-errors.md, propagating-errors.md, documenting-errors.md), all of which exist in ./references/ with matching content; navigation is easy and references are not nested.

3 / 3

Total

12

/

12

Passed

Description

100%

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

The description is concise, third-person, and explicitly states both what the skill does and when to use it with concrete trigger terms. It is among the strongest examples for all four dimensions.

DimensionReasoningScore

Specificity

Lists multiple concrete actions including 'defining custom errors', 'propagating errors with change_context', 'adding context with attach', 'implementing Error trait', and 'documenting error conditions', matching the 'multiple specific concrete actions' anchor.

3 / 3

Completeness

Clearly answers 'what' (HASH error handling patterns using error-stack crate) and 'when' via an explicit 'Use when working with...' clause enumerating specific triggers, satisfying the what-AND-when anchor.

3 / 3

Trigger Term Quality

Covers natural user-facing terms like 'Result types', 'Report types', 'error-stack', 'change_context', 'attach', and 'Error trait' that a developer would naturally say, with good coverage of the domain's vocabulary.

3 / 3

Distinctiveness Conflict Risk

The niche is narrow and well-bounded (HASH-specific error-stack usage) with distinct trigger terms unlikely to conflict with other skills; the HashQL exception is handled in the body.

3 / 3

Total

12

/

12

Passed

Validation

81%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation13 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

metadata_version

'metadata.version' is missing

Warning

metadata_field

'metadata' should map string keys to string values

Warning

relative_links

Relative link issues: 1 suspicious

Warning

Total

13

/

16

Passed

Repository
hashintel/hash
Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.