dev/skills/csa-rust-dev/SKILL.md
Comprehensive guide for professional Rust development combining implementation expertise, architectural depth, and project standards
npx skillsauth add ryderfreeman4logos/cli-sub-agent csa-rust-devInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Comprehensive guide for professional Rust development combining implementation expertise, architectural depth, and project standards.
Every design decision must answer: "Does this simplify system understanding, modification, and reasoning?"
async-trait for trait objectsunwrap()/expect(), use thiserroranyhow for contextJustfile Protocol (mandatory):
just when availablefmt-all, clippy-all, test-all, check-han (Chinese character detection)Documentation:
/// docs BEFORE implementation# Examples# Errors sectionCode Smells (refactor immediately):
pub (shallow modules)panic!/unwrap()/expect() in libraries.clone()enum instead)just fmt-alljust clippy-all (ALL warnings must be fixed)just test-all, write necessary testsgit diff self-reviewtype(scope): description[MOTIVATION], [IMPLEMENTATION DETAILS]-S flag[package]
edition = "2024"
rust-version = "1.85"
[lints.rust]
unsafe_code = "warn"
[lints.clippy]
all = "warn"
pedantic = "warn"
Every unsafe block MUST have // SAFETY: comment explaining why it's safe.
unwrap()/expect() in library codeenum instead of bool flagsdevelopment
Use when running a non-blocking CSA background code health scan that uses csa health and csa tokuin estimate to propose refactoring GitHub issues for files over token or complexity thresholds.
data-ai
Recover main-agent context after `/clear`, `/compact`, or lost local thread state by using `csa recall` against recorded Claude main sessions.
tools
Use when: merged PR had HIGH/CRITICAL findings that represent a bug class — extracts reusable coding rule
tools
Use when: review found 2+ independent findings in different files, fix phase can parallelize RECON