一键导入
gh-fix-ci
使用 gh 检查 GitHub PR checks,拉取失败的 GitHub Actions logs,汇总失败上下文,制定修复计划并在用户批准后实现。适用于调试或修复 GitHub Actions CI/CD 失败。Keywords: GitHub Actions, CI failure, gh CLI.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
使用 gh 检查 GitHub PR checks,拉取失败的 GitHub Actions logs,汇总失败上下文,制定修复计划并在用户批准后实现。适用于调试或修复 GitHub Actions CI/CD 失败。Keywords: GitHub Actions, CI failure, gh CLI.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | gh-fix-ci |
| description | 使用 gh 检查 GitHub PR checks,拉取失败的 GitHub Actions logs,汇总失败上下文,制定修复计划并在用户批准后实现。适用于调试或修复 GitHub Actions CI/CD 失败。Keywords: GitHub Actions, CI failure, gh CLI. |
Use gh to locate failing PR checks, fetch GitHub Actions logs for actionable failures, summarize the failure snippet, then propose a fix plan and implement after explicit approval.
plan skill for drafting and approving the fix plan.Prereq: ensure gh is authenticated (for example, run gh auth login once), then run gh auth status with escalated permissions (include workflow/repo scopes) so gh commands succeed. If sandboxing blocks gh auth status, rerun it with sandbox_permissions=require_escalated.
repo: path inside the repo (default .)pr: PR number or URL (optional; defaults to current branch PR)gh authentication for the repo hostpython "<path-to-skill>/scripts/inspect_pr_checks.py" --repo "." --pr "<number-or-url>"--json if you want machine-friendly output for summarization.gh auth status in the repo with escalated scopes (workflow/repo) after running gh auth login.sandbox_permissions=require_escalated to allow network/keyring access.gh pr view --json number,url.python "<path-to-skill>/scripts/inspect_pr_checks.py" --repo "." --pr "<number-or-url>"--json for machine-friendly output.gh pr checks <pr> --json name,state,bucket,link,startedAt,completedAt,workflow
gh.detailsUrl and run:
gh run view <run_id> --json name,workflowName,conclusion,status,url,event,headBranch,headShagh run view <run_id> --loggh api "/repos/<owner>/<repo>/actions/jobs/<job_id>/logs" > "<path>"detailsUrl is not a GitHub Actions run, label it as external and only report the URL.plan skill to draft a concise plan and request approval.gh pr checks to confirm.Fetch failing PR checks, pull GitHub Actions logs, and extract a failure snippet. Exits non-zero when failures remain so it can be used in automation.
Usage examples:
python "<path-to-skill>/scripts/inspect_pr_checks.py" --repo "." --pr "123"python "<path-to-skill>/scripts/inspect_pr_checks.py" --repo "." --pr "https://github.com/org/repo/pull/123" --jsonpython "<path-to-skill>/scripts/inspect_pr_checks.py" --repo "." --max-lines 200 --context 40构建、验证和排查 Codex、Cursor、VS Code、Visual Studio 等工具的 deep links。适用于用户需要可点击链接,尤其是在 Slack 中打开线程、文件、文件夹或应用设置时。Keywords: deep links, clickable links, Slack links.
将 OpenAI/Codex 品牌色、字体和视觉规范应用到文档、幻灯片、网页或其他 artifact。适用于需要品牌色、样式指南、视觉格式或公司设计标准的任务。Keywords: OpenAI brand, Codex style, visual formatting.
基于设计原则创建 .png 或 .pdf 静态视觉作品。适用于海报、艺术图、设计稿或其他静态设计产物;必须原创,避免复制现有艺术家作品以降低版权风险。Keywords: poster, visual art, static design.
根据 git commits 自动生成面向用户的 changelog/release notes。会分析提交历史、分类变更,并把技术提交改写成清晰、客户友好的发布说明。Keywords: changelog, release notes, commit history.
执行大型代码库迁移和多文件重构。通过 Composio CLI 协调 issue 跟踪、分批 PR 和 CI 验证,同时由 agent 在本地跨数百个文件执行变换。Keywords: migration, refactor, batched PRs.
从广告库中提取并分析竞品广告,例如 Facebook、LinkedIn 等,用于理解有效的信息表达、问题定位和创意方式,辅助优化自己的广告活动。Keywords: competitor ads, ad library, marketing analysis.