pr-to-green SKILL.md skillA

pr-to-green from oleg-koval/agent-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add oleg-koval/agent-skills/pr-to-green@git:20260828.aaaffd4

Pins git:20260828.aaaffd4 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
oleg-koval/agent-skills
Path
adapters/claude/olko-github-pr/skills/pr-to-green/SKILL.md
Versions recorded
2
Latest version
git:20260828.aaaffd4, committed Aug 28, 2026
First version recorded
Aug 24, 2026
Size
5,726 bytes
Repository stars
3
License
MIT

Orchestrate a GitHub PR from first push to merge-ready in a single pass: run ci-fix-loop until all checks are green, detect active AI review bots (Qodo, CodeRabbit), run their fix loops in sequence until zero unresolved threads remain, then confirm the PR is merge-ready. Use when the user says "drive this PR to green", "make this merge-ready", "ship this branch", or wants CI and review comments handled end to end without babysitting each loop separately.

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

<!-- Generated by scripts/build-adapters.sh. Do not edit directly. -->

> 🤖 *Auto-generated by **weekly-pattern-learner** · ci-fix-loop, coderabbitloop, and qodoloop all exist independently: no skill orchestrates them into a single end-to-end 'drive PR to green' pass*

# PR to Green

Drive a GitHub PR from first push to fully merge-ready: CI checks green, every active AI
review bot addressed, zero unresolved threads.

## Inputs

- **PR number** (optional): detect from current branch if not given.
- **Max total iterations** (optional, default: 10): across all loops combined.
- **Skip bots** (optional): `--skip-qodo`, `--skip-coderabbit` to limit which review loops run.

## Phase 1: Ensure the PR exists

```bash
gh pr view --json number,headRefName,state 2>/dev/null
```

If no open PR exists, run `olko:pr-description-writer` first to create one, then continue.

## Phase 2: CI fix loop

Run `olko:ci-fix-loop` until all required checks pass, or a blocker needs a human.

Check current state first:

```bash
gh pr checks --json name,state,conclusion \
  --jq '.[] | select(.conclusion != "success" and .conclusion != "skipped")'
```
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add oleg-koval/agent-skills/pr-to-green@sha256:5f8904623df8b725

