triage-ci-flake
Skill by payloadcms
Triages failing end-to-end Playwright tests in CI for the payloadcms/payload repository. It helps developers investigate flaky tests on main and aggregate failing checks from a pull request.
Install triage-ci-flake
Built from the published package, never by AI.
git clone --depth 1 https://github.com/payloadcms/payload /tmp/payload && mkdir -p ~/.claude/skills && cp -r /tmp/payload/.agents/skills/triage-ci-flake ~/.claude/skills/triage-ci-flakeRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/payloadcms/payload /tmp/payload && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/payload/.agents/skills/triage-ci-flake ~/.gemini/antigravity-cli/skills/triage-ci-flakeAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The skill gives the assistant a repeatable workflow for failing CI checks. When given a PR URL or number, it loads GitHub tools, fetches the pull request's status checks, and builds a table of failing suites. It then visits each failing check's log to pull out the test name, error and file, and looks for patterns shared across failures.
Before any fix is proposed, the skill requires reproducing the failure. It starts the dev server for the suite and runs the single failing test with Playwright. If the test passes, it builds packed packages and reruns the test against the prod server. It also lists common causes of flaky tests, such as race conditions, test pollution and timing issues. It is aimed at developers working on Payload's e2e tests.
Written from the project's SKILL.md and checked against it.
What it can do
- Fetch PR status checksLoads GitHub tools and reads a pull request's failing status checks by PR number.
- Aggregate failing testsBuilds a summary table of failing suites with their check status and target URL.
- Extract failure detailsVisits each failing check's log to get the test name, error message and file.
- Identify common patternsLooks for shared selector errors, repeated test files or test pollution across failures.
- Reproduce with dev codeStarts the dev server for a suite and runs one failing Playwright test by name.
- Reproduce with bundled codeBuilds packed packages and reruns the test against the prod server if it passed in dev.
- Flaky test fix patternsLists fix approaches for race conditions, test pollution and timing issues in e2e tests.
- Lint rule remindersLists eslint rules to follow when editing Playwright e2e tests.
What you need
- pnpm
- Playwright
- GitHub pull request tools (tool_search and github-pull-request_pullRequestStatusChecks)
- Local checkout of the payloadcms/payload repository
Try asking
- Triage the failing checks on payloadcms/payload pull request 16701
- Reproduce this flaky e2e test failure from the CI log using the dev server
- Summarize all failing tests for this PR URL and find shared patterns
Good to know
- The skill requires reproducing a failure before proposing any fix.
- E2E tests are run with Playwright directly, not pnpm test:e2e, because that spawns its own server.
- The workflow is written for the payloadcms/payload repository and its test suites.
- The skill metadata sets disable-model-invocation to true.
Security check
B- Allowed to use Write without limitsIn
SKILL.md
Checked automatically: .agents/skills/triage-ci-flake/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: WriteBash(date:*)Bash(mkdir -p *)
-
SKILL.md17 KB -
agents/openai.yaml43 B
Alternatives to triage-ci-flake
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
triage-ci-flake: common questions
Does this skill fix flaky tests automatically?
The skill guides triage and requires reproducing the failure before proposing any fix. The source does not describe automatic fixing.
Which tests does it target?
It targets end-to-end Playwright tests in CI, especially flaky ones that pass locally but fail in CI.
What input does it need to start?
It can start from a CI failure on main, a flaky test report, or a pull request URL or number with failing checks.
How do I install triage-ci-flake?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is triage-ci-flake free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is triage-ci-flake safe to use?
It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade B (allowed to use write without limits). Review the code before you install. How grades work.
What are alternatives to triage-ci-flake?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
