/install github-actions-troubleshooting
GitHub Actions Troubleshooting Skill
Use the gh CLI and Git to diagnose and fix GitHub Actions workflow failures, particularly for Go projects. This skill helps identify whether failures are due to code issues or environment/configuration problems.
Workflow Analysis
Check the status of recent workflow runs:
gh run list --repo owner/repo --limit 10
View details of a specific failing workflow:
gh run view \x3Crun-id> --repo owner/repo
Get logs for failed jobs only:
gh run view \x3Crun-id> --repo owner/repo --log-failed
Distinguishing Issue Types
- Code Issues: Failures in compilation, tests, or linting that occur consistently across environments
- Environment Issues: Problems with dependency resolution, tool installation, or type-checking in CI that work locally
Common Go CI Fixes
Linter Configuration Issues
- Look for "undefined" reference errors that indicate import resolution problems
- Try minimal linter configs that disable type-checking linters
- Use
golangci-lint run --disable-all --enable=gofmtfor basic syntax checking
Dependency Resolution
- Verify go.mod and go.sum are consistent
- Run
go mod tidyto resolve dependency conflicts - Check that required dependencies are properly declared
Diagnostic Commands
Check specific workflow job logs:
gh run view --job \x3Cjob-id> --repo owner/repo
Download workflow artifacts for inspection:
gh run download \x3Crun-id> --repo owner/repo
Troubleshooting Workflow
- Identify which jobs are failing and which are passing
- Examine error messages for clues about the nature of the issue
- Determine if the issue is reproducible locally
- Apply targeted fixes based on issue type
- Monitor subsequent workflow runs to verify resolution
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install github-actions-troubleshooting - After installation, invoke the skill by name or use
/github-actions-troubleshooting - Provide required inputs per the skill's parameter spec and get structured output
What is GitHub Actions Troubleshooting?
Troubleshoot GitHub Actions workflows, particularly for Go projects. Diagnose failing workflows, distinguish between code and environment issues, interpret logs, and apply fixes for common CI/CD problems. It is an AI Agent Skill for Claude Code / OpenClaw, with 1825 downloads so far.
How do I install GitHub Actions Troubleshooting?
Run "/install github-actions-troubleshooting" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is GitHub Actions Troubleshooting free?
Yes, GitHub Actions Troubleshooting is completely free (open-source). You can download, install and use it at no cost.
Which platforms does GitHub Actions Troubleshooting support?
GitHub Actions Troubleshooting is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created GitHub Actions Troubleshooting?
It is built and maintained by irook661 (@irook661); the current version is v1.0.0.