TR

triage-ci-flake

A structured workflow for investigating and fixing CI test failures and flaky tests on the main branch.

Install

mkdir -p .claude/skills/triage-ci-flake && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/6235" && unzip -o skill.zip -d .claude/skills/triage-ci-flake && rm skill.zip

Installs to .claude/skills/triage-ci-flake

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Use when CI tests fail on main branch after PR merge, when investigating flaky test failures, or when user provides a PR URL/number to aggregate all failing tests
162 chars✓ has a “when” trigger
Intermediate

Key capabilities

  • →Aggregate failing CI status checks
  • →Fetch PR-specific test logs
  • →Categorize intermittent test failures
  • →Generate summary tables of failed suites

How it works

It queries GitHub's PR status checks API to extract failing test IDs, then scrapes logs to consolidate error patterns into a categorized format.

Inputs & outputs

You give it
PR URL or number
You get back
Summary of failing test suites and error details

When to use triage-ci-flake

  • →Investigating CI failures after PR merge
  • →Triaging intermittent flaky tests
  • →Summarizing failing test suites for PRs

About triage-ci-flake

Provides a consistent process for triaging CI failures, specifically for tests passing locally but failing in environments. It automates the retrieval of PR status checks, aggregates test failures, and mandates reproduction workflows.

Use when CI tests fail on main branch after PR merge, or when investigating flaky test failures in CI environments

When not to use it

  • →Direct local bug fixing without CI reproduction
  • →Non-PR related code errors

Prerequisites

GitHub CLI or API access

Limitations

  • →Depends on availability of remote logs
  • →Limited to PRs with configured status checks

How it compares

It mandates a reproduction workflow as a hard rule, preventing guesses at the root cause of flaky tests.

Compared to similar skills

triage-ci-flake side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
triage-ci-flake (this skill)14moReviewIntermediate
analyze-failures18moCautionIntermediate
moai-workflow-testing13moReviewIntermediate
debug-ci18moReviewBeginner

Try saying

Example prompts that trigger this skill in your AI assistant.

Search skills

Search the agent skills registry