Flaky Test Detective

🌐Community
by monkey1sai · vlatest · Repository

Identifies root causes of intermittent test failures by analyzing logs, metrics, and code changes.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add flaky-test-detective npx -- -y @trustedskills/flaky-test-detective
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "flaky-test-detective": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/flaky-test-detective"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

What it does

The Flaky Test Detective skill analyzes test results to identify and categorize flaky tests. It helps pinpoint the root causes of these unreliable tests, such as timing issues or environmental dependencies. This allows developers to address the underlying problems and improve overall test suite stability.

When to use it

  • Debugging intermittent failures: When your CI/CD pipeline shows failing tests that sometimes pass, this skill can help diagnose the cause.
  • Improving test suite reliability: Regularly analyze your test results with this skill to proactively identify and fix flaky tests before they impact releases.
  • Understanding test failure patterns: Gain insights into why certain tests are consistently unreliable across different environments or runs.
  • Reducing debugging time: Quickly isolate the specific tests that are causing problems, saving valuable developer time.

Key capabilities

  • Analyzes test results to identify flaky tests.
  • Categorizes flakiness by potential root causes.
  • Helps pinpoint timing issues and environmental dependencies.

Example prompts

  • "Analyze these test results and tell me which tests are flaky."
  • "What are the likely causes of flakiness in this test suite?"
  • "Can you identify any patterns in the flaky tests?"

Tips & gotchas

This skill requires access to your test results data. Ensure the AI agent has appropriate permissions and context to interpret the provided information accurately.

Tags

🛡️

TrustedSkills Verification

Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.

Security Audits

Gen Agent Trust HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
monkey1sai
Installs
4

🌐 Community

Passed automated security scans.