<< All versions
Skill v1.0.1
currentAutomated scan100/100lyther/agent-surface/lint-rust
+3 new
──Details
PublishedNovember 4, 2026 at 04:32 AM
Content Hashsha256:76d992a80633b223...
Git SHAeaed30bde0e0
Bump Typepatch
──Files
Files (1 file, 1.5 KB)
SKILL.md1.5 KBactive
SKILL.md · 52 lines · 1.5 KB
name: lint-rust description: "Apply strict Rust engineering rules before code is accepted." metadata: version: "1.0.1"
Procedure
- Identify the
.rsfiles touched or under review. - Apply the Rust policy in
rules/11-rust.mdc(agent-surface source; it may be rendered to the current host) together with the repository's configured linters and formatters. Justify everyunwrap(),clone(), andunsafeblock as that policy requires. If a constraint cannot be met, stop and name the blocker. - Run the toolchain gate from
rules/11-rust.mdc, or the repository's scripts when present:
``bash cargo fmt --all --check RUSTFLAGS="-Dwarnings" cargo check --workspace --all-targets --all-features cargo clippy --workspace --all-targets --all-features -- -D clippy::all RUSTFLAGS="-Dwarnings" cargo test --workspace --all-features RUSTDOCFLAGS="-D warnings" cargo doc --no-deps --workspace ``
- Report in the format below.
Output
text
1. UnderstandingTask: [the task in your own words]Constraints: [from context]Ambiguities: [anything unclear; ask if critical]2. DesignDATA MODELS:[Types, traits, enums for the domain]ERROR STRATEGY:[Error enum hierarchy][thiserror/anyhow usage]DEPENDENCIES:[Each crate with justification]3. Implementation[Complete, working code: all files, all functions, all tests]4. VerificationToolchain commands: [list]cargo fmt: [PASS/FAIL]cargo check: [PASS/FAIL]cargo clippy: [PASS or specific issues]cargo test: [PASS with count]cargo doc: [PASS/FAIL]