Agent skill

Test Services

by BodhiSearch in BodhiSearch/BodhiApp

A skill your agent uses when writing or migrating unit tests for the services crate.

No licenceAuto-check passedTesting & QA

Install Test Services

skills CLI
$ npx skills add BodhiSearch/BodhiApp --skill test-services -a claude-code

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

GitHub CLI
$ gh skill install BodhiSearch/BodhiApp test-services --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/BodhiSearch/BodhiApp.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/test-services .claude/skills/test-services && 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
test-services
GitHub stars
138
Token cost
~1.4k tokens
SKILL.md length
399 words
Files
5
Skills in repo
3
Repo updated
First seen
Licence
None found

At a glance

A skill your agent uses when writing or migrating unit tests for the services crate.

  • Works in 10 steps: Annotations (async): #[rstest] +… → Annotations (sync): #[rstest] only. Do… → Naming: test__ (e.g.… → …
  • Migrating unit tests for the services crate
  • SKILL.md covers Quick Reference, Core Rules, Error Code Convention and When to Use #[awt], plus 4 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Test Services is an agent skill from BodhiSearch/BodhiApp. Use when writing or migrating unit tests for the services crate. Covers canonical test patterns, DB fixture setup, mockito HTTP mocking, mockall service mocking, error assertions, concurrency tests, and notification listener tests. Examples: "write tests for a new service method", "migrate old tests to canonical pattern", "add coverage for error paths".

Its SKILL.md is about 1.4k tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files (for example `advanced.md`, `api-testing.md` and `db-testing.md`).

It sits in Testing & QA, covering Unit testing and Test generation. It works with Mistral AI. The repository describes itself as: Run Open Source/Open Weight LLMs locally with OpenAI compatible APIs.

When your agent uses it

  • Migrating unit tests for the services crate
  • Tasks that involve Unit testing
  • Tasks that involve Test generation

Example prompts

  • “write tests for a new service method”
  • “migrate old tests to canonical pattern”
  • “add coverage for error paths”
  • “/test-services”

Workflow steps

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

  1. Annotations (async): #[rstest] + #[tokio::test] + #[anyhow_trace] on every async test. Add #[awt] ONLY when #[future] fixture params are…
  2. Annotations (sync): #[rstest] only. Do NOT add #[anyhow_trace] on sync tests.
  3. Naming: test__ (e.g. test_db_service_create_download_request)
  4. Module: mod tests (not mod test)
  5. Return: Always -> anyhow::Result<()> with Ok(()) at end
  6. Errors: Use ? not .unwrap(). Use .expect("msg") only in non-? contexts (closures, Option chains)
  7. Assertions: assert_eq!(expected, actual) with use pretty_assertions::assert_eq;
  8. Error codes: Assert via .code() method. Codes are enum_name-variant_name in snake_case.
  9. Transparent errors: Errors with #[error(transparent)] delegate to inner error code (e.g., DbError::SqlxError -> "sqlx_error", NOT…
  10. No use super::*: Use explicit imports in test modules to avoid refactoring issues.

What it can do on your machine

Read from SKILL.md and the folder at commit 451ceb3. 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

    No scripts in the folder and no shell commands in SKILL.md (its code samples are rust).

    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

Test Services loads about 1.4k tokens when it runs. Until then it costs about 92 tokens; SKILL.md has 399 words of instructions outside code blocks.

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

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

Without a licence we can't republish the file, so here is its outline and opening line. It has 399 words (~1,432 tokens).

“Write and migrate unit tests for the services crate following uniform conventions.”

— opening of SKILL.md by BodhiSearch
name
test-services

Read the full SKILL.md on GitHub

Files

SKILL.md and 4 other files in .claude/skills/test-services of BodhiSearch/BodhiApp.

  • SKILL.md
  • advanced.md
  • api-testing.md
  • db-testing.md
  • mock-patterns.md

Open the folder on GitHubat commit 451ceb3

Compare with similar skills

Test Services 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.

Test Services compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Test Services this skillBodhiSearch/BodhiApp138—~1.4kAutomated safety check: PassNone
Adk Verify Snippetsgoogle/adk-python22k—~1.4kAutomated safety check: PassApache-2.0
Hermetic Python Unit TestsdimensionalOS/dimos4.6k—~1.4kAutomated safety check: PassCustom licence
OpenROAD Module Test AdderThe-OpenROAD-Project/OpenROAD3.2k—~1.8kAutomated safety check: PassBSD-3-Clause
Concept Page Test Writerleonardomso/33-js-concepts67k—~5.5kAutomated safety check: PassMIT
ScottPlot Test RunnerScottPlot/ScottPlot6.8k—~308Automated safety check: PassMIT

