Skip to content
Skills Library
Programming · Tool integration

github

/github

Work with GitHub through the gh CLI — reading PR reviews and line comments, checking CI status, reading issues, and replying to review feedback. Use whenever a GitHub URL, PR number or issue is mentioned, or when asked to address review comments. Covers the reply-with-what-changed convention.

Repository
factory ↗
Licence
MIT
Last repository change
27.10.2026

Assessment and security

95/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content30 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 27.10.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Work with GitHub through the gh CLI — reading PR reviews and line comments, checking CI status, reading issues, and replying to review feedback. Use whenever a GitHub URL, PR number or issue is mentioned, or when asked to address review comments. Covers the reply-with-what-changed convention.

Original author description

Work with GitHub through the gh CLI — reading PR reviews and line comments, checking CI status, reading issues, and replying to review feedback. Use whenever a GitHub URL, PR number or issue is mentioned, or when asked to address review comments. Covers the reply-with-what-changed convention.

How it works

  1. Opening and updating pull requests
  2. Addressing review feedback
Original SKILL.md headings · 54 lines, 433 words
SKILL.md preview
---
name: github
description: Work with GitHub through the gh CLI — reading PR reviews and line comments, checking CI status, reading issues, and replying to review feedback. Use whenever a GitHub URL, PR number or issue is mentioned, or when asked to address review comments. Covers the reply-with-what-changed convention.
metadata:
  requires-tools: gh
  requires-connections: github
---

# GitHub through gh

Use `gh` for all GitHub work — issues, PRs, checks, releases. Given a GitHub URL, fetch it with
`gh` rather than guessing at the content or scraping the page.

```bash
gh pr view <N> --repo <owner/repo> --comments --json comments,reviews
gh api repos/<owner/repo>/pulls/<N>/comments   # line-level review comments
gh pr status
gh pr checks <N>
gh pr diff <N>
```

## Opening and updating pull requests

Opening and updating the pull request is yours, whenever your work is worth showing — before the
task is done too. Run the declared gates that cover your change first (see the gates skill), fix a red one
before you push, and say in the pull request which did not run (an unavailable gate is reported,
not a blocker). Commit on the task branch, push it, and open the pull request with `gh pr create`
(`gh pr edit` updates it). Never state in a title or description that a gate passed unless it did.

Or ask the driver to do the push and the pull request:

```bash
factory-control publish
```

The driver pushes the branch and opens (or reuses) the pull request — a draft when it opens one —
with a title and description summarized from the branch's commits, and answers
`{"published":true,"prUrl":"…","prNumber":N,…}`. A pull request you opened on the task branch is
the one the driver reuses: the same pull request is updated, never duplicated, and a retried or
resumed task lands on it too. `published: false` means there was nothing new to push. `403` means
this task's workflow publishes at its own step; `409` means a publish is already running, or the
repository's explicit `policy:` refused it (the body says why); `502` carries the failure's
reason. If `/run/factory-control/control.sock` does not exist this environment cannot publish for you.

A PR that already exists is yours to read — reviews, checks, diffs — and to fix on request.
Read a PR's diff with `gh pr diff`, never by checking the branch out:
`gh pr checkout` moves HEAD off the task branch and is denied for the same reason.

## Addressing review feedback

**Read the review summary on the PR itself, not only the line comments.** The substantive
objection often lives in the summary while the line comments are details.

After pushing fixes, reply to each comment you addressed. Every reply must say *what changed and
how* — "fixed in `<sha>`" alone is not enough:

```bash
gh pr comment <N> --body "Fixed in <sha> — clamped limit to MAX_LIMIT=100 in the validator before
the DB query, so an oversized page can no longer reach Postgres"
```

Versions

RepositoryScoreLicence
This page · bellows-ai/factory95MIT
rjmurillo/ai-agents100MIT
rjmurillo/ai-agents100MIT
VincenzoImp/pitcrew100MIT
AceDataCloud/Skills100Apache-2.0
the-open-agent/openagent100Apache-2.0
OpenHands/extensions100MIT
TerminalSkills/skills100Apache-2.0
atomicbot-ai/atomic-agent100MIT

Database snapshot: 13.11.2026 · package version b25f51305f4f (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 95factory-github
    Work with GitHub through the gh CLI — reading PR reviews and line comments, checking CI status, reading issues, and replying to review feedback. Use whenever a GitHub URL, PR number or issue is mentioned, or when asked to address review comments. Covers the reply-with-what-changed convention.
  • 100address-github-comments
    Use when you need to address review or issue comments on an open GitHub Pull Request using the gh CLI.
  • 100address-github-comments
    Use when you need to address review or issue comments on an open GitHub Pull Request using the gh CLI.
  • 100address-github-comments
    Use when you need to address review or issue comments on an open GitHub Pull Request using the gh CLI.
  • 100address-github-comments
    Use when you need to address review or issue comments on an open GitHub Pull Request using the gh CLI.
  • 100address-github-comments
    Use when you need to address review or issue comments on an open GitHub Pull Request using the gh CLI.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.