What problem does it solve?
This Skill solves the common pain point of Rust crate changes failing CI on Windows due to formatting, linting, or platform-specific correctness issues that are nearly impossible to catch locally without a Windows toolchain, eliminating hours of debugging failed pipeline runs.
Core Features & Use Cases
- Mandatory pre-push validation steps: Exact, ordered commands to run locally that match the Windows CI job configuration for the swarm-sandbox-runner crate, including format checks, clippy linting, tests, and release builds.
- Common pitfall documentation: Detailed guidance on frequent rustfmt/clippy errors specific to this codebase, such as windows-rs API changes, HANDLE thread safety rules, and unused import handling for platform-conditional code.
- Windows-only correctness patterns: Critical guidance on path normalization, temp directory short name handling, and Win32 API return value semantics that cause silent failures on Linux/macOS but break on Windows CI.
- Use Case: A developer editing the swarm-sandbox-runner Rust crate can use this Skill to resolve CI failures in minutes instead of hours, by following exact reproduction steps and avoiding known platform-specific gotchas.
Quick Start
Use the rust-crate-ci skill to run the mandatory pre-push validation steps for the swarm-sandbox-runner Rust crate before committing your changes to avoid CI failures.