CtrlK
BlogDocsLog inGet started
Tessl Logo

m06-error-handling

CRITICAL: Use for error handling. Triggers: Result, Option, Error, ?, unwrap, expect, panic, anyhow, thiserror, when to panic vs return Result, custom error, error propagation, 错误处理, Result 用法, 什么时候用 panic

68

Quality

81%

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

75%Weight 40%Scale 1-5

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

The body is a well-structured, mostly lean reference that uses tables, a decision flowchart, and short code patterns to make error-handling guidance immediately actionable. It is strong on organization and concrete patterns, losing only slightly to padding and the absence of a true validate-retry workflow loop.

DimensionReasoningScore

Conciseness

The body is mostly lean tables, decision flowcharts, and short code blocks that assume Claude's knowledge of Result/Option/panic, with only light framing prose; minor padding like the repeated 'Core Question' framing and parallel Trace Up/Trace Down sections could be tightened.

4 / 5

Actionability

Provides concrete executable snippets (decision flowchart, 'Use: thiserror for typed errors', .context("what was happening"), example signatures like fn read() -> Result<String, io::Error>), though most examples are short patterns rather than fully copy-paste ready programs.

4 / 5

Workflow Clarity

A clear decision flowchart and Thinking Prompt sequence steps through diagnosis (what kind of failure -> who handles -> what context), with explicit branching checkpoints; it is guidance rather than a destructive multi-step operation, and lacks a formal validate-fix-retry loop, keeping it just below the top anchor.

4 / 5

Progressive Disclosure

Well-organized into clearly headed sections (Error → Design Question, Trace Up/Down, Quick Reference, Library vs Application, Anti-Patterns) with one-level-deep cross-references to sibling skills (m13-domain-error, m11-ecosystem, m05-type-driven); no bundle files exist so structure carries the score, with minor gaps versus the clean-overview anchor.

4 / 5

Total

16

/

20

Passed

Description

88%Weight 40%Scale 1-5

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 a strong, trigger-heavy declaration that clearly states both what the skill does and when to use it, with comprehensive natural trigger terms including multilingual variants. It loses a little on specificity (triggers rather than enumerated capabilities) and minor conflict risk with sibling domain-error skills.

DimensionReasoningScore

Specificity

Names the domain (error handling) and several concrete concepts (unwrap, expect, panic, anyhow, thiserror, error propagation), though framed as triggers rather than distinct capabilities, leaving minor coverage gaps versus the comprehensive anchor.

4 / 5

Completeness

Explicitly answers both what ('Use for error handling') and when ('Triggers:' followed by concrete trigger phrases), satisfying the highest anchor for explicit what-and-when with concrete triggers.

5 / 5

Trigger Term Quality

Comprehensive natural trigger terms including API keywords (Result, Option, ?, unwrap, expect, panic, anyhow, thiserror), phrasings users actually say ('when to panic vs return Result', 'custom error', 'error propagation'), plus synonyms and non-English variants (错误处理, 什么时候用 panic).

5 / 5

Distinctiveness Conflict Risk

Error handling is a fairly distinct niche with specific crate/keyword triggers, but 'error propagation' and generic 'custom error' create minor overlap risk with adjacent skills like m13-domain-error.

4 / 5

Total

18

/

20

Passed

Validation

100%

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

Validation16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository
actionbook/rust-skills
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.