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.
npx -y skills add ShreyasBh02/AI-Skills-Collection --skill flaky-test-healerAssembled 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
- Accept Selenium Java test code from the user.
- Identify common causes of flakiness:
- Hardcoded
Thread.sleep()-> Replace withWebDriverWaitorFluentWait. - 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.
- Hardcoded
- Provide the refactored, robust Java Selenium code.
- Explain exactly what was changed and why it resolves the flakiness.