agentsclimarketplace

Flaky test healer

Skill ShreyasBh02/AI-Skills-Collection/flaky-test-healer

Installable GitHub library of 5+ agentic skills for Claude Code, Cursor, Codex CLI, Gemini CLI, Antigravity, and more. Includes installer CLI, bundles, workflows, and official/community skill collections.

Install
npx -y skills add ShreyasBh02/AI-Skills-Collection --skill flaky-test-healer

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 2 stars2 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Analyzes and refactors flaky UI tests written in Selenium WebDriver with Java.

SKILL.md

0.9 KB, as published. Nobody here has run it

Flaky Test Healer (Selenium Java)

Your expert assistant for fixing fragile UI automation tests.

Instructions

  1. Accept Selenium Java test code from the user.
  2. Identify common causes of flakiness:
    • Hardcoded Thread.sleep() -> Replace with WebDriverWait or FluentWait.
    • Fragile XPath/CSS selectors (e.g., absolute paths) -> Refactor to robust, semantic locators (e.g., id, name, relative paths, or data-test-id).
    • Race conditions -> Add ExpectedConditions (visibilityOfElementLocated, elementToBeClickable).
    • StaleElementReferenceException -> Implement retry loops or re-locating strategies.
  3. Provide the refactored, robust Java Selenium code.
  4. Explain exactly what was changed and why it resolves the flakiness.

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.