kb: Skill for Claude Code

.agents/skills/testing-boss/SKILL.md

testing-boss is a skill for Claude Code, Codex from compozy/kb. It costs 48 tokens per session (525 once invoked), scanned A, original, MIT.

A guide for writing and reviewing software tests and evaluations for language models or agents. It covers choosing test scope, using fixtures and mocks, diagnosing flaky checks, and repairing brittle test suites.

In plain words
What is it for?
Use it to choose unit or broader test placement, investigate failing or flaky tests, create regression coverage, and run the checks affected by a change.
Why use it?
It helps tests check observable behavior instead of implementation details or mock activity. It also helps avoid adding unnecessary tests and directs regressions toward fixes in production code.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is compozy/kb's own configuration. It tells Claude Code and Codex how to work on kb itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything kb configures →

View source ↗ compozy/kb
Reuse

Borrowing it

Nothing to install: this file belongs to compozy/kb. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/compozy/kb/main/.agents/skills/testing-boss/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/compozy/kb

Made for: Claude Code, Codex.

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 testing-boss

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/compozy/kb/testing-boss"><img src="https://agentmods.dev/badge/skills/compozy/kb/testing-boss.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 525 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.00048 $0.00525
Opus 5.5 $0.00019 $0.00210
Sonnet 5.5 $0.00010 $0.00105
Haiku 4.5 $0.00005 $0.00052

Measured 25d ago against content hash 8b1ec12d1cb8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

testing-boss 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 25d 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.

.agents/skills/testing-boss/SKILL.md · 34 lines

How it starts

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

Testing Boss

Choose tests that can expose the changed behavior's failure. Use the existing suite at the lowest layer that can observe the invariant; reuse fixtures and utilities before creating new files.

  • Assert observable results, not mock behavior or implementation structure. Keep mocks at unit-test I/O boundaries; use real integration evidence for integration claims.
  • When a test exposes a regression, fix production code. Change an incorrect test only with evidence that its contract is wrong or intentionally changed; preserve valid coverage.
  • Existing tests or stronger build/codegen/link/render checks may already own the invariant. Do not add prose, CSS, generated-output, configuration, or snapshot tests without a real artifact contract and a reason the owning gate is insufficient.
  • Coverage and mutation scores help find blind spots; they do not replace a behavioral oracle. Do not add production branches or methods solely for tests.
  • Run affected checks, then the project's delivery gates. Reuse results for unchanged inputs and expand only for a failure, relevant edit, or unresolved risk. Match regression reproduction to the failure; avoid a second ceremony when red/green evidence already exists.

References by Question

Read the relevant section, including its contract dependencies, when the question arises; test authorship by an agent does not itself require every reference.

Question Reference
Which layer or suite owns the invariant? references/foundations.md
How should selectors, waits, data, or mocks work? references/patterns.md
Why is a test brittle or passing for the wrong reason? references/antipatterns.md
How should agent-generated tests be evaluated? references/ai-writes-tests.md
How should flakiness or contract/property/mutation checks be handled? references/ci-automation.md
How should an LLM/agent outcome be evaluated? references/llm-eval.md

references/sources.md holds supporting sources. Completion evidence can be a concise command/result summary; no separate report is needed unless the task's artifact contract requires one.

Read the full file on GitHub · 34 lines

Files

What ships with it

7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 25d ago First seen · 34 lines · 48 tokens per session scan A 8b1ec12d1cb8

Subscribe to this mod's changes

testing-boss is a skill published in the GitHub repository compozy/kb (112 stars, last pushed 3d ago), licensed MIT. It adds 48 tokens to every session and 525 once invoked, about $0.0002 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-09-26.

Related

Other skills, from other repositories