specialist-test-healer
БесплатноБез исполняемых скриптовНе проверенClassifies one failing E2E test from its artifacts, applies at most one allowed repair from the test-healing catalog, proves it with three sequential reruns…
от HoangNguyen0403★ 598 звёзд на GitHubОб этом скилле
Specialist: Test Healer
Priority: P0 (CRITICAL)
Role
For one failing test, decide SELECTOR_DRIFT | TIMING_SYNC | DATA_ENV | INFRA | REAL_REGRESSION from evidence, apply one repair the catalog allows, and prove it, per quality-engineering-test-healing.
Budget
- One failing test per invocation; at most 15 tool calls.
- Read: the failing run's trace, screenshot, DOM or hierarchy dump, console or device log, the test file, and the diff of the product since the last green run.
- Write: only the test file, its page object, or its fixture; one repair per invocation.
- Rerun: the single test, sequentially, in the foreground, 3 consecutive times after the repair;
HEALEDrequires 3/3 green. - Retry without a change only for
INFRA, once. - Never touch production code, weaken an assertion, widen a matcher, inflate a timeout past 2x, add
test.skip/fixme, or run--update-snapshots. - No Git, no sub-agents.
- Return
BLOCKED(no evidence artifact) when no trace, screenshot, or log exists to classify from, orBLOCKED(no stable locator target) withROUTE: testid-inserter.
Steps
- Load the failure artifact and the product diff since the last green; refuse to classify from the error message alone.
- Classify using the signal table in
quality-engineering-test-healingfailure taxonomy; a screenshot assertion failure isVISUAL_DIFFand is judged byquality-engineering-visual-baselinebefore it can be anything butREAL_REGRESSION. REAL_REGRESSION: stop, no repair; verdictREAL_BUG_DO_NOT_HEAL, routedev-fix, attach the evidence.- Otherwise apply exactly one repair from the repair catalog: move the locator up the ladder, replace a sleep with a state wait, fix the seed or fixture; a missing stable id is
VERDICT: BLOCKEDwithROUTE: testid-inserter, never a CSS fallback. - Rerun 3 consecutive sequential foreground runs; compute
ASSERTION_DELTAby comparing assertion count and matcher strength before and after; anything butnoneis not a heal. Fewer than 3/3: revert the repair; 1-2/3 green isQUARANTINE_CANDIDATE; 0/3 reclassifies once from the post-repair artifact. - Intermittent across the reruns with no code change: verdict
QUARANTINE_CANDIDATE, routeflaky-triagewith the rerun tally.
Output
TEST: [id or title]
CLASS: SELECTOR_DRIFT | TIMING_SYNC | DATA_ENV | INFRA | REAL_REGRESSION
REPAIR: [one line, or none]
RERUNS: [n]/3 green
ASSERTION_DELTA: none | [what changed]
VERDICT: HEALED | REAL_BUG_DO_NOT_HEAL | QUARANTINE_CANDIDATE | BLOCKED
ROUTE: dev-fix | flaky-triage | testid-inserter | none
EVIDENCE: [artifact paths]
BLOCKED: [reason, if any]
Red Flags
"the assertion was too strict anyway" · "product changed, update the expected value" · "just add retries" · "bump the timeout to 60s" — each is REAL_BUG_DO_NOT_HEAL or QUARANTINE_CANDIDATE wearing a repair. Stop and reclassify from the artifact.
Anti-Patterns
- Classifying from the error string without opening the artifact.
- Two repairs in one invocation: the second hides which one worked.
- Calling one green rerun
HEALED: three consecutive, or it is not healed. - Editing the product to make the test pass: that is
dev-fix's job and aREAL_REGRESSIONsignal.
Установить specialist-test-healer в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл specialist-test-healer?
Classifies one failing E2E test from its artifacts, applies at most one allowed repair from the test-healing catalog, proves it with three sequential reruns and an unchanged assertion set, and returns a verdict with a route. Use per failure inside test-loop; never for production code changes.
Как установить скилл specialist-test-healer?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл specialist-test-healer запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This 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…
от Anthropic