Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

Specialist Test Healer

ASecurity

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.

565 stars
0 votes
0 copies
0 views
Added 9/21/2026
developmentgit

Security Analysis

A100/100

Scanned 9/21/2026

Install to Claude Code

$npx -y skills add HoangNguyen0403/agent-skills-standard --skill specialist-test-healer --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Specialist Test Healer?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Specialist Test Healer
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/hoangnguyen0403-specialist-test-healer/badge)](https://www.skillsdirectory.com/skills/hoangnguyen0403-specialist-test-healer)

More formats (shields.io, HTML) on the badges page.

Download with Pro
Files
SKILL.md
---
name: specialist-test-healer
description: 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.
guardrail: true
metadata:
  triggers:
    keywords:
      - run the healer
      - heal this failure
      - classify test failure
      - heal verdict
      - repair failing test
---
# 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; `HEALED` requires 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, or `BLOCKED` (no stable locator target) with `ROUTE: testid-inserter`.

## Steps

1. Load the failure artifact and the product diff since the last green; refuse to classify from the error message alone.
2. Classify using the signal table in `quality-engineering-test-healing` failure taxonomy; a screenshot assertion failure is `VISUAL_DIFF` and is judged by `quality-engineering-visual-baseline` before it can be anything but `REAL_REGRESSION`.
3. `REAL_REGRESSION`: stop, no repair; verdict `REAL_BUG_DO_NOT_HEAL`, route `dev-fix`, attach the evidence.
4. 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: BLOCKED` with `ROUTE: testid-inserter`, never a CSS fallback.
5. Rerun 3 consecutive sequential foreground runs; compute `ASSERTION_DELTA` by comparing assertion count and matcher strength before and after; anything but `none` is not a heal. Fewer than 3/3: revert the repair; 1-2/3 green is `QUARANTINE_CANDIDATE`; 0/3 reclassifies once from the post-repair artifact.
6. Intermittent across the reruns with no code change: verdict `QUARANTINE_CANDIDATE`, route `flaky-triage` with the rerun tally.

## Output

```text
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 a `REAL_REGRESSION` signal.

Attribution

HoangNguyen0403HoangNguyen0403
View sourceMore from HoangNguyen0403 →
SSkills DirectorySkills Directory

Know which skills are safe — weekly.

Best new skills + every skill we flagged as malicious. From the team that scanned 103,619.

Join free

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

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Know which skills are safe — weekly.

Best new skills + every skill we flagged as malicious. From the team that scanned 103,619.

Join free

Related Skills

Browser Extension Developer

Use this skill when developing or maintaining browser extension code in the `browser/` directory, including Chrome/Firefox/Edge compatibility, content scripts, background scripts, or i18n updates.

284722 votes

Seo Optimizer

SEO optimization with keyword analysis, readability assessment, technical validation, content quality. Use for search rankings, blog posts, content audits, or encountering keyword density, readability scores, meta tags, schema markup errors.

2192 votes

Google Official Seo Guide

Official Google SEO guide covering search optimization, best practices, Search Console, crawling, indexing, and improving website search visibility based on official Google documentation

1862 votes

Tanstack Start

Build a full-stack TanStack Start app on Cloudflare Workers from scratch — SSR, file-based routing, server functions, D1+Drizzle, better-auth, Tailwind v4+shadcn/ui. Use whenever the user mentions TanStack Start, asks to scaffold a full-stack Cloudflare app with SSR, wants an SSR dashboard, or asks for a React 19 + Cloudflare Workers app with file-based routing and server functions — even if they don't name TanStack Start specifically. No template repo — Claude generates every file fresh per ...

9881 votes

Pentest

PTES-aligned adversarial security audit for backend, frontend, and mobile applications. Produces a CVSS-scored Hacker Report with verified PoCs and phased remediation.

5491 votes
View all in development →