gha
하는 일
이 스킬은 링크를 바탕으로 실패한 GitHub Actions 실행을 조사합니다. 실패의 정확한 원인을 찾은 뒤, 최근 실행을 확인해 문제가 반복되는지 봅니다. 실패하는 빌드를 자주 보는 개발자를 위한 것입니다.
사용하는 경우
- ✓GitHub Actions 실행이 실패해서 정확한 원인을 알고 싶을 때.
- ✓워크플로의 작업이 가끔 실패해서 얼마나 자주 실패하는지 알고 싶을 때.
- ✓어떤 작업이 처음 실패하기 시작했는지 만든 커밋을 찾고 싶은 경우.
스킬 링크
https://github.com/ykdojo/claude-code-tips/blob/main/skills/gha/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“이 실패한 GitHub Actions 실행을 보고, 무엇이 원인인지, 계속 발생하는지 알려 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
스킬은 gh 명령줄 도구를 사용해 실행 로그를 읽고 실패 원인을 찾습니다. 그다음 같은 작업의 최근 실행을 확인해 성공률과 마지막으로 통과한 시점을 봅니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Investigate this GitHub Actions URL: $ARGUMENTS
Use the gh CLI to analyze this workflow run. Your investigation should:
Get basic info & identify actual failure:
- What workflow/job failed, when, and on which commit?
- CRITICAL: Read the full logs carefully to find what SPECIFICALLY caused the exit code 1
- Distinguish between warnings/non-fatal errors vs actual failures
- Look for patterns like "failing:", "fatal:", or script logic that determines when to exit 1
- If you see both "non-fatal" and "fatal" errors, focus on what actually caused the failure
Check flakiness: Check the past 10-20 runs of THE EXACT SAME failing job:
- IMPORTANT: If a workflow has multiple jobs, you must check history for the SPECIFIC JOB that failed, not just the workflow
- Use
gh run list --workflow=<workflow-name>to get run IDs, thengh run view <run-id> --json jobsto check the specific job's status - Is this a one-time failure or recurring pattern for THIS SPECIFIC JOB?
- What's the success rate for THIS JOB recently?
- When did THIS JOB last pass?
Identify breaking commit (if there's a pattern of failures for the specific job):
- Find the first run where THIS SPECIFIC JOB failed and the last run where it passed
- Identify the commit that introduced the failure
- Verify by checking: does THIS JOB fail in ALL runs after that commit? Does it pass in ALL runs before?
- If verified, report the breaking commit with high confidence
Root cause: Based on logs, history, and any breaking commit, what's the likely cause?
- Focus on what ACTUALLY caused the failure (not just any errors you see)
- Verify your hypothesis against the logs and failure logic
Check for existing fix PRs: Search for open PRs that might already address this issue:
- Use
gh pr list --state open --search "<keywords>"with relevant error messages or file names - Check if any open PR modifies the failing file/workflow
- If a fix PR exists, note it in your report and skip the recommendation section
- Use
Write a final report with:
- Summary of failure (what specifically triggered the exit code 1)
- Flakiness assessment (one-time vs recurring, success rate)
- Breaking commit (if identified and verified)
- Root cause analysis (based on the ACTUAL failure trigger)
- Existing fix PR (if found - include PR number and link)
- Recommendation (skip if fix PR already exists)
자주 묻는 질문
GitHub 접근 권한이 필요한가요?
네. gh 명령줄 도구를 사용하므로, 저장소에 접근 권한이 있는 계정으로 로그인되어 있어야 합니다.
워크플로의 모든 작업을 확인하나요?
아닙니다. 워크플로 전체가 아니라 실패한 특정 작업을 확인하므로, 기록이 올바른 작업에 대한 것입니다.
실패를 대신 고쳐 주나요?
스킬은 원인과 그것을 도입한 커밋을 찾는 데 집중합니다.
상세 정보
인기도
- GitHub 스타
- 10k
- 순위
- #11898
- 라이선스
- —
- 업데이트
- 2026. 9. 25.
댓글
- …
이 저장소의 다른 스킬
half-clone
10k에이전트가 긴 채팅의 뒤쪽 절반을 새 세션으로 복사해, 최근 작업은 남기고 토큰 사용을 줄이도록 돕습니다.
handoff
10k에이전트가 새 채팅이 목표, 진행 상황, 다음 단계를 분명히 이어받을 수 있도록 인수인계 문서를 쓰도록 돕습니다.
hn-summarize
10k에이전트가 공식 Hacker News 데이터를 사용해 상위 뉴스 또는 한 기사와 그 댓글을 요약하도록 돕습니다.
private-github-search
10k에이전트가 로컬 사본과 빠른 텍스트 검색을 사용해, 비공개 저장소를 포함한 모든 GitHub 저장소를 검색하도록 돕습니다.
비슷한 스킬
openclaw-update
394k에이전트가 설치 방식에 맞는 방법을 골라 기존 OpenClaw Gateway를 업데이트하고, 세션이 계속 작동하도록 돕습니다.
diagnose-gateway
394k에이전트가 설정, 채널, 포트를 확인해 OpenClaw Gateway가 왜 실패하는지 찾되, 아무것도 바꾸지 않도록 돕습니다.
crabbox-apps
394k에이전트가 임시 클라우드 머신에서 앱을 열고 실행한 뒤, 그 화면을 채팅의 측면 패널에 보여 주도록 돕습니다.