Similar skills

  • Adk Verify Snippets

    google/adk-python

    Official

    Checks that every Python code block in a Markdown file actually compiles and runs, by extracting each block to a temporary file, executing it in an isolated subprocess, and writing a pass/fail…

    22k GitHub stars~1.4k tokensUpdated today
    Testing & QAAuto-check passed
  • Hermetic Python Unit Tests

    dimensionalOS/dimos

    Rules for writing, fixing and reviewing pytest unit tests that are hermetic: behavior-focused, deterministic, isolated and cheap to run.

    4.6k GitHub stars~1.4k tokensUpdated today
    Testing & QAAuto-check passed
  • OpenROAD Module Test Adder

    The-OpenROAD-Project/OpenROAD

    Adds integration or unit tests to an OpenROAD module: writes the Tcl test, generates golden files and registers it in both CMake and Bazel.

    3.2k GitHub stars~1.8k tokensUpdated yesterday
    Testing & QAAuto-check passed
  • Concept Page Test Writer

    leonardomso/33-js-concepts

    Generates Vitest tests for every runnable code example on a JavaScript concept documentation page, following a four-phase extraction and conversion process.

    67k GitHub stars~5.5k tokensUpdated 27 days ago
    Testing & QAAuto-check passed
  • ScottPlot Test Runner

    ScottPlot/ScottPlot

    Run or add ScottPlot 5 tests. Use for unit-test and cookbook-test work; unless explicitly asked otherwise, restrict manual test execution to the Unit Tests…

    6.8k GitHub stars~308 tokensUpdated 1 mo ago
    Testing & QAAuto-check passed
  • Testing iOS Code

    bitwarden/ios

    Official

    Write tests, add test coverage, unit test, or add missing tests for Bitwarden iOS.

    694 GitHub stars~1.8k tokensUpdated yesterday
    Testing & QAAuto-check passed

More from BodhiSearch/BodhiApp

  • Test Routes App

    BodhiSearch/BodhiApp

    A skill your agent uses when writing or migrating unit tests for the routesapp crate.

    138 GitHub stars~1.6k tokensUpdated 17 days ago
    Auto-check passed
  • Web Animation View Transitions

    BodhiSearch/BodhiApp

    View Transitions API patterns - same-document transitions, cross-document MPA transitions, shared element animations, pseudo-element styling, accessibility

    138 GitHub stars~3k tokensUpdated 17 days ago
    Auto-check passed

Works with

Categories

Questions about Test Services

What does Test Services do?

A skill your agent uses when writing or migrating unit tests for the services crate. Test Services is an agent skill from BodhiSearch/BodhiApp. Use when writing or migrating unit tests for the services crate.

When should I use Test Services?

Test Services fits situations like: migrating unit tests for the services crate; tasks that involve Unit testing; tasks that involve Test generation.

How do I install Test Services in Claude Code?

Run `npx skills add BodhiSearch/BodhiApp --skill test-services -a claude-code`. Or copy the skill folder (.claude/skills/test-services in BodhiSearch/BodhiApp) into .claude/skills/test-services in your project. Claude Code loads it when a task matches its description.

How do I install Test Services in Codex?

Run `npx skills add BodhiSearch/BodhiApp --skill test-services -a codex`. Or copy the skill folder (.claude/skills/test-services in BodhiSearch/BodhiApp) into .agents/skills/test-services in your project. Codex loads it when a task matches its description.

Can I use Test Services 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 BodhiSearch/BodhiApp --skill test-services -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/test-services, .gemini/skills/test-services, .github/skills/test-services and .opencode/skills/test-services in your project.

What does Test Services need to run?

SKILL.md names no scripts, command-line tools or credentials: Test Services is instructions for the agent only.

Does Test Services 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 Test Services 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 Test Services use?

No licence was found for Test Services or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Test Services use?

About 1.4k tokens (SKILL.md is roughly 5.7k 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 Test Services?

Skills that share tags, products or a category with Test Services: Adk Verify Snippets (google/adk-python, 22k stars), Hermetic Python Unit Tests (dimensionalOS/dimos, 4.6k stars), OpenROAD Module Test Adder (The-OpenROAD-Project/OpenROAD, 3.2k stars) and Concept Page Test Writer (leonardomso/33-js-concepts, 67k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Test Services?

BodhiSearch (a GitHub organization) maintains it in BodhiSearch/BodhiApp, which has 138 GitHub stars. The repository holds 3 skills in this directory. The repository was last updated on September 20, 2026.

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