mav-bp-testing

mav-bp-testing is a skill for Claude Code from thermiteau/maverick. It costs 61 tokens per session (851 once invoked), scanned A, original, Apache-2.0.

Testing guidance that combines unit tests, which check small pieces in isolation, with integration tests, which check real connections between pieces. It focuses on testing behaviour and maintaining coverage of important paths.

In plain words
What is it for?
Use it when writing or reviewing unit and integration tests, choosing what to mock, testing APIs and persistence, managing test data, and setting coverage checks in CI.
Why use it?
It reduces false confidence from tests that merely copy the implementation or rely on fragile mocks. Clear boundaries and coverage checks provide better evidence that generated code works.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Part of the maverick plugin — 41 skills, 5 agents, 5 hooks shipped together

Good fit Use it when writing or reviewing unit and integration tests, choosing what to mock, testing APIs and persistence, managing test data, and setting coverage checks in CI.

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

Made for: Claude Code.

Or install maverick, the plugin that ships this one along with the rest of its 41 skills, 5 agents, 5 hooks.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/thermiteau/maverick/mav-bp-testing/github.svg)](https://agentmods.dev/skills/thermiteau/maverick/mav-bp-testing)
Your own site
<a href="https://agentmods.dev/skills/thermiteau/maverick/mav-bp-testing"><img src="https://agentmods.dev/badge/skills/thermiteau/maverick/mav-bp-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 mav-bp-testing

Your own site · 80×15
<a href="https://agentmods.dev/skills/thermiteau/maverick/mav-bp-testing"><img src="https://agentmods.dev/badge/skills/thermiteau/maverick/mav-bp-testing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 61 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 851 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 original 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.00061 $0.00851
Opus 5 $0.00030 $0.00426
Sonnet 5 $0.00012 $0.00170
Haiku 4.5 $0.00006 $0.00085

Measured 9d ago against content hash 8361f26cbbf7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

mav-bp-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 9d 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.

skills/mav-bp-testing/SKILL.md · 75 lines

How it starts

The opening of the file, as written. The whole thing — 75 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Testing Standards

Unit and integration testing as one discipline. Unit tests verify behaviour in isolation; integration tests verify real wiring across boundaries. Together they are the only automated evidence that generated code actually works.

Maverick's Rules

Unit tests

  • Test behaviour, not implementation. Assert on outputs and effects, never on reimplemented logic (tautological tests) or internal calls.
  • Mock at the boundary only (APIs, DB, filesystem). Never mock what you own; prefer stubs over mocks; >3 mocks in one test means the unit's design is wrong.
  • No logic in tests — no conditionals, loops, or try/catch in test bodies. No test interdependence. Delete flaky tests rather than keep them.
  • A unit test taking >100ms is hitting real I/O — fix it.

Integration tests

  • Complement, don't duplicate — cover cross-boundary behaviour (endpoints, persistence, external clients); never re-test unit-covered logic.
  • Each test owns its data and cleans up; parallel runs never collide.
  • Real dependencies in order of preference: containers → sandboxes → fakes. Never production services.
  • Health-check polling with timeouts, never sleeps. Every test has an explicit timeout.

Coverage (enforced, not aspirational)

  • Unit: 60% minimum, gated in CI — the build fails below it. The number is a floor, not a goal: coverage with weak assertions is worse than less coverage with strong ones.
  • Integration: every critical cross-boundary path (auth, payment, persistence, external APIs) has at least one test, and coverage must not decrease — a ratchet, not a percentage floor.

Project Implementation Lookup

Check docs/maverick/skills/unit-testing/SKILL.md and docs/maverick/skills/integration-testing/SKILL.md for the project's framework, conventions, and extra requirements. If present, they win on specifics. If missing, proceed with these standards and note the gap in your summary — do not trigger skill generation mid-task.

Read the full file on GitHub · 75 lines

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. 9d ago First seen · 75 lines · 61 tokens per session scan A 8361f26cbbf7

Subscribe to this mod's changes

mav-bp-testing is a skill published in the GitHub repository thermiteau/maverick (11 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 61 tokens to every session and 851 once invoked, about $0.0003 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.