rust-testing

rust-testing is a skill for Claude Code, Codex from damacus/agent-skills. It costs 49 tokens per session (3,090 once invoked), scanned A, original, no licence file.

A collection of Rust testing patterns for unit, integration, asynchronous, property-based, and coverage tests. It follows TDD, a method of writing a failing test before the code that makes it pass.

In plain words
What is it for?
Use it when writing or improving Rust tests, including tests that check individual pieces, connected components, asynchronous code, or many generated inputs.
Why use it?
It helps structure different kinds of Rust tests and keeps development guided by expected behavior.

Skill for Claude CodeCodex

Which agent this was written for is unclear — body not stored (licence); the path alone says nothing.

Good fit Use it when writing or improving Rust tests, including tests that check individual pieces, connected components, asynchronous code, or many generated inputs.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/damacus/agent-skills/rust-testing
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 damacus/agent-skills --skill rust-testing
Clone the repo
git clone --depth 1 https://github.com/damacus/agent-skills

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-testing

README.md
[![agentmods](https://agentmods.dev/badge/skills/damacus/agent-skills/rust-testing/github.svg)](https://agentmods.dev/skills/damacus/agent-skills/rust-testing)
Your own site
<a href="https://agentmods.dev/skills/damacus/agent-skills/rust-testing"><img src="https://agentmods.dev/badge/skills/damacus/agent-skills/rust-testing/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for rust-testing

Your own site · 80×15
<a href="https://agentmods.dev/skills/damacus/agent-skills/rust-testing"><img src="https://agentmods.dev/badge/skills/damacus/agent-skills/rust-testing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,090 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 unknown 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.00049 $0.03090
Opus 5.5 $0.00020 $0.01236
Sonnet 5.5 $0.00010 $0.00618
Haiku 4.5 $0.00005 $0.00309

Measured today against content hash 02a9a40dcc42, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

rust-testing 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 today.

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-testing/SKILL.md · 502 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

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. today First seen · 502 lines · 49 tokens per session scan A 02a9a40dcc42

Subscribe to this mod's changes

rust-testing is a skill published in the GitHub repository damacus/agent-skills (2 stars, last pushed yesterday), with no licence file. It adds 49 tokens to every session and 3,090 once invoked, about $0.0002 per session on Opus 5.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-10-30.

Related

Other skills, from other repositories

rust-development

Idiomatisk Rust-utvikling med cargo, clippy, error handling, async/tokio, unsafe og testing.

navikt/copilot · 27 tokens

rust-testing

Rust testing conventions and frameworks: built-in #[test], integration, and doctest layout plus the cargo-nextest runner and the proptest, insta, criterion, mockall, and rstest ecosystem. Invoke whenever task involves any interaction with Rust tests — writing, running, configuring, or debugging tests in .rs files and…

xobotyi/cc-foundry · 70 tokens

rust-testing-quality

Use when writing, organizing, or running Rust tests — unit, integration, doc-tests, proptest, criterion benchmarks, or cargo-mutants. Not for CI pipeline wiring (rust-tooling-cicd).

fusengine/agents · 46 tokens

testing-rust

Writes tests following TDD (using cargo test, proptest, and insta) best practices. Use when writing unit tests, integration tests, or property-based tests in Rust.

qte77/claude-code-plugins · 39 tokens

rust-best-practices

Write, review, refactor, or optimize Rust, including ownership, errors, Tokio, traits, tests, benchmarks, Clippy, and documentation. Excludes other languages and architecture unrelated to Rust idioms.

pedronauck/skills · 48 tokens

testing

Rust testing — unit/integration layout, mocking with mockall, async test patterns, property testing, snapshot testing. Use whenever writing or reviewing Rust tests, setting up test infrastructure, choosing mocking strategies, organizing test modules, debugging test failures, or when the user asks about testing…

napalmpapalam/skills · 68 tokens