github-actions-inspection
БесплатноБез исполняемых скриптовНе проверенFailing step, stack trace, and test output from a completed GitHub Actions run; rerun failed jobs. Use when a CI check finished red and you need the error…
от laurigates★ 61 звезда на GitHubОб этом скилле
GitHub Actions Inspection
When to Use This Skill
| Use this skill when... | Use the linked sibling instead when... |
|---|---|
Pulling status, logs, and conclusions from gh run for a failing workflow |
Authoring or modifying a workflow YAML file — see claude-code-github-workflows |
| Diagnosing flaky tests, timeouts, or auth-permission errors in a CI run | Searching upstream OSS issues for a library bug — see git-plugin:github-issue-search |
| Rerunning failed jobs or extracting error lines from a completed run | Use gh-workflow-monitoring to block until an in-progress run finishes, or git-plugin:git-fix-pr to patch and push the fix |
Expert knowledge for inspecting, debugging, and troubleshooting GitHub Actions workflow runs using gh CLI and GitHub API.
For detailed examples, advanced patterns, and best practices, see REFERENCE.md.
Core Expertise
Workflow Run Inspection
- Check workflow run status and conclusions
- List recent workflow runs with filtering
- View detailed run information
- Monitor in-progress workflows
Log Analysis
- Fetch workflow run logs
- Identify failing steps and jobs
- Extract error messages and stack traces
- Parse test failure output
Debugging Workflows
- Diagnose common failure patterns
- Correlate errors with code changes
- Identify flaky tests and race conditions
- Analyze timing and performance issues
Essential Commands
List Workflow Runs
# List all workflow runs
gh run list
# List runs for specific workflow
gh run list --workflow=ci.yml
# Filter by status
gh run list --status=failure
gh run list --status=in_progress
# Filter by branch
gh run list --branch=main
# Combine filters
gh run list --workflow=ci.yml --status=failure --limit 5
# JSON output for parsing
gh run list --json databaseId,status,conclusion,name,createdAt,headBranch
View Workflow Run Details
# View specific run
gh run view <run-id>
# View failed logs only
gh run view <run-id> --log-failed
# View specific job
gh run view <run-id> --job=<job-id>
# JSON output
gh run view <run-id> --json status,conclusion,jobs,startedAt,updatedAt
Download and Analyze Logs
# Download logs for run
gh run download <run-id>
# View failed step logs only
gh run view <run-id> --log-failed
# Extract specific job logs
gh api repos/:owner/:repo/actions/runs/<run-id>/logs | less
Watch Running Workflows
# Watch workflow progress
gh run watch <run-id>
# Watch with exit status
gh run watch <run-id> --exit-status
Rerun Workflows
# Rerun entire workflow
gh run rerun <run-id>
# Rerun only failed jobs
gh run rerun <run-id> --failed
# Rerun with debug logging
gh run rerun <run-id> --debug
A re-run reuses the original event's GITHUB_SHA and GITHUB_REF, so
actions/checkout fetches the commit the run first saw, not current main.
To act on an event against current main, dispatch the workflow again
(gh workflow run <file> -f issue_number=<n>) rather than re-running it. See
REFERENCE.md § Event-triggered runs.
Cancel Workflows
# Cancel specific run
gh run cancel <run-id>
Analysis Patterns
Find Recent Failures
# Get last 10 failed runs
gh run list --status=failure --limit 10
# Get failures with details
gh run list --workflow=ci.yml --status=failure --limit 5 \
--json databaseId,conclusion,name,createdAt,headBranch,headSha
Identify Flaky Tests
# Get runs for specific commit
gh run list --commit=<sha>
# Find tests that sometimes pass
gh run list --workflow=test.yml --limit 20 --json conclusion \
| jq 'group_by(.conclusion) | map({conclusion: .[0].conclusion, count: length})'
Extract Error Messages
# View failed logs
gh run view <run-id> --log-failed
# Extract error lines
gh run view <run-id> --log-failed | grep -i "error\|failed\|exception"
# Parse JSON for errors
gh api repos/:owner/:repo/actions/runs/<run-id>/jobs \
| jq '.jobs[] | select(.conclusion == "failure") | {name, steps: [.steps[] | select(.conclusion == "failure")]}'
Read job conclusions, not the workflow's
A run's conclusion: success also covers jobs that were skipped. Jobs gated
on a tag push or a release event (if: github.event_name == 'push',
if: startsWith(github.ref, 'refs/tags/'), release-please pre-release only)
report skipped on every PR, so PR CI is green for them by construction. A
change that breaks one merges cleanly and fails on the next release, which can
be weeks later.
gh run view <run-id> --json jobs --jq '.jobs[] | {name, conclusion}'
- To judge whether a specific job (an image build, a release upload) actually
ran, read that job's
conclusion.skippedmeans it verified nothing. - Before merging a change to a release-gated job, exercise it: trigger it with
workflow_dispatch, push a throwaway tag, or run the step local
Установить github-actions-inspection в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Bash(gh run view *)Bash(gh run list *)Bash(gh run rerun *)Bash(gh run watch *)Bash(gh run download *)Bash(gh workflow list *)Bash(gh workflow view *)Bash(gh api *)Bash(jq *)Bash(grep *)ReadGrepGlobmcp__githubВложенные файлы
FAQ
Что делает скилл github-actions-inspection?
Failing step, stack trace, and test output from a completed GitHub Actions run; rerun failed jobs. Use when a CI check finished red and you need the error extracted from its log.
Как установить скилл github-actions-inspection?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл github-actions-inspection запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic