getting-pr-artifacts

Enumerate GitHub PR workflow artifacts and generate gh download commands.

1|Updated Jul 14, 2017
One-click install
npx skills add https://github.com/karlmdavis/dotfiles --skill getting-pr-artifacts
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: getting-pr-artifacts
Source: https://github.com/karlmdavis/dotfiles/tree/main/private_dot_claude/skills/getting-pr-artifacts
Command: npx skills add https://github.com/karlmdavis/dotfiles --skill getting-pr-artifacts

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Manually sifting through GitHub PR workflows to find and download specific artifacts is time-consuming and inefficient, especially when dealing with large files or multiple runs. This Skill automates the discovery and provides direct commands, saving you from manual navigation and accidental large downloads.

Core Features & Use Cases

  • Artifact Discovery: Automatically identifies all available artifacts from a given PR's workflow runs.
  • Size & Content Insight: Provides artifact names, sizes, and potential contents (e.g., test reports, build outputs).
  • Download Commands: Generates gh CLI commands to selectively download artifacts, preventing large files from consuming your AI context.
  • Use Case: After a CI/CD pipeline completes, you need to quickly grab the ios-e2e-test-results artifact to debug a mobile test failure. Use this Skill to get the exact command to download it to a temporary directory without you having to browse GitHub Actions logs.

Quick Start

Use the getting-pr-artifacts skill for PR number 123 to list all available workflow artifacts and their download commands.

Frequently Asked Questions about getting-pr-artifacts

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I download artifacts from a GitHub PR workflow?

Download PR workflow artifacts using `gh run download` commands. This Skill identifies all available artifacts from a PR's completed workflows, lists their names and sizes, then generates the exact `gh` CLI commands you need to download specific artifacts to your local directory without manual GitHub Actions navigation.

Can I see what's inside PR artifacts before downloading them?

Yes. This Skill enumerates artifact contents and types—such as iOS xcresult files, coverage reports, logs, and build outputs—so you know what each artifact contains before running the download command, preventing unnecessary large file transfers into your context.

What artifacts does this work with in CI/CD pipelines?

This Skill retrieves artifacts from GitHub Actions workflows, including iOS xcresult bundles, test coverage reports, build logs, and build artifacts. It queries completed workflow runs on a PR and provides download commands via the `gh` CLI for each available artifact type.

Do I need to manually browse GitHub Actions to find PR artifacts?

No. This Skill automates artifact discovery by querying PR workflow runs with the `gh` CLI, eliminating manual GitHub Actions log browsing. It surfaces all artifacts with their names, sizes, and download commands in one operation.

What's the fastest way to grab a specific test artifact after a CI run completes?

Use this Skill with your PR number to instantly list all workflow artifacts and their `gh run download` commands. Find the artifact you need by name and size, then copy the command to download it directly without navigating GitHub's UI.