본문으로 건너뛰기
Skillpedia
배포 및 클라우드 (DevOps)16k · #10828

ci-triage

하는 일

이 스킬은 GitHub Actions에서 빨간불이 들어온 빌드나 실패한 워크플로를 이해하도록 돕습니다. 실패가 자신의 잘못인지, 불안정한 테스트인지, 인프라 문제인지 알고 싶은 개발자를 위한 스킬입니다.

사용하는 경우

  • ✓풀 리퀘스트의 검사가 빨간불이고 이유를 알고 싶을 때.
  • ✓워크플로가 실패했고 로그에서 첫 번째 실제 오류를 찾아야 하는 경우.
  • ✓테스트가 불안정하다고 의심되고 실제 실패와 구별하고 싶을 때.

스킬 링크

https://github.com/ParadevAI/Paradev/blob/main/plugins/github/skills/ci-triage/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/ParadevAI/Paradev/blob/main/plugins/github/skills/ci-triage/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“제 풀 리퀘스트 검사가 빨간불입니다. 어느 작업이 실패했는지, 제 잘못인지 알려 주실 수 있나요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 실행의 작업 목록을 보고, 실패한 가장 이른 작업을 찾은 뒤 그 작업 로그의 첫 번째 오류를 찾습니다. 그 오류를 실제 실패, 환경 문제, 불안정한 테스트, 이미 있던 문제 중 하나로 분류합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Diagnose a failing CI run

The goal is one sentence a human can act on: which job failed, on what, and whether it is this PR's fault. A screenshot of red checks is not a diagnosis.

1. Find the first failure, not the loudest one

List the run's jobs and take the earliest failing one. Later jobs usually fail because an earlier one did, and their logs are longer and more alarming — which is why people diagnose the wrong job.

Within that job, find the first error, not the last. Build tooling prints a summary at the end that names the last thing to fail; the first error is what actually broke.

Skip past the noise that always appears in failing logs: deprecation warnings, peer dependency notices, cache misses. None of them fail a build on their own.

2. Classify before investigating

Read the first error and put it in one of four buckets. They have different fixes and mixing them up wastes the most time.

Bucket Signal What to do
Real failure Assertion, type error, or compile error naming code this PR touched Report the file and line
Environment Network timeout, registry 5xx, disk full, runner image change Re-run; if it persists, it is infrastructure
Flake Timing, ordering, or concurrency; passes on re-run See step 4 — do not stop at "re-run passed"
Pre-existing Fails identically on the base branch Not this PR's problem; say so explicitly

Check pre-existing early. Fetch the most recent run on the base branch and compare the failing job. A PR blamed for a failure it inherited burns an afternoon.

3. Attribute it to a change

For a real failure, connect the error to a diff. Get the PR's changed files and check whether the failing test or module is among them, or imports something that is.

If the failing area is untouched by the PR, the likely causes in order are: a dependency that moved, a merge with a base that already broke, or a genuine action-at-a-distance bug — which is the most interesting outcome and worth saying out loud.

4. Do not launder a flake into a pass

A re-run that goes green proves the failure is intermittent. It does not prove the code is correct, and intermittent failures in CI are usually real race conditions that will also happen in production.

When you re-run and it passes, say that plainly, name the test, and check whether it has failed before on other PRs. A test that flakes on many PRs is a bug report about that test. Re-running until green and reporting success is how a real concurrency bug survives review.

5. Report

Give the requester, in this order: the job, the first error with its file and line, the bucket from step 2, and what you recommend. Link the specific failing step, not the run — the run page makes them hunt for what you already found.

If the fix is small and obvious, say what it is. If the failure is pre-existing or infrastructural, say who needs to know, since the PR author usually cannot fix it.

Anti-patterns

  • Pasting the whole log. If you could not find the relevant twenty lines, the diagnosis is not finished.
  • Reporting the last error in the file.
  • "CI is flaky" without naming the test.
  • Re-running more than twice without reading the log in between.
자주 묻는 질문

마지막 오류를 보지 않는 이유는 무엇인가요?

뒤의 작업은 앞의 작업이 실패해서 실패하는 경우가 많으므로, 첫 번째 오류가 실제 원인을 보여 줍니다.

불안정한 테스트란 무엇인가요?

시간이나 순서 때문에 생기고 다른 실행에서는 통과할 수 있는 실패입니다. 스킬은 단순 재실행으로 끝내지 않습니다.

에이전트가 실패를 고치나요?

스킬은 진단에 집중하며, 작업 이름, 첫 번째 오류, 그것을 깨뜨린 커밋을 찾는 것을 목표로 합니다.

상세 정보

작성자의 원본 설명

Diagnose a failing GitHub Actions run — find the first real error in the logs, tell a flake apart from a genuine failure, and identify the commit that broke it. Use when checks are red on a PR, a workflow failed, the build is broken, CI is flaky, or the user asks why a run failed or whether a failure is real.

repo: ParadevAI/Paradev

인기도

GitHub 스타
16k
순위
#10828
라이선스
—
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