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.
npx skills add niels-emmer/myace --skill rust-testing-patternsgit clone --depth 1 https://github.com/niels-emmer/myaceWrote 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.
[](https://agentmods.dev/skills/niels-emmer/myace/rust-testing-patterns)<a href="https://agentmods.dev/skills/niels-emmer/myace/rust-testing-patterns"><img src="https://agentmods.dev/badge/skills/niels-emmer/myace/rust-testing-patterns/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.
<a href="https://agentmods.dev/skills/niels-emmer/myace/rust-testing-patterns"><img src="https://agentmods.dev/badge/skills/niels-emmer/myace/rust-testing-patterns.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00024 | $0.00306 |
| Opus 5.5 | $0.00010 | $0.00122 |
| Sonnet 5.5 | $0.00005 | $0.00061 |
| Haiku 4.5 | $0.00002 | $0.00031 |
Grade A, and why
Rust Testing Patterns 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.
What it actually says
Purpose
Keep Rust tests close to the code, deterministic and meaningful.
When to use it
When adding tests, testing error paths, or reviewing a change whose tests only cover the happy path.
Checklist
- Layout: unit tests in a
#[cfg(test)]module beside the code; integration tests intests/using only the public API. - Doc tests: examples in doc comments compile and run; keep them minimal and correct.
- Errors: assert on the error variant, not its string.
- Determinism: inject time and randomness; use temporary directories; no network.
- Async: use the runtime's test macro, and a paused clock for time-dependent tests where available.
- Property tests for parsers, encoders and invariants that example tests miss.
- Unsafe code: test under Miri where the project supports it.
Expected output
Tests that cover the failure paths as well as the happy path and run the same way locally and in CI.
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.
- today First seen · 30 lines · 24 tokens per session scan A 97cdba8c9ad2
Rust Testing Patterns is a skill published in the GitHub repository niels-emmer/myace (1 stars, last pushed yesterday), licensed MIT. It adds 24 tokens to every session and 306 once invoked, about $0.0001 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-11-29.
Rust Testing Patterns compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| Rust Testing Patternsniels-emmer/myace | Skill | 1 | yesterday | MIT | A | 24 | Claude Code, Codex |
| loom-rustcosmix/loom | Skill | 66 | today | MIT | A | 15 | Claude Code, Codex |
| loom-ccosmix/loom | Skill | 66 | today | MIT | A | 25 | Claude Code, Codex |
| rust-developmentnavikt/copilot | Skill | 65 | yesterday | MIT | A | 27 | Claude Code, Codex |
| idiomatic-goTypeFox/agent-skills | Skill | 5 | 1mo ago | MIT | A | 137 | Claude Code |
| go-documentationTypeFox/agent-skills | Skill | 5 | 1mo ago | MIT | A | 98 | Claude Code |
| rust-testingAeonDave/malskill | Skill | 46 | 6d ago | none | A | 81 | Claude Code, Codex |