rust-development

rust-development is a skill for Claude Code, Codex from jxoesneon/Ciel. It costs 22 tokens per session (557 once invoked), scanned A, original, Apache-2.0.

A set of Rust development rules for writing safe, idiomatic, and efficient Rust code.

In plain words
What is it for?
Use it when designing Rust types and traits, handling errors, writing Tokio-based concurrent code, and adding documentation tests. TDD means writing tests as part of the development process.
Why use it?
It reduces common Rust mistakes around ownership, error handling, visibility, and asynchronous code. It also discourages unchecked failures in production code.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when designing Rust types and traits, handling errors, writing Tokio-based…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jxoesneon/ciel/rust-development
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add jxoesneon/Ciel --skill rust-development
Clone the repo
git clone --depth 1 https://github.com/jxoesneon/Ciel

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for rust-development

README.md
[![agentmods](https://agentmods.dev/badge/skills/jxoesneon/ciel/rust-development.svg)](https://agentmods.dev/skills/jxoesneon/ciel/rust-development)
Your own site
<a href="https://agentmods.dev/skills/jxoesneon/ciel/rust-development"><img src="https://agentmods.dev/badge/skills/jxoesneon/ciel/rust-development.svg" alt="Measured on agentmods" height="20"></a>
Per session 22 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 557 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00022 $0.00557
Opus 5 $0.00011 $0.00279
Sonnet 5 $0.00004 $0.00111
Haiku 4.5 $0.00002 $0.00056

Measured 3d ago against content hash 9ab997092cdb, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

rust-development scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/rust-development/SKILL.md · 53 lines

What it actually says

CIEL ADAPTATION: Rust Development (Safety & Performance)

This skill formalizes the development of high-integrity Rust applications. it prioritizes ownership-aware design and making illegal states unrepresentable.

Idiomatic Standards

  1. Ownership & Borrowing: Pass &T (borrow) by default. Clone ONLY when ownership is required and cannot be moved.
  2. Error Handling:
    • Apps: Use anyhow for flexible error propagation with context.
    • Libraries: Use thiserror for structured, typed error variants.
    • Hard Gate: Prohibit .unwrap() or .expect() in production/library code. Use ? or unwrap_or.
  3. Type-Driven Design: Use enum and exhaustive matching to eliminate illegal states. Use the "Newtype" pattern for primitive safety.

Architecture & Traits

  • Trait Bounds: Use impl Trait for inputs. Use Box<dyn Trait> only when dynamic dispatch is required.
  • Async (Tokio): Enforce tokio::spawn for concurrent tasks. Never block an async executor with std::thread::sleep.
  • Visibility: Expose minimally. Prefer pub(crate) over pub.

TDD & Verification

  • Doc Tests: Include executable examples in doc comments for all public APIs.
  • Property-Based Testing: Use proptest for input validation and complex state transitions.
  • LLVM Cov: Target 80%+ coverage using cargo llvm-cov.

Anti-Patterns

  • Wildcard Matching: Using _ => {} in business-critical enums (hides new variants).
  • String over &str: Using String for read-only function parameters.
  • Unsafe Without Reason: Using unsafe without a // SAFETY: comment explaining the invariant.
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 53 lines · 22 tokens per session scan A 9ab997092cdb

Subscribe to this mod's changes

rust-development is a skill published in the GitHub repository jxoesneon/Ciel (1 stars, last pushed 6d ago), licensed Apache-2.0. It adds 22 tokens to every session and 557 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.