/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
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install github-actions-troubleshooting - 安装完成后,直接呼叫该 Skill 的名称或使用
/github-actions-troubleshooting触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
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. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1825 次。
如何安装 GitHub Actions Troubleshooting?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install github-actions-troubleshooting」即可一键安装,无需额外配置。
GitHub Actions Troubleshooting 是免费的吗?
是的,GitHub Actions Troubleshooting 完全免费(开源免费),可自由下载、安装和使用。
GitHub Actions Troubleshooting 支持哪些平台?
GitHub Actions Troubleshooting 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 GitHub Actions Troubleshooting?
由 irook661(@irook661)开发并维护,当前版本 v1.0.0。