rust

Standardize Rust toolchains and CI workflows with pinned versions and checks.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/gakonst/dotfiles --skill rust-gakonst
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rust
Source: https://github.com/gakonst/dotfiles/tree/main/.codex/skills/rust
Command: npx skills add https://github.com/gakonst/dotfiles --skill rust-gakonst

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill standardizes Rust development workflows, ensuring fast, reproducible builds and consistent quality across projects. It eliminates discrepancies between local and CI behavior, slow build times, and missed warnings, allowing developers to build and test with confidence.

Core Features & Use Cases

  • Standardized Toolchain & Checks: Enforces fmt, clippy (as errors), nextest, feature-powerset checks, and MSRV builds for consistent code quality.
  • Performance Optimization: Integrates sccache and mold linker to significantly speed up compilation times locally and in CI.
  • Justfile Entrypoint: Provides a Justfile with standard targets (fmt, lint, test, check) to simplify common operations and mirror CI steps.
  • Use Case: Before submitting a pull request, run just check to automatically format, lint, and test your Rust code, ensuring it meets all project conventions and passes CI.

Quick Start

To ensure your Rust project adheres to tempoxyz conventions, run 'just check' in your repository root to execute format, lint, and test steps.

Frequently Asked Questions about rust

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I standardize Rust builds and testing across local development and CI?

Standardize Rust builds by enforcing pinned toolchains, consistent linting with clippy-as-error, formatting, and nextest-based testing. This Skill applies these conventions through a Justfile entrypoint and CI workflows, eliminating drift between environments and ensuring reproducible results across projects.

What's the best way to speed up Rust compilation in CI and locally?

Integrate sccache for incremental compilation caching and mold as a faster linker. This Skill configures both tools automatically, significantly reducing build times in both local development and CI pipelines while maintaining consistency.

How do I ensure my Rust code passes all project conventions before submitting a PR?

Run `just check` to automatically format, lint, and test your code against project conventions. This Skill provides standardized Justfile targets that mirror CI steps, catching issues locally and preventing failed CI runs.

Can I use this workflow for MSRV validation and feature-powerset testing?

Yes. This Skill enforces MSRV builds, feature-powerset checks, and docsrs-enabled documentation generation as functional requirements, ensuring code works across supported Rust versions and feature combinations consistently.

What happens if my local Rust setup differs from the CI environment?

This Skill eliminates local-CI discrepancies by enforcing pinned toolchains, standardized linting rules, and consistent test runners like nextest. Running `just check` locally mirrors CI behavior exactly, catching configuration drift before submission.

Does this work for monorepos or multi-project Rust organizations?

Yes. This Skill is designed for organizational use within tempoxyz projects like tempo, reth-commonware, and dex-kv, standardizing toolchains and workflows across multiple Rust repositories simultaneously.