Agent skill

Rust Testing

by Jxck in Jxck/sptth

A skill your agent uses when adding or modifying tests. An agent skill from Jxck/sptth.

MITAuto-check passedTesting & QA

Install Rust Testing

skills CLI
$ npx skills add Jxck/sptth --skill rust-testing -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Jxck/sptth rust-testing --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Jxck/sptth.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/rust-testing .claude/skills/rust-testing && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
rust-testing
GitHub stars
133
Token cost
~293 tokens
SKILL.md length
115 words
Files
1
Skills in repo
6
Repo updated
First seen
Licence
MIT

At a glance

A skill your agent uses when adding or modifying tests. An agent skill from Jxck/sptth.

  • Works in 3 steps: Unit tests for pure logic and validation… → Integration-like checks for… → Regression tests for security-sensitive…
  • Modifying tests
  • SKILL.md covers Goal, Test Strategy, What to Test and Rules, plus 2 more sections
  • Calls cargo

What it does

Rust Testing is an agent skill from Jxck/sptth. Use when adding or modifying tests. Ensures behavior changes are covered with focused tests and fast feedback.

Its SKILL.md is about 290 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Testing & QA. It works with Rust. The repository describes itself as: reverse https proxy (https <- sptth) for local development. The licence is MIT.

When your agent uses it

  • Modifying tests

Example prompts

  • “/rust-testing”

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. Unit tests for pure logic and validation helpers.
  2. Integration-like checks for command-level behavior when practical.
  3. Regression tests for security-sensitive fixes.

What it can do on your machine

Read from SKILL.md and the folder at commit cd865e2. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • cargo

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Rust Testing loads about 293 tokens when it runs. Until then it costs about 31 tokens; SKILL.md has 115 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~31
When it runs · the whole SKILL.md, loaded when a task matches
~293

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from Jxck/sptth at commit cd865e2, republished under its MIT licence (© Jxck). 115 words, ~293 tokens.

