Skip to content

opensite-ai/opensite-skills / rust-error-handling

rust-error-handling

Verified

Idiomatic Rust error handling design for libraries and applications: thiserror vs anyhow boundary decisions, error hierarchy design, context chain propagation, HTTP handler error mapping, and the common patterns that prevent error type proliferation. Use when designing error types for a new module, deciding between thiserror and anyhow, or debugging opaque error messages in production.

FileKindSize
SKILL.mdskill md10.9 KB
agents/openai.yamlconfig330 B
references/activation.mdmarkdown882 B

references/activation.md

View on GitHub
# Activation Guide

## Best-Fit Tasks
- Idiomatic Rust error handling design for libraries and applications: thiserror vs anyhow boundary decisions, error hierarchy design, context chain propagation, HTTP handler error mapping, and the common patterns that prevent error type proliferation.
- Best trigger phrase: designing error types for a new module, deciding between thiserror and anyhow, or debugging opaque error messages in production.

## Explicit Invocation
- `Use $rust-error-handling when designing error types for a new module, deciding between thiserror and anyhow, or debugging opaque error messages in production.`

## Cross-Agent Notes
- Start with `SKILL.md`, then load only the linked files you need.
- The standard metadata and this guide are portable across skills-compatible agents; Claude-specific frontmatter is optional and should degrade cleanly elsewhere.
brainstormingobra/superpowersYou MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).Stars: 322kUpdated Claude CodeCodexVerifiedInstall
brand-guidelinesanthropics/skillsApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
frontend-designanthropics/skillsGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
mcp-builderanthropics/skillsGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).Stars: 198kUpdated Claude CodeCodexVerifiedInstall