Use when adding, changing, debugging, or reviewing Rust service error handling and observability, especially when separating domain errors from HTTP responses, adding thiserror/anyhow, implementing ResponseError or IntoResponse, adding tracing spans, redacting secrets, or diagnosing async failures.
SkillScore95Maintained
Automatic
◆Coding pack
Last verified 8/16/2026
What it changes
Passed 21 of 22 test cases with the skill, and 20 of 22 without it.
Without skill91%
With skill95%
Checks it passed that the model alone missed
The repository attaches diagnostic context to the returned error.
The repository method attaches operation context to the returned error.
The repository method refrains from generating tracing error log events.
and 1 more in the full report
2 fixed19 passed either way0 still failing1 broke
Pass-rate lift
+5 pp
Tokens
+3%
Agent turns
0%
Response time
-17%
Model gemini-3.6-flashMeasured 8/16/2026v121 of 22 cases passed with skill
Tokens, turns and time describe resource use, not a dollar price.
See it in action
One of 2 test cases the skill fixed. Same model, same prompt, with and without the skill.
1 of 2
Prompt
I am writing a database repository module in Rust using SQLx. When a database query fails due to connection timeouts, disk errors, or syntax issues, how should the repository wrap errors before returning to service callers?
What was checked, without and with the skill
Checked
Without skill
With skill
The repository wraps database failures using anyhow or an opaque error type.
Missed
Passed
The repository attaches diagnostic context to the returned error.
Missed
Passed
case-03 · gemini-3.6-flash · 8/16/2026 · answers are capped and redacted
What's inside
The instructions your model reads when the skill loads.
SKILL.md83 lines4 files
Rust Error Observability
Use this skill to make Rust service failures understandable to operators while
keeping user-facing responses safe. Treat error handling and telemetry as one
design surface.