github-pr-operations SKILL.md skillA

github-pr-operations from haacked/dotfiles is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add haacked/dotfiles/github-pr-operations@git:20260916.4c98846

Pins git:20260916.4c98846 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
haacked/dotfiles
Path
ai/skills/github-pr-operations/SKILL.md
Versions recorded
5
Latest version
git:20260916.4c98846, committed Sep 16, 2026
First version recorded
Jul 13, 2026
Size
1,365 bytes
Repository stars
135
License
none declared

Reference for GitHub PR review endpoints and resolving review threads via gh CLI. Use when replying to a PR review comment, posting a new review comment, or resolving review threads.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# GitHub PR Operations

Endpoint reference for PR review operations. The always-on rules for when you may post, always use `gh` CLI, no volunteered AI attribution, live in `~/.dotfiles/ai/AGENTS.md` — this skill is just the mechanics. For the end-to-end review-comment workflow (deciding what's a real issue, drafting replies, when to resolve vs. leave open), use the `address-pr-reviews` skill instead — it embeds these same commands in context.

## Posting review comments

- Reply to review comment: `gh api repos/owner/repo/pulls/123/comments/456/replies --method POST`
- New review comment: `gh pr review 123 --comment --body "comment"`
- Root PR comment (rarely appropriate): `gh issue comment 123 --body "comment"`

## Resolving PR review threads

Use `~/.dotfiles/bin/gh-resolve-threads` instead of hand-rolling a GraphQL mutation. Run with `--help` for options. Common forms:

- `gh-resolve-threads <pr-url-or-number> --comment-id <id>` -- resolve the thread for a specific comment
- `gh-resolve-threads <pr> --outdated` -- resolve only outdated threads
- `gh-resolve-threads <pr> --dry-run` -- preview before resolving

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add haacked/dotfiles/github-pr-operations@sha256:8c35e33c6ce8abf8

The line at the top of this page pins the label git:20260916.4c98846, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_aszftkltuozj3ejz.svg)](https://markdownregistry.com/a/art_aszftkltuozj3ejz)

1 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 5 versions of this file, between Jul 13, 2026 and Sep 16, 2026, about one every 16 days.

versioncommittedcommitsizeaudit
git:20260916.4c98846 latest2026-09-16 4c98846 1,365 BA view · diff
git:20260821.de0b8f12026-08-21 de0b8f1 1,372 BA view · diff
git:20260805.ed4b2482026-08-05 ed4b248 1,367 BA view · diff
git:20260805.26ce2dd2026-08-05 26ce2dd 1,366 BA view · diff
git:20260713.19eb06d2026-07-13 19eb06d 1,354 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (1365 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

haacked/dotfiles · 135 stars · license none declared · pushed 2026-11-01 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_aszftkltuozj3ejz
GET https://markdownregistry.com/api/v1/resolve?ref=haacked/dotfiles/github-pr-operations
GET https://markdownregistry.com/api/v1/blob/8c35e33c6ce8abf8898e5ebc48d5c3f00bbf657f577f8d9896298105050c136d

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from haacked/dotfiles

AGENTS.md AGENTS.md file
haacked/dotfiles · AGENTS.md
git:20261028.5e8b109 · audit A · 135 stars
CLAUDE.md CLAUDE.md file
haacked/dotfiles · CLAUDE.md
git:20260821.de0b8f1 · audit B · 135 stars
AGENTS.md@ai AGENTS.md file
haacked/dotfiles · ai/AGENTS.md
git:20261024.d48eea8 · audit A · 135 stars
CLAUDE.md@ai CLAUDE.md file
haacked/dotfiles · ai/CLAUDE.md
git:20260821.de0b8f1 · audit B · 135 stars
simplify SKILL.md skill
haacked/dotfiles · ai/codex/skills/simplify/SKILL.md · Simplify recently changed code for clarity, consistency, and maintainability while preserving behavior. Use after…
git:20260827.f7bfa75 · audit A · 135 stars
address-pr-reviews SKILL.md skill
haacked/dotfiles · ai/skills/address-pr-reviews/SKILL.md · Evaluate unresolved PR review comments from any reviewer — bots and humans — fix legitimate issues, and reply to…
git:20261024.d48eea8 · audit A · 135 stars
comment-cleanup SKILL.md skill
haacked/dotfiles · ai/skills/address-pr-reviews/references/comment-cleanup/SKILL.md · Delete and tighten code comments in source files after they are written. Drops narration, restatement, and change-log…
git:20260929.362fe34 · audit A · 135 stars
plain-writing SKILL.md skill
haacked/dotfiles · ai/skills/address-pr-reviews/references/plain-writing/SKILL.md · Write, rewrite, or review prose for other people in clear, direct English. Use for PR descriptions, review comments…
git:20261027.29130d3 · audit A · 135 stars
analyze-permissions SKILL.md skill
haacked/dotfiles · ai/skills/analyze-permissions/SKILL.md · Analyze accumulated permissions and suggest smart wildcard patterns. Only invoke when the user explicitly runs…
git:20260822.9da3dc3 · audit A · 135 stars
babysit-prs SKILL.md skill
haacked/dotfiles · ai/skills/babysit-prs/SKILL.md · One sweep over all of my open PRs — check CI and merge-queue state, handle new review comments, fix and push — tracking…
git:20261009.a2b4058 · audit A · 135 stars
ci-monitor SKILL.md skill
haacked/dotfiles · ai/skills/ci-monitor/SKILL.md · Monitor CI checks after pushing, detect flaky vs legit failures, and auto-fix. Follows a PR into a Trunk merge queue…
git:20261009.a2b4058 · audit A · 135 stars
comment-cleanup SKILL.md skill
haacked/dotfiles · ai/skills/comment-cleanup/SKILL.md · Delete and tighten code comments in source files after they are written. Drops narration, restatement, and change-log…
git:20260929.362fe34 · audit A · 135 stars

Every file in haacked/dotfiles

Browse by kind, by grade A, or by owner.