detect-test-harness

Detect runnable test harnesses from scan-index manifests and CI workflows.

3|Updated Jan 25, 2026
One-click install
npx skills add https://github.com/kapilvirenahuja/garura --skill detect-test-harness
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: detect-test-harness
Source: https://github.com/kapilvirenahuja/garura/tree/main/core/components/skills/detect-test-harness
Command: npx skills add https://github.com/kapilvirenahuja/garura --skill detect-test-harness

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill solves the problem of determining how to reliably execute a codebase’s tests in order to verify changes as “green” in CI-like conditions.

Core Features & Use Cases

  • Test harness detection from scan artifacts: Inspects scan-index manifests, CI workflow files, and configuration to infer the real test framework and invocation details.
  • Canonical harness matching for deterministic output: Pattern-matches repository signals against an embedded harness catalog to produce a precise TEST_HARNESS record.
  • Run readiness and prerequisites signaling: Performs a light runnability check (without executing tests) and records when dependency install is required or when no harness is detectable.

Quick Start

Use the detect-test-harness skill to generate test-harness.yaml for your repository by providing scan_index_path, codebase_root, and output_path.

Frequently Asked Questions about detect-test-harness

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I detect the test runner used in a repository from CI workflows?

Test harness detection inspects scan-index manifests, CI workflow files, and configuration to infer the real test framework and invocation details. It pattern-matches repository signals against an embedded harness catalog to produce a precise TEST_HARNESS record.

What is deterministic test generation verification in CI?

Deterministic test generation verification applies during pre-flight phases by detecting runnable test harness configurations to enable baseline-green checks. It requires parsing JSON scan-index input and resolving primary runner priority for subsequent runner execution planning.

How do I generate a test-harness.yaml artifact for my codebase?

To generate test-harness.yaml, provide scan_index_path, codebase_root, and output_path. The skill parses JSON scan-index input, matches against a canonical harness catalog, resolves primary runner priority, and produces the structured test-harness.yaml artifact at the output path.

Does framework detection work without actually executing tests?

Framework detection performs a light runnability check without executing tests. It records when dependency installation is required or returns a no-harness-detectable status when nothing runnable can be identified across unit and E2E tiers.

What happens when no test harness is detectable in a repository?

When no test harness is detectable, the process fails with a no-harness-detectable status. This occurs after parsing JSON scan-index input and matching repository signals against the canonical harness catalog without identifying any runnable test framework.