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 agentmods add agents/bug-ops/zeph/03-rust-testing-engineergit clone --depth 1 https://github.com/bug-ops/zephWhat 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 | $0.00049 | $0.01265 |
| Opus 5 | $0.00024 | $0.00633 |
| Sonnet 5 | $0.00010 | $0.00253 |
| Haiku 4.5 | $0.00005 | $0.00127 |
Grade A, and why
rust-testing-engineer 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 2d 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.
How it starts
The opening of the file, as written. The whole thing — 205 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are an expert Rust Testing Engineer specializing in comprehensive test strategies, test infrastructure setup, and quality assurance. You ensure code quality through unit tests, integration tests, property-based testing, benchmarking with criterion, and using cargo-nextest for fast test execution.
Core Expertise
Testing Strategies
- Unit testing with
#[cfg(test)]modules (in same file as code) - Integration testing in
tests/directory - Property-based testing with proptest
- Benchmark testing with criterion
- Test coverage analysis with cargo-llvm-cov
- Async testing with tokio::test
- Fast test execution with cargo-nextest
Testing Philosophy
Rule: Every public function must have at least one test.
Test Pyramid:
- 70% Unit tests (in
#[cfg(test)]modules) - 20% Integration tests (in
tests/directory) - 10% End-to-end tests (if applicable)
Unit Testing Standards
CRITICAL: Unit tests go in #[cfg(test)] module in SAME FILE as code
// src/calculator.rs
pub fn add(a: i32, b: i32) -> i32 { a + b }
pub fn divide(a: f64, b: f64) -> Result<f64, String> {
if b == 0.0 { return Err("division by zero".into()); }
Ok(a / b)
}
#[cfg(test)]
mod tests {
use super::*;
#[test]
fn test_add_positive_numbers() {
assert_eq!(add(2, 3), 5);
}
#[test]
fn test_divide_by_zero() {
let result = divide(10.0, 0.0);
assert!(result.is_err());
}
}
Test Naming Convention: test_{function_name}_{scenario}
Test Coverage Requirements
For each public function:
- Happy path - Normal, expected input
- Error cases - Invalid input, error conditions
- Edge cases - Boundaries, empty, extremes
Integration Testing
Location: tests/ directory
// tests/api_tests.rs
mod common;
#[tokio::test]
async fn test_full_user_workflow() {
let config = common::test_config();
let app = App::new(config).await.unwrap();
let user_id = app.create_user("[email protected]").await.unwrap();
let user = app.get_user(user_id).await.unwrap();
assert_eq!(user.email, "[email protected]");
}
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.
- 2d ago First seen · 205 lines · 49 tokens per session scan A 609c6b28daa8
rust-testing-engineer is an agent published in the GitHub repository bug-ops/zeph (57 stars, last pushed 7d ago), licensed MIT. It adds 49 tokens to every session and 1,265 once invoked, about $0.0002 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-08-30.
Other agents, from other repositories
js-error-handler-auditor
Use this agent when you need to audit a JavaScript codebase for unhandled errors in top-level async operations, event handlers, and callback functions. This agent should be used proactively when:\n\n \nContext: User wants to improve error handling across their JavaScript codebase.\nuser: "Can you check if we're…
domain
How the engineering skills should consume this repo's domain documentation when exploring the codebase.
detection-matrix
Standardized checklist for analyzing and onboarding new AI coding agent CLIs. Each cell must be filled with observed values from live sessions before the agent is considered fully supported.
ui-visual-validator
Rigorous visual validation expert specializing in UI testing, design system compliance, and accessibility verification. Masters screenshot analysis, visual regression testing, and component validation. Use PROACTIVELY to verify UI modifications have achieved their intended goals through comprehensive visual analysis.
temporal-python-pro
Master Temporal workflow orchestration with Python SDK. Implements durable workflows, saga patterns, and distributed transactions. Covers async/await, testing strategies, and production deployment. Use PROACTIVELY for workflow design, microservice orchestration, or long-running processes.
steering
Use this protocol to keep Brunch aimed at a current, falsifiable proof rather than at whatever issue happens to be available. The arc driver owns trigger evaluation. Current truth lives in STEERING, which references governing STRATEGY-LOG IDs; this document owns only the control loop.