Systems Languages Pack: rust-style + zig-style
rust-style and zig-style together: the two systems-language coding standards in this series, sharing one format, one tier system and one review protocol.
- rust-style: 593 rules for Rust 1.99 and edition 2024, built on the Rust API Guidelines, the conventions of ripgrep and the BurntSushi crates, and a functional-first default.
- zig-style: 383 rules for Zig 0.17.1, merging the official style guide, the 0.17 standard library's conventions and TigerStyle.
Both start with a reality check of what the target release changed, load one chapter at a time, tier every rule [M] / [M!] / [S] with a Why and a Check, and review code with the same seven-level severity model and findings table. For teams that ship Rust and Zig side by side, the findings from both read the same way.
Works with any agent that signs in to Agensi, such as Claude, ChatGPT, Claude Code, Cursor and Codex CLI.
One payment, lifetime access. 2 skills unlock instantly in your library.
What's included
2 skillsA 593-rule standard for Rust 1.99 and edition 2024, built on the Rust API Guidelines, the conventions of ripgrep and the BurntSushi crates, and a functional-first default. Writes and reviews Rust that a regex or tokio maintainer would merge without comment.
A 383-rule engineering standard for Zig 0.17.1 that merges the official style guide, the 0.17 standard library's conventions and TigerStyle. It catches pre-0.17 code that still compiles but behaves differently, and reviews Zig with rule IDs, severities and fixes.
See it in action
rust-style: Rust 1.99 Coding Standard
Example session with this skill installed
Can you review src/config.rs before I merge?
use lazy_static::lazy_static;
lazy_static! {
static ref DEFAULTS: Config = Config::load_defaults();
}
pub fn load(path: &str, verbose: bool) -> Config {
let text = std::fs::read_to_string(path).unwrap();
let mut cfg = DEFAULTS.clone();
cfg.merge(toml::from_str(&text).unwrap());
if verbose { eprintln!("loaded {path}"); }
cfg
}
- Read your context and instructions
- Compiled the rust-style
Findings
| Severity | Rule | Location | Finding | Fix |
|---|---|---|---|---|
| Stale | RS-CONC-27 | src/config.rs:3 | lazy_static! for a lazily initialised global | static DEFAULTS: LazyLock<Config> = LazyLock::new(Config::load_defaults); and drop the lazy_static dependency |
| Incorrect | RS-ERR-03 | src/config.rs:8 | unwrap() on reading a user-supplied path | Return Result<Config, ConfigError>; propagate with ? and attach the path as context |
| Incorrect | RS-ERR-03 | src/config.rs:10 | unwrap() on parsing user-written TOML | Same error type, with a Parse variant that keeps the toml error as its source() |
| Design | RS-API-24 | src/config.rs:7 | verbose: bool parameter: the call site reads load(p, true) | Move the logging to the caller, or name the flag with a two-variant enum |
Discussion
The two unwraps are the merge blockers. load runs on input the user controls, so a missing file or a typo in the TOML crashes the program instead of printing a message. Once load returns a Result, verbose probably stops being needed: the caller can log success itself, and the function no longer writes to stderr from library code.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads these skills and uses them on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every skill in this bundle goes through our trust checks.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.