vs-coverage-gap-not-clone
Steal VS "Today I will improve test coverage" FORMAT: baseline gaps, skip no-behavior files, remeasure the same scope. Do NOT clone Test Agent or Copilot…
от IgorGanapolsky★ 34 звезды на GitHub
Установить vs-coverage-gap-not-clone в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
VS coverage FORMAT — gaps, not 100%
Goal
Produce fail-closed coverage honesty for whom: ThumbGate agents about to write tests — so they baseline gaps in one scope, skip enums/re-exports, and remeasure that same scope. Never 100%. Never Copilot Test Agent.
Constraints
| NEVER | ALWAYS |
|---|---|
Clone Test Agent / @test #solution |
npx thumbgate coverage-gap |
cov-fail-under=100 / claim 100% |
Floor (default 50) on behavioral files |
| Tests for enums, re-exports, constants-only | Skip noBehavior kinds |
| Remeasure a different directory | Same --scope before and after |
Dual-edit scripts/test-coverage.js runner |
Feature-detect include/exclude stays there |
Reference
- https://devblogs.microsoft.com/visualstudio/today-i-will-improve-test-coverage/
scripts/coverage-gap.jsscripts/test-coverage.js(Node--experimental-test-coverage+ feature-detect)/high-roi-steal-and-finish
Examples (show, don't tell)
Weak: Run Copilot Test Agent on the whole repo and claim 81% → 100%.
Gold:
$ npx thumbgate coverage-gap --json --coverage=tests/fixtures/coverage-gap-before.json --scope=scripts/risk --floor=50
gaps: scripts/risk/decide.js 20%
skipped: scripts/risk/enums.js
$ npx thumbgate coverage-gap --json --before=...before.json --after=...after.json --scope=scripts/risk
ok: true
Procedures
npx thumbgate coverage-gap --json --coverage=<fixture.json> --scope=scripts/<area> --floor=50
npx thumbgate coverage-gap --json --before=<a> --after=<b> --scope=scripts/<area>
npm run test:coverage-gap
npm run test:coverage # existing runner; feature-detects include/exclude
- Baseline the scoped files.
- Skip no-behavior.
- Write tests only for gap files.
- Remeasure the same scope.
- Refuse
--clone-test-agentand--claim-100.
Rubric
- gold compare same scope →
ok=true --claim-100/@test #solution→ok=false- enum-only files are skipped, not gaps
- doctor:
npm run test:coverage-gapPASS - evidence: command output in the same turn
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл vs-coverage-gap-not-clone?
Steal VS "Today I will improve test coverage" FORMAT: baseline gaps, skip no-behavior files, remeasure the same scope. Do NOT clone Test Agent or Copilot @test #solution. Do NOT claim 100% coverage. Slash: /vs-coverage-gap-not-clone.
Как установить скилл vs-coverage-gap-not-clone?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл vs-coverage-gap-not-clone запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…