一键导入
csa-rust-dev
Comprehensive guide for professional Rust development combining implementation expertise, architectural depth, and project standards
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Comprehensive guide for professional Rust development combining implementation expertise, architectural depth, and project standards
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | csa-rust-dev |
| description | Comprehensive guide for professional Rust development combining implementation expertise, architectural depth, and project standards |
| allowed-tools | Bash, Read, Grep, Glob, Edit, Write |
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 flagsUse when: full dev cycle branch->plan->implement->review->PR->merge
Use when: executing tasks via csa run/review/debate, session mgmt
Use when: iterative review-fix loop until csa review --diff is clean
Use when: running CSA-driven code review, independent model selection
Use when: three-layer manager-employee orchestration for delegation
Use when: legacy alias, redirects to dev2merge pipeline