Agent skill

github

Use when working with GitHub PRs via the gh CLI: fixing failing CI checks, addressing review comments, inspecting PR status, or debugging GitHub Actions workflows. Trigger on: fix CI, failing checks, PR comments, address review, GitHub Actions.

Stars 0
Forks 0

Install this agent skill to your Project

npx add-skill https://github.com/jjeremycai/claudekit/tree/main/skills/github

SKILL.md

GitHub PR Workflows

Tools for managing GitHub PRs using the gh CLI. Covers CI debugging and review comment handling.

Prerequisites

bash
gh auth status  # Verify authenticated (repo + workflow scopes)
# If not: gh auth login

Part 1: Fix Failing CI Checks

Debug and fix failing GitHub Actions checks on a PR.

Quick Start

bash
python "<path-to-skill>/scripts-ci/inspect_pr_checks.py" --repo "." --pr "<number-or-url>"
# Add --json for machine-friendly output

Workflow

  1. Resolve the PRgh pr view --json number,url (current branch) or use provided PR number
  2. Inspect failing checks (GitHub Actions only):
    • Preferred: run the bundled script (handles field drift and job-log fallbacks)
    • Manual fallback:
      bash
      gh pr checks <pr> --json name,state,bucket,link,startedAt,completedAt,workflow
      gh run view <run_id> --log
      
  3. Scope external checks — If detailsUrl is not GitHub Actions, report the URL only. Don't attempt Buildkite or other providers.
  4. Summarize failures — Check name, run URL, concise log snippet. Call out missing logs.
  5. Create a fix plan — Draft concise plan, request approval before implementing.
  6. Implement after approval — Apply fixes, summarize diffs/tests.
  7. Recheckgh pr checks to confirm.

Bundled Scripts

  • scripts-ci/inspect_pr_checks.py — Fetch failing checks, pull GitHub Actions logs, extract failure snippets. Exits non-zero when failures remain.
    bash
    python "<path-to-skill>/scripts-ci/inspect_pr_checks.py" --repo "." --pr "123" --json
    python "<path-to-skill>/scripts-ci/inspect_pr_checks.py" --repo "." --max-lines 200 --context 40
    

Part 2: Address PR Review Comments

Find the open PR for the current branch and address its review comments.

Workflow

  1. Fetch comments — Run scripts-comments/fetch_comments.py to print all comments and review threads
  2. Present to user — Number all threads with a short summary of what each fix requires
  3. User selects which comments to address
  4. Apply fixes for selected comments

Bundled Scripts

  • scripts-comments/fetch_comments.py — Print all comments and review threads on the PR

Notes

  • If gh hits auth/rate issues mid-run, prompt user to re-authenticate with gh auth login, then retry.

Expand your agent's capabilities with these related and highly-rated skills.

jjeremycai/claudekit

himalaya

Use when the user asks to read, send, search, or manage email from the terminal. Himalaya is a CLI email client supporting IMAP, Maildir, Notmuch, SMTP, and Sendmail backends. Trigger on: email, inbox, send email, check mail, reply to email, forward email, email folders.

0 0
Explore
jjeremycai/claudekit

gh-fix-ci

Use when a user asks to debug or fix failing GitHub PR checks that run in GitHub Actions; use `gh` to inspect checks and logs, summarize failure context, draft a fix plan, and implement only after explicit approval. Treat external providers (for example Buildkite) as out of scope and report only the details URL.

0 0
Explore
jjeremycai/claudekit

yeet

Use only when the user explicitly asks to stage, commit, push, and open a GitHub pull request in one flow using the GitHub CLI (`gh`).

0 0
Explore
jjeremycai/claudekit

ashby

This skill should be used when the user asks about "Ashby API", "how to use Ashby tools", "Ashby authentication", "recruiting workflows", "candidate pipeline", "interview scheduling", "hiring process", "move candidate through pipeline", "schedule an interview", "manage applications", "track hiring progress", "source candidates", or "advance to next stage". Provides complete API reference and recruiting workflow guidance for the Ashby ATS integration.

0 0
Explore
jjeremycai/claudekit

skill-installer

Install Codex skills into $CODEX_HOME/skills from a curated list or a GitHub repo path. Use when a user asks to list installable skills, install a curated skill, or install a skill from another repo (including private repos).

0 0
Explore
jjeremycai/claudekit

skill-creator

Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Codex's capabilities with specialized knowledge, workflows, or tool integrations.

0 0
Explore

Didn't find tool you were looking for?

Be as detailed as possible for better results