test-audit-disable

test-audit-disable is a skill for Claude Code from bdfinst/agentic-dev-team. It costs 97 tokens per session (1,693 once invoked), scanned A, original, MIT.

A test-suite audit that finds tests unable to fail, such as tests with no meaningful checks or swallowed errors. It skips and labels those tests instead of deleting them, and records the reasons.

In plain words
What is it for?
Use it to find invalid tests, create a trustworthy baseline for coverage, and leave a record for later repairs.
Why use it?
It prevents false-positive tests from making coverage results look healthier than they are.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the dev-team plugin — 98 skills, 54 agents, 4 hooks shipped together

Good fit Use it to find invalid tests, create a trustworthy baseline for coverage, and leave a record for later repairs.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/bdfinst/agentic-dev-team/test-audit-disable
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 bdfinst/agentic-dev-team --skill test-audit-disable
Clone the repo
git clone --depth 1 https://github.com/bdfinst/agentic-dev-team

Made for: Claude Code.

Or install dev-team, the plugin that ships this one along with the rest of its 98 skills, 54 agents, 4 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 test-audit-disable

README.md
[![agentmods](https://agentmods.dev/badge/skills/bdfinst/agentic-dev-team/test-audit-disable/github.svg)](https://agentmods.dev/skills/bdfinst/agentic-dev-team/test-audit-disable)
Your own site
<a href="https://agentmods.dev/skills/bdfinst/agentic-dev-team/test-audit-disable"><img src="https://agentmods.dev/badge/skills/bdfinst/agentic-dev-team/test-audit-disable/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 test-audit-disable

Your own site · 80×15
<a href="https://agentmods.dev/skills/bdfinst/agentic-dev-team/test-audit-disable"><img src="https://agentmods.dev/badge/skills/bdfinst/agentic-dev-team/test-audit-disable.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 97 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,693 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00097 $0.01693
Opus 5.5 $0.00039 $0.00677
Sonnet 5.5 $0.00019 $0.00339
Haiku 4.5 $0.00010 $0.00169

Measured 1mo ago against content hash 5f44949f71b8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

test-audit-disable 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 1mo 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.

plugins/dev-team/skills/test-audit-disable/SKILL.md · 130 lines

How it starts

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

Test Audit + Disable

Role: worker. Identifies tests that cannot fail and disables them so the next coverage run measures a true baseline, not a false positive inflated by tautologies. Tests are skipped + tagged, never deleted — Phase 4 repairs them.

You have been invoked with the /test-audit-disable command.

Parse Arguments

Arguments: $ARGUMENTS

  • Positional: <repo-path> — the repo under modernization.
  • --repo-slug <slug> — namespace under .claude/memory/<workflow>/. Defaults to the last path segment.
  • --dry-run — print the cannot-fail list and exit without disabling.

Steps

1. Detect language + test framework

Probe the repo root for the test stack. Take the first match:

  • package.json → JS/TS — jest, vitest, mocha, playwright. Skip helpers per framework: it.skip / test.skip / xit / xdescribe.
  • pyproject.toml / setup.py / setup.cfg → Python — pytest, unittest. Skip helpers: @pytest.mark.skip(reason=...), @unittest.skip(...).
  • pom.xml / build.gradle* → JVM — JUnit5, JUnit4, TestNG, Kotest. Skip helpers: @Disabled("..."), @Ignore("..."), @Test(enabled=false).
  • *.csproj → .NET — xunit, nunit, mstest. Skip: [Fact(Skip="…")], [Test, Ignore("…")].
  • Cargo.toml → Rust — #[ignore = "…"].
  • go.mod → Go — t.Skip("…").

If multiple stacks are present, process each. If none, ask the operator which to use.

2. Detect cannot-fail tests

For each test file, search for the cannot-fail patterns. The set is language-agnostic conceptually but the regex differs per framework — use these signal patterns:

Pattern Example Reason
No assertion at all it('does X', () => { service.doX(); }) nothing to fail on
Assertion on a literal expect(1).toBe(1), assertEquals(true, true) self-evaluating
Expect-truthy on a constant expect(true).toBeTruthy() tautology
Self-equality expect(x).toBe(x), assertEquals(obj, obj) always true
Swallowed exception with no assertion in the catch try { … } catch { } masks failures
Assertion only inside a never-entered branch if (false) { assert … } dead test
expect.anything() / expect.any(*) as the only assertion matches anything
Negative assertion on a never-thrown error expect(() => fn()).not.toThrow() with no throw path tautology unless fn can throw

Read the full file on GitHub · 130 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. 1mo ago First seen · 130 lines · 97 tokens per session scan A 5f44949f71b8

Subscribe to this mod's changes

test-audit-disable is a skill published in the GitHub repository bdfinst/agentic-dev-team (295 stars, last pushed 4d ago), licensed MIT. It adds 97 tokens to every session and 1,693 once invoked, about $0.0004 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-03.