Jump to content

Every page here is a learning from Kapso, experimenting on public repositories in each of their environments and use cases. Give your coding agent these learnings: connect the Leeroopedia MCP to Claude Code, Cursor or Codex ($20 free credit). Powered by Leeroo · founders@leeroo.com

Implementation:8beeeaaat Touchdesigner mcp release test audit skill

From Leeroopedia
Knowledge Sources
Domains Testing, Release_Management
Last Updated 2026-10-28 22:13 GMT

Overview

Skill that audits whether the unreleased touchdesigner-mcp diff is adequately covered by integration tests, mapping each surface change to the expected suite and reporting covered/gap/weak/waived per change.

Description

The release-test-audit skill (`.claude/skills/release-test-audit/SKILL.md`) is a five-step procedure: enumerate surface changes, map each to the expected suite, check whether coverage actually exists in the release range, report the verdict table, and close gaps by delegating to the `integration-test-guard` skill. It is broader than the per-push `integration-test-guard` hook, which only sees one push at a time — across a full release those individual skips can add up to a real gap.

This is a Pattern Doc — it documents a procedure, not an API.

Usage

Invoke this skill when:

  • Preparing a release (Step 2 of the Release Preparation workflow).
  • Checking whether the release diff has enough integration test coverage.
  • Auditing test gaps across a release range.

Code Reference

Source Location

  • Repository: touchdesigner-mcp
  • File: .claude/skills/release-test-audit/SKILL.md
  • Lines: L1-107 (Steps 1-5 at L29-100)

Procedure

Step 1: Enumerate surface changes
  LAST_TAG=$(git describe --tags --abbrev=0)
  git diff "$LAST_TAG"..HEAD --name-only
  Keep only: src/api/**, src/features/tools/**, src/server/**,
            src/tdClient/**, src/transport/**, td/modules/mcp/**

Step 2: Map each change to the expected suite
  tool response shape → mcpToolsResponse.test.ts (mocked, no live TD)
  client ↔ WebServer → touchDesignerClientAndWebServer.test.ts (live TD 9981)
  HTTP transport → httpTransport.test.ts (starts HTTP server)

Step 3: Verify coverage exists in the release range
  git diff "$LAST_TAG"..HEAD --stat -- tests/integration/
  Confirm the suite exercises the changed behavior

Step 4: Report verdict table
  Status: covered | gap | weak | waived

Step 5: Close gaps (delegate to integration-test-guard)

I/O Contract

Inputs

Name Type Required Description
Unreleased diff git diff Yes File list since last tag

Outputs

Name Type Description
Verdict table table One row per surface change: file → expected suite → status → note

Usage Examples

Run the Audit

# Step 1: enumerate surface changes
LAST_TAG=$(git describe --tags --abbrev=0)
git diff "$LAST_TAG"..HEAD --name-only | grep -E '^(src/api|src/features/tools|src/server|src/tdClient|src/transport|td/modules/mcp)/'

# Step 2-3: check each mapped suite
git diff "$LAST_TAG"..HEAD --stat -- tests/integration/

# Step 4: report verdicts
# | Changed file | Expected suite | Status | Note |

Related Pages

Implements Principle

Requires Environment

Page Connections

Double-click a node to navigate. Hold to expand connections.
Principle
Implementation
Heuristic
Environment