GitHub Actions 워크플로우 로그를 조회하고 분석합니다. "CI 로그 확인해줘", "워크플로우 실패 원인 분석해줘", "GitHub Actions 상태 알려줘", "빌드 로그 보여줘", "테스트 실패 로그 확인" 등을 요청할 때 활성화됩니다.
Analyzes GitHub Actions workflow logs to diagnose CI/CD failures. Activates when you request CI logs, workflow status, or failure analysis like "CI 로그 확인해줘" or "워크플로우 실패 원인 분석해줘".
/plugin marketplace add dlddu/claude-plugin-marketplace/plugin install ci-toolkit@dlddu-pluginsThis skill inherits all available tools. When active, it can use any tool Claude has access to.
이 스킬은 GitHub Actions 워크플로우의 로그를 조회하고 분석하는 방법을 제공합니다. CI/CD 파이프라인의 실패 원인을 빠르게 파악하고, 문제를 해결하는 데 도움을 줍니다.
다음과 같은 요청 시 이 스킬이 활성화됩니다:
gh)가 설치되어 있어야 합니다 (SessionStart hook에서 자동 설치)GITHUB_TOKEN 또는 GH_TOKEN 환경 변수가 설정되어 있어야 합니다SessionStart hook이 자동으로 gh.repo git config를 설정합니다.
모든 gh 명령어는 다음과 같이 실행해야 합니다:
GH_REPO=$(git config --get gh.repo) gh <명령어>
예시:
GH_REPO=$(git config --get gh.repo) gh run list --limit 5
gh run list --limit 10
출력 예시:
STATUS TITLE WORKFLOW BRANCH EVENT ID ELAPSED AGE
✓ fix: update deps CI main push 1234567890 2m30s 5m
✗ feat: new feature CI dev push 1234567889 1m45s 10m
gh run view <run-id>
또는 최근 실패한 워크플로우:
gh run view $(gh run list --status failure --limit 1 --json databaseId --jq '.[0].databaseId')
gh run view <run-id> --json jobs --jq '.jobs[] | {name: .name, status: .status, conclusion: .conclusion}'
gh run view <run-id> --log-failed
이 명령은 실패한 step의 로그만 출력합니다.
gh run view <run-id> --log
주의: 전체 로그는 매우 길 수 있습니다.
gh run view <run-id> --job <job-id> --log
# 현재 HEAD 커밋의 워크플로우 조회
COMMIT_SHA=$(git rev-parse HEAD)
gh api "repos/{owner}/{repo}/actions/runs?head_sha=$COMMIT_SHA" --jq '.workflow_runs[] | {name: .name, status: .status, conclusion: .conclusion, url: .html_url}'
실패한 워크플로우 확인
gh run list --status failure --limit 5
실패 원인 분석
gh run view <run-id> --log-failed
상세 로그 확인 (필요한 경우)
gh run view <run-id> --log
FAIL, Error, AssertionError 등을 검색npm run lint:fixgh api repos/{owner}/{repo}/actions/runs/{run_id}
gh api repos/{owner}/{repo}/actions/runs/{run_id}/jobs
gh api repos/{owner}/{repo}/actions/jobs/{job_id}/logs
# 1. 최근 실패한 워크플로우 확인
gh run list --status failure --limit 1
# 2. 실패 로그 확인
gh run view <run-id> --log-failed
# 3. 실패한 step 분석
# 로그에서 에러 메시지를 찾아 원인 파악
# 현재 커밋의 워크플로우 상태
COMMIT=$(git rev-parse HEAD)
gh run list --commit $COMMIT
# 실패한 워크플로우 재실행
gh run rerun <run-id>
# 실패한 job만 재실행
gh run rerun <run-id> --failed
gh run list --json status,conclusion,name,databaseId --limit 5
gh run list --json status,name --jq '.[] | select(.status == "failure") | .name'
repo 및 actions:read 권한이 필요합니다--log-failed 옵션을 우선 사용하세요Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.
Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.