← 返回 Skills 市场
irook661

GitHub Actions Troubleshooting

作者 irook661 · GitHub ↗ · v1.0.0
cross-platform ✓ 安全检测通过
1825
总下载
1
收藏
2
当前安装
1
版本数
在 OpenClaw 中安装
/install 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.
使用说明 (SKILL.md)

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

  1. Code Issues: Failures in compilation, tests, or linting that occur consistently across environments
  2. 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=gofmt for basic syntax checking

Dependency Resolution

  • Verify go.mod and go.sum are consistent
  • Run go mod tidy to 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

  1. Identify which jobs are failing and which are passing
  2. Examine error messages for clues about the nature of the issue
  3. Determine if the issue is reproducible locally
  4. Apply targeted fixes based on issue type
  5. Monitor subsequent workflow runs to verify resolution
安全使用建议
This skill appears coherent and limited to GitHub Actions troubleshooting. Before installing, note that: (1) gh will need GitHub authentication (gh auth) to access private repositories — the skill does not request tokens but will use whatever gh session is present; (2) the troubleshooting commands can download artifacts and run local Go tools (golangci-lint, go mod tidy), which may modify your workspace — run them on a safe branch or in a disposable environment if you are cautious; (3) installing gh via apt/homebrew may require platform privileges. If you plan to allow autonomous agent invocation, be comfortable with the agent running gh/git commands against repos the agent can access; otherwise run the skill manually.
功能分析
Type: OpenClaw Skill Name: github-actions-troubleshooting Version: 1.0.0 The skill bundle is benign. It provides instructions and commands for troubleshooting GitHub Actions workflows using the standard `gh` CLI and Git. The installation steps use legitimate package managers (`brew`, `apt`) to install the `gh` CLI. All commands listed in `SKILL.md` are standard diagnostic or informational commands related to GitHub Actions, such as `gh run list`, `gh run view`, and `gh run download`. There is no evidence of data exfiltration, malicious execution, persistence mechanisms, obfuscation, or prompt injection attempts designed to subvert the agent's behavior or access unrelated sensitive data. The skill's actions are clearly aligned with its stated purpose.
能力评估
Purpose & Capability
Name and description match the declared requirements (gh and git). The SKILL.md uses gh and git commands and Go toolchain commands appropriate to diagnosing CI failures; there are no unrelated binaries or env vars requested.
Instruction Scope
Runtime instructions are narrowly scoped to listing runs, viewing logs, downloading artifacts, and running Go tooling (golangci-lint, go mod tidy). The doc does not instruct reading unrelated system files or secret env vars. It does instruct operations that require repository access (via gh) and running local Go commands, which is expected for this purpose.
Install Mechanism
Install spec uses standard package managers (brew and apt) to install the GitHub CLI (gh). No arbitrary download URLs, archives, or extract steps are present.
Credentials
No environment variables or credentials are declared. The gh CLI used by the skill will require the user's normal GitHub authentication (gh auth) to access private repos, but that is proportional and typical for a GitHub troubleshooting tool.
Persistence & Privilege
The skill does not request permanent presence (always: false) or elevated platform privileges. It is instruction-only and does not modify other skills or system-wide agent settings.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install github-actions-troubleshooting
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /github-actions-troubleshooting 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of the github-actions-troubleshooting skill: - Provides commands and step-by-step guidance to troubleshoot GitHub Actions workflows, with a focus on Go projects. - Helps distinguish between code-related and environment/configuration issues. - Includes diagnostic commands for listing workflow runs, viewing logs, and downloading artifacts using the GitHub CLI. - Offers common fixes for Go CI problems, such as linter configuration and dependency resolution. - Details a structured workflow for analyzing and resolving CI/CD failures.
元数据
Slug github-actions-troubleshooting
版本 1.0.0
许可证
累计安装 2
当前安装数 2
历史版本数 1
常见问题

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。

💬 留言讨论