rust

Installation
SKILL.md

Critical Patterns

Error Handling (REQUIRED)

// ✅ ALWAYS: Use Result with ? operator
fn read_config(path: &str) -> Result<Config, ConfigError> {
    let content = std::fs::read_to_string(path)?;
    let config: Config = serde_json::from_str(&content)?;
    Ok(config)
}

// ❌ NEVER: Use unwrap in production
let config = std::fs::read_to_string(path).unwrap();

Ownership Patterns (REQUIRED)

Related skills
Installs
5
GitHub Stars
1
First Seen
Jan 26, 2026