Home / restarter / lets-workflow · .claude/skills/loop-gh-pr/SKILL.md · GitHub

loop-gh-pr skillA

loop-gh-pr is agent-read markdown (skill) from restarter/lets-workflow: Compose a /loop that watches all open GitHub PRs for activity (new PRs, new commits, new comments) and auto-prepares a READ-ONLY /lets:review draft for each code change - never posting. Use when the user says "watch PRs", "monitor github PRs", "loop-gh-pr", "стеж за PR", "поллі гітхаб PR", or wants a hands-near PR-review watcher. Composes a paste-ready /loop block - does NOT invoke /loop (UI command). Local test skill..

Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.

What the file says

# loop-gh-pr

Compose a `/loop` that periodically lists open GitHub PRs via `gh`, detects what is new since the last tick (new PR / new commits / new comments), auto-runs a READ-ONLY `/lets:review <N> --json` draft for each code change, fires a `lets cmux notify`, and reschedules - WITHOUT ever posting to a PR.

The skill **never invokes `/loop` itself** - Claude Code's `/loop` is a UI command. It composes the prompt and presents it for paste; once active, the autonomous run uses `ScheduleWakeup` per tick.

**Autonomy boundary (the whole point):** `/lets:review --json` is read-only - it computes findings and posts NOTHING. So the loop safely auto-runs review. Posting (inline / general / approve / merge) is ALWAYS the human's call, out-of-band. The loop stops at a ready draft in `.lets/reviews/` + a notification and keeps watching. Never saw -> reviewed -> posted.

> **IMPORTANT:** If the spec below invokes any deferred tool (e.g. `AskUserQuestion`), you MUST load and call it as specified.

## Step 1: Pre-flight (always run)

Confirm github flow + `gh` auth + that listing PRs works, before composing a long-lived loop.

```bash
LETS_PROJECT_ROOT=$(git rev-parse --show-toplevel)
…

Read the whole file at its exact version.

How to install

Latest version
mdr add restarter/lets-workflow/loop-gh-pr@git:20260923.58e2441
Exact content
mdr add restarter/lets-workflow/loop-gh-pr@sha256:9a408058af1a9073

Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.

Badge

mdr badge

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

0 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
git:20260923.58e2441 latest2026-09-23 58e2441 10,594 BA view

Audit of the latest version

A  17 of 17 checks passed. Deterministic, no model, 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 (10594 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

restarter/lets-workflow · 17 stars · license MIT · pushed 2026-09-24 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_wz5w5eyunkgvp7vn
GET https://markdownregistry.com/api/v1/resolve?ref=restarter/lets-workflow/loop-gh-pr
GET https://markdownregistry.com/api/v1/blob/9a408058af1a9073a2f9dd58a56f17d37409b1cc9f5b0bed3d6756e8f630e9d0

Your agent 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.

More from restarter/lets-workflow

goal-plan-clean skill
restarter/lets-workflow · .claude/skills/goal-plan-clean/SKILL.md · Compose a /goal that drives a plan-review-fix loop autonomously. Use when the user says "clean my plan"…
git:20260526.73d26de · audit A · 17 stars
goal-test skill
restarter/lets-workflow · .claude/skills/goal-test/SKILL.md · Local sandbox for experimenting with Claude Code's /goal command (stop-hook condition + LLM-evaluator driving…
git:20260525.c780b5a · audit A · 17 stars
loop-bb-pr skill
restarter/lets-workflow · .claude/skills/loop-bb-pr/SKILL.md · Compose a /loop that monitors a Bitbucket PR for activity (new comments, review state changes, merge, decline) via the…
git:20260526.73d26de · audit A · 17 stars
loop-test skill
restarter/lets-workflow · .claude/skills/loop-test/SKILL.md · Local sandbox for experimenting with Claude Code's /loop command (interval + dynamic/self-paced scheduling) applied to…
git:20260525.fd0bda8 · audit A · 17 stars
CLAUDE.md claude
restarter/lets-workflow · CLAUDE.md
git:20260924.0736da9 · audit A · 17 stars
actor-fetch-personality skill
restarter/lets-workflow · plugins/lets/skills/actor-fetch-personality/SKILL.md · Internal skill for commands. Fetch and validate personality from URL or file path for Actor agent. Do not trigger on…
git:20260517.62e185f · audit A · 17 stars
apply-fixes skill
restarter/lets-workflow · plugins/lets/skills/apply-fixes/SKILL.md · Internal skill for commands. Apply a review's verified fixes to the working tree when nothing needs deciding - the…
git:20260923.7f493ed · audit A · 17 stars
artifact-path skill
restarter/lets-workflow · plugins/lets/skills/artifact-path/SKILL.md · Internal skill for commands. Resolve a unique, task-scoped, collision-safe path for an artifact written under .lets/…
git:20260918.15b2b29 · audit A · 17 stars
backlog-workflow skill
restarter/lets-workflow · plugins/lets/skills/backlog-workflow/SKILL.md · Dynamic Workflow asset for /lets:backlog review --workflow. Not auto-triggered - a workflow script invoked via…
git:20260802.f9b266b · audit A · 17 stars
commit skill
restarter/lets-workflow · plugins/lets/skills/commit/SKILL.md · This skill should be used when committing code changes - "commit", "git commit", "закоміть", "зроби коміт"…
git:20260923.b847d8f · audit A · 17 stars
create-task skill
restarter/lets-workflow · plugins/lets/skills/create-task/SKILL.md · This skill should be used when creating a task in the active tracker - "create task", "create issue", "bd create", "new…
git:20260804.9a183af · audit A · 17 stars
detect-task skill
restarter/lets-workflow · plugins/lets/skills/detect-task/SKILL.md · Internal skill for commands. Detect the active task (any tracker adapter) from the task-state file / git branch name…
git:20260915.571258c · audit A · 17 stars

Every file in restarter/lets-workflow

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