본문으로 건너뛰기
cccskills
무료GitHub에 공개

tdmcp-test-coverage

Orchestrate any tdmcp test-coverage work: run the coverage harness, inspect coverage gaps, plan focused Vitest/msw or bridge tests, delegate coverage writers, verify coverage deltas, and re-run gates. Use whenever the user asks to raise coverage, add broad regression coverage, create a test harness, improve tests, re-run a coverage wave, or fix a coverage gate.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(1)

  • SKILL.md2.8 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

tdmcp-test-coverage

Use this skill for coverage-improvement work in this repository. The goal is more tested behavior, not prettier percentages.

Phase 0 - Context

  1. Read CLAUDE.md, package.json, vitest.config.ts, and the nearest tests.
  2. Run npm run coverage:harness unless the user asked for a static-only pass.
  3. Read _workspace/coverage/latest.md.
  4. Treat the actionable scope as src/**/*.ts; src/knowledge/data/** is generated reference data and is intentionally excluded.

Phase 1 - Select gaps

Choose one to three independent gaps. Prefer seams where a test can lock a real contract:

  • CLI/config: parsing, defaulting, env precedence, diagnostics, and exit behavior.
  • Resource/knowledge loaders: URI matching, malformed input, ranking, and stable result shape.
  • Tool implementations: Zod defaults, bridge payloads, warnings, and isError paths using msw.
  • Server/client boundaries: offline TD behavior, auth forwarding, timeout/retry, event streaming, and transport setup.

Skip generated data, docs-only files, and import-only tests.

Phase 2 - Build tests

For parallel work, spawn tdmcp-coverage-writer agents with one seam each. Give each writer:

  • target file(s) and nearest existing test to mirror;
  • behavior to assert;
  • expected failure mode or branch to cover;
  • exact narrow command to run.

The lead is the single writer for shared config, package scripts, and harness docs. Do not let multiple agents edit the same test file.

Phase 3 - Verify

Run narrow tests first. Then run:

npm run typecheck
npm run build
./node_modules/.bin/biome check .
npm run coverage:harness
npm run validate:recipes
npm run test:bridge

If a gate fails, fix forward. Do not lower coverage thresholds, delete assertions, or exclude executable code to pass.

Phase 4 - Report

Write _workspace/coverage/wave-<date>.md with:

  • starting and ending coverage summary;
  • tests added and behaviors covered;
  • commands run;
  • PASS/FAIL/UNVERIFIED buckets;
  • next suggested gaps from _workspace/coverage/latest.md.

Test scenarios

  • Normal flow: coverage harness identifies src/cli/chat.ts; writer adds focused CLI behavior tests; lead runs coverage and gates; report includes delta.
  • Error flow: a new test exposes a production bug; report the failing behavior, patch the smallest safe code path, keep the regression test, and re-run gates.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Write operator-facing and public documentation plans for AI-Controlled Party mixer/Soundcraft Ui24R scene arming. Use for runbooks, rehearsal checklists, show-day checklists, EN/PT docs updates, demo scripts, safety wording, and follow-up documentation revisions.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Pantani/tdmcp512026년 8월 16일 업데이트

Authoritative reference for submitting tdmcp to the Anthropic Connectors Directory as a Codex Desktop Extension (MCPB). Use whenever drafting, checking, or fixing the submission — it defines the two submission paths, why tdmcp is a Desktop Extension (never a remote connector), every form field, the rejection-causing gates, and the local-only compliance story. Read this before writing any submission deliverable.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Pantani/tdmcp512026년 8월 16일 업데이트

Authoritative reference for submitting tdmcp to the Anthropic Connectors Directory as a Claude Desktop Extension (MCPB). Use whenever drafting, checking, or fixing the submission — it defines the two submission paths, why tdmcp is a Desktop Extension (never a remote connector), every form field, the rejection-causing gates, and the local-only compliance story. Read this before writing any submission deliverable.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Pantani/tdmcp512026년 8월 16일 업데이트

How to migrate the tdmcp Claude Desktop bundle from legacy .dxt to .mcpb (MCP Bundle) and keep it building — covers the manifest schema (verify against the installed packer, never hardcode), the build-mcpb.mjs packer/zip-fallback flow, the npm scripts, and the full .dxt→.mcpb reference sweep across docs and scripts. Use when packaging or migrating the tdmcp desktop bundle.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Pantani/tdmcp512026년 8월 16일 업데이트

How to migrate the tdmcp Codex Desktop bundle from legacy .dxt to .mcpb (MCP Bundle) and keep it building — covers the manifest schema (verify against the installed packer, never hardcode), the build-mcpb.mjs packer/zip-fallback flow, the npm scripts, and the full .dxt→.mcpb reference sweep across docs and scripts. Use when packaging or migrating the tdmcp desktop bundle.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Pantani/tdmcp512026년 8월 16일 업데이트

Review, harden, and test the safety policy for AI-Controlled Party mixer/Soundcraft Ui24R scene arming. Use for approval gates, blocked mixer operations, hazardous request handling, venue validation, bypass attempts, QA, risk review, or follow-up safety changes.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Pantani/tdmcp512026년 8월 16일 업데이트

Pantani의 스킬 모두 보기

이 스킬의 문제 신고