inceptyon-labs/tenet-skills/tenet-testing
Claude Code and agent skill by inceptyon-labs/tenet-skills
- community
Checking that the SKILL.md file is still in the repository.
Audits test coverage, critical-path tests, flaky markers, and missing test categories.
Install
npx vskill@latest install inceptyon-labs/tenet-skills/tenet-testingSKILL.md
The same SKILL.md was published earlier as inceptyon-labs/tenet-skills/tenet-testing.
Tenet Testing — Test Coverage & Quality Auditor
"Untested code is broken code you haven't noticed yet."
Evaluates the health of a project's test suite across six axes: coverage percentage, mutation testing evidence, test-to-source file ratio, critical-path test presence, flaky test markers, and missing test categories. Consumes coverage and mutation reports from the toolchain when available and falls back to structural analysis when not.
Purpose
Test coverage percentages alone are misleading — a project can have 90% coverage while missing tests for authentication, payment processing, and data mutations. This skill evaluates not just how much is tested, but whether the right things are tested, whether the tests themselves are healthy (no committed .only or .skip), and whether the test strategy covers all necessary categories (unit, integration, E2E).
Calibration — read first
Follow shared/scan-discipline.md (complete every step, enumerate rather than sample, and §2a: report only issues that actually exist), shared/verification.md (every finding is confirmed against the code before it ships; unconfirmed candidates are dropped, not demoted), and shared/severity.md (severity is confirmed impact, never a hedge for doubt).
A finding must exist in this codebase on a path that can run. Do not report hypotheticals, dead code, style preferences, or anything an upstream check already prevents. Zero findings for a step is the normal result on healthy code; do not fill a step to show you looked. Do not overthink it: read the code and its context, decide, move on.
Language Support Matrix
Framework Recognition
| Language | Test Frameworks Recognized | |
|---|---|---|
| JavaScript/TypeScript | Jest, Vitest, Mocha, AVA, Tap, Node test runner, Playwright, Cypress, Testing Library | |
| Python | pytest, unittest, nose2, Robot Framework | |
| Go | testing package, testify, gomega, ginkgo | |
| Java | JUnit 4/5, TestNG, Mockito, AssertJ, Cucumber | |
| Ruby | RSpec, Minitest, Cucumber | |
| Rust | built-in #[test], #[cfg(test)] | |
| C# | xUnit, NUnit, MSTest | |
| Kotlin | JUnit 5, Kotest, MockK | |
| Swift | XCTest, Quick/Nimble |
Toolchain Inputs
Primary: .healthcheck/toolchain/coverage.json
If the toolchain produced a coverage report (parsed from lcov, cobertura, or Go cover), consume it:
If this file does not exist, the skill attempts to locate coverage reports directly:
If no coverage report exists at all, log that coverage data is unavailable and use structural analysis only. Do NOT set coverage-related findings to critical just because no report exists — the absence of a coverage report is itself a finding.
Secondary: .healthcheck/toolchain/mutation-testing.json
If the toolchain discovered mutation testing output from Muter, Stryker, PIT, mutmut, Infection, or another supported provider, consume it as a test-quality signal:
Mutation testing is report ingestion only. This skill does not run Muter or any mutation engine; those runs belong in the target project's CI/local tooling because they are slow, language-specific, and often require simulator or build-system setup.
Tertiary: .healthcheck/toolchain/language-census.json
Used to determine the primary language and calibrate framework expectations.
Configuration
Read .healthcheck.toml and apply optional mutation settings:
Modes:
off— ignore mutation testing reports entirely.informational— Phase 1 behavior. Parse and display mutation results, emit actionableinfofindings for weak surviving mutants, but do not alter the testing score.bonus— Phase 2 behavior. If a recent valid mutation report exists andmutation_score_pct >= minimum_score, addbonus_pointsto the testing score after normal finding deductions, capped at 100. Missing mutation data and low mutation scores never subtract points.
Procedure
Step 0: Detect Test Framework and Configuration
Identify the project's test infrastructure:
Record detected frameworks in metrics.
Step 1: Parse Coverage Data
If .healthcheck/toolchain/coverage.json exists, read it directly.
If not, attempt to parse coverage reports found on disk:
lcov format:
Cobertura XML format:
Go cover.out format:
Coverage findings:
| Coverage Level | Severity | |
|---|---|---|
| No coverage report exists | major (one finding: "No test coverage data available") | |
| Line coverage < 30% | major | |
| Line coverage 30-50% | minor | |
| Line coverage 50-70% | info (acceptable but improvable) | |
| Line coverage 70-90% | no finding (healthy) | |
| Line coverage > 90% | no finding (excellent) | |
| Branch coverage < 40% when line coverage > 70% | minor (tests hit lines but miss branches) |
Per-file coverage analysis (if per-file data available):
- Files with 0% coverage in
src/(non-test, non-config) →minorper file (cap at 10 findings) - Critical-path files with < 50% coverage →
major(see Step 3 for critical-path detection)
Step 1b: Parse Mutation Testing Data
If [testing.mutation].mode = "off", skip this step.
Read .healthcheck/toolchain/mutation-testing.json if present. If it does not exist, search the configured report_paths and common report names:
Normalize recognized reports into these metrics:
mutation_availablemutation_providermutation_report_pathmutation_scopemutation_score_pctmutation_ratingmutation_mutants_totalmutation_mutants_killedmutation_mutants_survivedmutation_mutants_timed_outmutation_mutants_equivalentmutation_worst_filesmutation_scoring_modemutation_bonus_applied
These exact mutation_* keys drive the dashboard's Mutation Testing panel. Do not emit only legacy placeholders such as mutation_testing_configured or mutations_applied without also filling the standardized fields above.
Rating bands:
| Mutation Score | Rating | |
|---|---|---|
>= excellent_score | excellent | |
>= minimum_score | good | |
50 - (minimum_score - 0.01) | weak | |
| < 50 | poor |
Findings:
- No mutation report found in
informationalorbonusmode → optionalinfofinding: "Mutation testing is not configured". This is actionable, but do not emit it if the project has no meaningful test suite yet; the no-tests findings already cover the larger problem. - Mutation report exists with surviving mutants →
infofinding: "Surviving mutants indicate weak assertions". Include the worst files and survivor counts. - Mutation report is stale, malformed, or missing totals →
infofinding: "Mutation testing report cannot be trusted".
Do not emit minor, major, or critical findings for mutation score in Phase 1 or Phase 2. Mutation data is an informational signal plus an opt-in confidence bonus only.
Step 2: Compute Test-to-Source File Ratio
Count test files and source files:
Compute ratio: test_files / source_files
| Ratio | Severity | |
|---|---|---|
| 0 (no test files at all) | critical | |
| Entire app/package directory (>10 source files) with zero test files | critical per directory — in monorepos, each app layer without any tests is its own critical finding | |
| < 0.1 (fewer than 1 test file per 10 source files) | critical (near-zero coverage) | |
| 0.1 - 0.2 | major | |
| 0.2 - 0.5 | minor | |
| 0.5 - 1.0 | no finding (healthy) | |
| > 1.0 | no finding (thorough) |
Step 3: Check for Critical-Path Tests
Identify critical-path modules and verify they have corresponding test files:
Critical-path detection heuristics:
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/tenet-testing/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/inceptyon-labs/tenet-skills/tenet-testing)