Skip to content
Back to skills

Test Harness

ASecurity

Generate an MCP server exposing the project's domain and application layers for headless testing.

  • 2 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added November 7, 2026
developmentgotestingapi

Works with

  • api
  • mcp

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned November 7, 2026

npx -y skills add samuel-stidham/smithy --skill test-harness --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Test Harness?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Test Harness
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/samuel-stidham-test-harness/badge)](https://www.skillsdirectory.com/skills/samuel-stidham-test-harness)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: test-harness
description: Generate an MCP server exposing the project's domain and application layers for headless testing.
---

# forge:test-harness

Generate an MCP server that exposes this project's public API surface
as tools, so the active coding agent can drive the application headlessly: launch it,
send inputs, read state, find bugs. This skill builds the harness.
The QA pass is a separate task the user starts afterward.

Focus area: the user's request. Empty means the full public API surface.

## Orientation

Detect the language and tooling from manifests. Never assume them.
Find the domain and application layers per the `clean-architecture`
skill. The harness wraps the same interfaces the presentation layer
uses, never infrastructure or presentation directly. If an MCP server
already exists in the project, ask before extending or replacing it.

## Generate

- A standalone module in the language's idiomatic layout, such as
  `cmd/mcp-server/` in Go or an `mcp-server/` package elsewhere. Stdio
  transport. The harness depends on the project. The project never
  depends on the harness.
- Tools in four groups, as the API surface supports them: lifecycle
  (start, stop, reset, configure), actions (send inputs, trigger
  operations, plus a batch tool to cut round trips), inspection
  (structured state, detailed and summary forms), and targeted testing
  (state overrides for edge cases, clearly marked test-only).
- An `mcpServers` entry in `.mcp.json` at the repo root, merged into
  any existing file, never overwriting it. Note in the report that
  The active host may ask to approve the project server on next start.
- A `TEST_PLAN.md` checklist: general lifecycle checks, feature checks
  from the domain API, edge cases, and milestones. Prose per the
  `writing-style` skill.

## Workflow

State what you found and what you will wrap, briefly. Generate the
module, the config entry, and the test plan. Build and verify the
server starts using the project's own toolchain. Commit per the
`conventional-commits` skill. Report and suggest the QA pass next.

## Boundaries

No QA pass. No production-code changes. No push or PR. That is
`forge:ship`.

Files in this skill

  • SKILL.md2.1 KB
  • agents/openai.yaml213 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.