The line at the top of this page pins the label git:20260828.aaaffd4, 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_fu5tknsh2g53gkrz.svg)](https://markdownregistry.com/a/art_fu5tknsh2g53gkrz)

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

Versions

The registry has recorded 2 versions of this file, between Aug 24, 2026 and Aug 28, 2026, about one every 3 days.

versioncommittedcommitsizeaudit
git:20260828.aaaffd4 latest2026-08-28 aaaffd4 5,726 BA view · diff
git:20260824.c71bceb2026-08-24 c71bceb 5,759 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 (5726 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

oleg-koval/agent-skills · 3 stars · license MIT · pushed 2026-10-21 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_fu5tknsh2g53gkrz
GET https://markdownregistry.com/api/v1/resolve?ref=oleg-koval/agent-skills/pr-to-green
GET https://markdownregistry.com/api/v1/blob/5f8904623df8b725ea79352508b1002808c4a69b238d20e63b691dcfa9184157

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 oleg-koval/agent-skills

AGENTS.md AGENTS.md file
oleg-koval/agent-skills · AGENTS.md
git:20260905.4660605 · audit A · 3 stars
CLAUDE.md CLAUDE.md file
oleg-koval/agent-skills · CLAUDE.md
git:20261018.733d844 · audit A · 3 stars
apple-store-submit SKILL.md skill
oleg-koval/agent-skills · adapters/claude/olko-apple-kit/skills/apple-store-submit/SKILL.md · Handle Apple App Store rejection emails end-to-end: parse rejection reasons, create a fix plan, implement code changes…
git:20260828.aaaffd4 · audit A · 3 stars
macos-menubar-app SKILL.md skill
oleg-koval/agent-skills · adapters/claude/olko-apple-kit/skills/macos-menubar-app/SKILL.md · Build a production-quality macOS menubar or notch app in SwiftUI, covering MenuBarExtra setup, sandbox entitlements…
git:20260828.aaaffd4 · audit A · 3 stars
fill-music-player SKILL.md skill
oleg-koval/agent-skills · adapters/claude/olko-creative/skills/fill-music-player/SKILL.md · Use when a user wants to fill a portable music player (Walkman, iPod, USB drive) with a curated random selection from a…
git:20260828.aaaffd4 · audit A · 3 stars
gallery SKILL.md skill
oleg-koval/agent-skills · adapters/claude/olko-creative/skills/gallery/SKILL.md · Create photo galleries with AI-assisted layout curation. Orchestrates atomic scripts and sub-agents. Use when user…
git:20260828.aaaffd4 · audit A · 3 stars
music-to-plex SKILL.md skill
oleg-koval/agent-skills · adapters/claude/olko-creative/skills/music-to-plex/SKILL.md · Acquire music and make it playable in Plex/Plexamp: single albums (via mtp-bot), DJ tracklists/crates, and YouTube…
v3.0.0 · audit A · 3 stars
vinted-listing SKILL.md skill
oleg-koval/agent-skills · adapters/claude/olko-creative/skills/vinted-listing/SKILL.md · Create, edit, and safely publish a Vinted listing through the signed-in browser, using verified item details and the…
git:20260903.188b1ce · audit A · 3 stars
wikipedia-uk-editor SKILL.md skill
oleg-koval/agent-skills · adapters/claude/olko-creative/skills/wikipedia-uk-editor/SKILL.md · Draft policy-compliant Ukrainian Wikipedia edits: translate an English article into uk, expand or source an existing uk…
git:20260828.aaaffd4 · audit A · 3 stars
garmin-watchface SKILL.md skill
oleg-koval/agent-skills · adapters/claude/olko-garmin-kit/skills/garmin-watchface/SKILL.md · Build, test, screenshot and publish Garmin Connect IQ watch faces in Monkey C. Use when working on a Connect IQ watch…
git:20260828.aaaffd4 · audit A · 3 stars
branch-cleanup SKILL.md skill
oleg-koval/agent-skills · adapters/claude/olko-git-tools/skills/branch-cleanup/SKILL.md · Prune stale git branches after a merge wave: delete closed/merged remote branches, remove local tracking branches that…
git:20260828.aaaffd4 · audit A · 3 stars
gh-cli SKILL.md skill
oleg-koval/agent-skills · adapters/claude/olko-git-tools/skills/gh-cli/SKILL.md · Reach for the GitHub CLI (gh) to do something on GitHub from the command line: repositories, issues, pull requests…
git:20260903.188b1ce · audit A · 3 stars

Every file in oleg-koval/agent-skills

Other files named pr-to-green

pr-to-green SKILL.md skill
oleg-koval/agent-skills · plugins/olko-github-pr/skills/pr-to-green/SKILL.md · Orchestrate a GitHub PR from first push to merge-ready in a single pass: run ci-fix-loop until all checks are green…
git:20260828.aaaffd4 · audit A · 3 stars
pr-to-green SKILL.md skill
oleg-koval/agent-skills · adapters/grok/olko-github-pr/skills/pr-to-green/SKILL.md · Orchestrate a GitHub PR from first push to merge-ready in a single pass: run ci-fix-loop until all checks are green…
git:20260828.aaaffd4 · audit A · 3 stars
pr-to-green SKILL.md skill
oleg-koval/agent-skills · adapters/cursor/olko-github-pr/skills/pr-to-green/SKILL.md · Orchestrate a GitHub PR from first push to merge-ready in a single pass: run ci-fix-loop until all checks are green…
git:20260828.aaaffd4 · audit A · 3 stars

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