Download SKILL.mdSave it as .claude/skills/rust-testing/SKILL.md (or your agent's skills folder).
name
rust-testing
description
Use when adding or modifying tests. Ensures behavior changes are covered with focused tests and fast feedback.

rust-testing Skill

Use this skill when adding or modifying tests in this repository.

Goal

Ensure behavior changes are covered with focused tests and fast feedback loops.

Test Strategy

  1. Unit tests for pure logic and validation helpers.
  2. Integration-like checks for command-level behavior when practical.
  3. Regression tests for security-sensitive fixes.

What to Test

  • Config parsing/validation (src/config.rs)
  • DNS response routing/forwarding decisions (src/dns.rs)
  • Proxy routing/header/body constraints (src/proxy.rs)
  • Key/cert file handling constraints (src/ca.rs)

Rules

  • Keep test scopes tight (one behavior per test).
  • Name tests by behavior, not implementation details.
  • Prefer deterministic fixtures and fixed inputs.
  • Avoid network dependency in unit tests.

Commands

sh
cargo test -q
cargo check --workspace
cargo run -p xtask -- fmt-check

Done Criteria

  • New behavior is covered.
  • Existing tests still pass.
  • Tests remain readable and maintainable.

© Jxck, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/rust-testing of Jxck/sptth.

Open the folder on GitHubat commit cd865e2

Compare with similar skills

Rust Testing next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Rust Testing compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Rust Testing this skillJxck/sptth133—~293Automated safety check: PassMIT
Rust TDD Workflowrtk-ai/rtk83k—~753Automated safety check: NotesApache-2.0
Remote Executor Integration Testsopeninterpreter/openinterpreter69k2 repos~842Automated safety check: PassApache-2.0
Apple Container Test RunnerRustPython/RustPython22k—~467Automated safety check: PassMIT
RTK Filter TDD in Rustrtk-ai/rtk83k—~1.9kAutomated safety check: NotesApache-2.0
OpenLogi Device Fixture ContributionAprilNEA/OpenLogi23k—~1.2kAutomated safety check: PassApache-2.0

Similar skills

  • Enforces red-green-refactor for Rust work, with idiomatic test patterns, a naming convention and a pre-commit gate of cargo fmt, clippy and test.

    83k GitHub stars~753 tokensUpdated today
    Testing & QAAuto-check: notes
  • Remote Executor Integration Tests

    openinterpreter/openinterpreter

    Explains how to run agent integration tests against remote executors, using Docker for Linux or Wine for Windows, and how to opt tests in or skip them.

    69k GitHub starsUsed in 2 repos~842 tokens
    Testing & QAAuto-check passed
  • Apple Container Test Runner

    RustPython/RustPython

    Runs RustPython tests inside a Linux container built with Apple's container CLI, so macOS users can compare Linux results with their local ones.

    22k GitHub stars~467 tokensUpdated today
    Testing & QAAuto-check passed
  • Enforces red-green-refactor for new RTK output filters in Rust, using real captured fixtures, snapshot tests with insta and token-savings assertions.

    83k GitHub stars~1.9k tokensUpdated today
    Testing & QAAuto-check: notes
  • Guides recording, privacy review and offline verification of OpenLogi device fixtures with the fixture contribute and verify commands, without treating replay as proof of hardware behavior.

    23k GitHub stars~1.2k tokensUpdated today
    Testing & QAAuto-check passed
  • Testing OpenLogi UI

    AprilNEA/OpenLogi

    Verifies OpenLogi's native GPUI interface with focused tests, the component gallery and a mock agent, choosing the evidence that fits each change.

    23k GitHub stars~1.1k tokensUpdated today
    Testing & QAAuto-check passed

More from Jxck/sptth

  • Sptth Dev

    Jxck/sptth

    A skill your agent uses when making code or documentation changes in this repository.

    133 GitHub stars~280 tokensUpdated 7 mo ago
    Auto-check passed
  • Update Version

    Jxck/sptth

    Update project versions and release tag in one consistent flow (Cargo.toml, xtask, docs, and git tag).

    133 GitHub stars~660 tokensUpdated 7 mo ago
    Auto-check passed
  • A skill your agent uses when changing Rust code paths that return errors or log failures.

    133 GitHub stars~298 tokensUpdated 7 mo ago
    Auto-check passed
  • Use before merging security-relevant Rust changes. An agent skill from Jxck/sptth.

    133 GitHub stars~318 tokensUpdated 7 mo ago
    Auto-check passed
  • Health Check

    Jxck/sptth

    Run a repository-wide maintenance pass before merge/release.

    133 GitHub stars~801 tokensUpdated 7 mo ago
    Auto-check passed

Works with

Categories

Questions about Rust Testing

What does Rust Testing do?

A skill your agent uses when adding or modifying tests. An agent skill from Jxck/sptth. Rust Testing is an agent skill from Jxck/sptth. Use when adding or modifying tests.

When should I use Rust Testing?

Rust Testing fits situations like: modifying tests.

How do I install Rust Testing in Claude Code?

Run `npx skills add Jxck/sptth --skill rust-testing -a claude-code`. Or copy the skill folder (skills/rust-testing in Jxck/sptth) into .claude/skills/rust-testing in your project. Claude Code loads it when a task matches its description.

How do I install Rust Testing in Codex?

Run `npx skills add Jxck/sptth --skill rust-testing -a codex`. Or copy the skill folder (skills/rust-testing in Jxck/sptth) into .agents/skills/rust-testing in your project. Codex loads it when a task matches its description.

Can I use Rust Testing in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Jxck/sptth --skill rust-testing -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/rust-testing, .gemini/skills/rust-testing, .github/skills/rust-testing and .opencode/skills/rust-testing in your project.

What does Rust Testing need to run?

Going by SKILL.md and its folder, Rust Testing needs the command-line tools its instructions call (cargo).

Does Rust Testing access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Rust Testing safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Rust Testing use?

Rust Testing is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Rust Testing use?

About 293 tokens (SKILL.md is roughly 1.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Rust Testing?

Skills that share tags, products or a category with Rust Testing: Rust TDD Workflow (rtk-ai/rtk, 83k stars), Remote Executor Integration Tests (openinterpreter/openinterpreter, 69k stars), Apple Container Test Runner (RustPython/RustPython, 22k stars) and RTK Filter TDD in Rust (rtk-ai/rtk, 83k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Rust Testing?

Jxck (a GitHub user) maintains it in Jxck/sptth, which has 133 GitHub stars. The repository holds 6 skills in this directory. The repository was last updated on February 25, 2026.

Source: Jxck/sptth on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.