alpheus-rust

Installation
SKILL.md

Alpheus Coding Style (Rust)

Overview

  • use snake_case directories and files; mod.rs in every directory-module
  • imports grouped std → external → crate::, one crate per use, blank-line separated
  • use crate:: for all intra-crate paths, never self:: or super:: (except use super::*; in inline #[cfg(test)] mod tests)
  • prefer to annotate every local explicitly, even when inferable
  • prefer a separate test workspace member; inline #[cfg(test)] mod tests allowed per repo
  • .unwrap() only in tests, avoid in fallible library code

These rules are enforced by the code. Violating the letter is violating the spirit.

When to Use

  • creating a new file in a repo
  • writing or editing any .rs file
  • asked to "match Alpheus style" / "write like Alpheus"
Installs
9
First Seen
Jul 7, 2026