test-repair

Repairs flaky or failing Playwright test suites via a multi-stage pipeline with clustered fixes and targeted validation.

7|7|Updated Mar 9, 2026
One-click install
npx skills add https://github.com/civitas-cerebrum/element-interactions --skill test-repair
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: test-repair
Source: https://github.com/civitas-cerebrum/element-interactions/tree/main/skills/test-repair
Command: npx skills add https://github.com/civitas-cerebrum/element-interactions --skill test-repair

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Orchestrates the repair of rotted Playwright test suites by running a baseline assessment, clustering failures by emergent patterns, and delegating atomic heals to the failure-diagnosis workflow to converge tests back to a green state.

Core Features & Use Cases

  • Six-stage repair pipeline (Baseline, Pattern detection, Adaptive verification, Delegation to failure-diagnosis, Post-heal verification, Repair summary) that deterministically identifies root causes and stabilizes test runs.
  • Cluster-first healing that prioritizes fixes unblocking many tests and reduces duplicate work.
  • Safe, auditable repairs with explicit escalation for semantic changes and a structured repair summary.

Quick Start

Run the test-repair pipeline against your rotted suite to cluster failures and apply automated heals.

Frequently Asked Questions about test-repair

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fix flaky Playwright tests automatically?▼

To fix flaky Playwright tests, this Skill runs a multi-stage repair pipeline that clusters non-green tests by shared signals and applies targeted heals to stabilize the suite.

What is cluster-based test repair for test automation?▼

Cluster-based test repair groups failing tests by emergent patterns to prioritize fixes that unblock many tests, reducing duplicate work. It targets shared root causes across the test suite.

How do I repair a rotted Playwright test suite step by step?▼

Repairing a rotted Playwright suite involves a six-stage pipeline: baseline assessment, pattern detection, adaptive verification, delegation for atomic heals, post-heal verification, and a final repair summary.

Does automated test repair handle semantic code changes?▼

Automated test repair delegates semantic code changes to operator oversight, escalating them explicitly. This ensures safe, auditable repairs while automating only deterministic fixes.

When should I use a dedicated repair pipeline instead of manual debugging?▼

Use a repair pipeline when a rotted test suite has many flaky or failing tests. Clustering by shared signals converges tests to green faster than manual debugging by fixing unblocking issues first.