PR Pipeline

VerifiedSafe

Full pipeline from code-ready to merged: pre-push checks, self-review, PR opening, and CI/review monitoring.

Sby Skills Guide Bot
DevelopmentIntermediate
8/14/2026
Claude Code
#pull-request#code-review#ci#git-workflow#self-review

Recommended for

Automated summary

Governs the full pull request lifecycle, from pre-push verification through a three-reviewer self-review to watching CI and review threads until merge-ready.

Strengths

  • Enforces local verification (formatting, unit and integration tests) on every push, not just the first one.
  • Runs three parallel review subagents — correctness, style, and tests — against the full diff before the PR is even opened.
  • Defines a realistic sustained watch loop covering CI status, unresolved review threads, and the formal review decision at a steady cadence.
  • Sets clear guardrails: branch from freshly fetched origin/main, no force pushes, and the agent never merges.

Limitations

  • Tightly coupled to a specific stack (pixi, ctest, commit conventions) and depends on companion skills such as test, resolve-comments, and cpp-style.
  • The ~10 minute timed wake-up cadence assumes an agent that can schedule its own follow-up checks.
  • Says nothing about merging or release notes, which are deliberately left to the maintainer.
When to use it

Use it when preparing, opening, or shepherding a pull request on a Git repository, especially when several rounds of review and CI are expected.

When not to use it

Skip it for trivial changes that never become a PR, or on repositories whose test, formatting, and review tooling differs from what the skill assumes.

Security analysis

Safe
Quality score92/100

The skill provides a workflow for git/GitHub PR management using standard commands (git, gh, pixi) for legitimate purposes. It explicitly forbids force pushes, amending history, merging without maintainer approval, and destructive or exfiltrating actions. No suspicious payloads, token exfiltration, or unsafe shell patterns are present.

No concerns found

How this analysis is made

Examples

Pre-push check
I'm done with the queue-cancel fix. Run the pre-push verification and tell me if it's safe to push.
Open the PR
Work is committed on fix/queue-cancel. Do the three-way self-review against origin/main, fix what comes up, then open the PR with a conventional-commit title.
Watch an open PR
Keep watching PR #482 — check CI, unresolved review threads, and the review decision every 10 minutes until everything is handled.

name: pr description: The full pipeline from "code is ready" to "ready to merge" — pre-push verification, three-way self-review, opening the PR, watching CI and review threads. Read BEFORE committing, opening a PR, or checking on an open one.

PR Pipeline

The development flow is: branch off main → write code (discussing requirements with the maintainer) → self-review and fix → open the PR → watch CI and reviews until everything is handled → report that it is ready. The maintainer merges — never merge yourself.

Branch

  • Always branch from freshly fetched origin/main — git fetch origin && git checkout -b <type>/<short-topic> origin/main — never from the local main. <type> uses the conventional-commit types, e.g. fix/queue-cancel, refactor/codec-macros.

Pre-push verification (every push, not just the first)

Never push anything unverified — "it compiles" is not verified, and CI is not a debugger.

  1. pixi run format.
  2. Both test suites pass locally (the test skill): unit tests via pixi run test (builds the debug preset and runs ctest, which handles the snapshot dir), and pixi run integration-test. Every failure on the branch is yours to fix now — even if it looks pre-existing (main is green), and never by skipping, disabling, or weakening the test.

Self-review (before opening)

Commit all work first — the review diff only sees commits, so a dirty worktree means the reviewers inspect an incomplete patch (git status must be clean). Then launch 3 parallel subagents to review the full diff (git diff origin/main...HEAD — never against the local main, which goes stale) independently, and fix everything they report before opening:

  1. Correctness reviewer: logic errors, edge cases, undefined behavior, off-by-one mistakes — coroutine lifetime and cancellation paths deserve extra suspicion.
  2. Style reviewer: naming conventions, coding style, cpp-style skill rules.
  3. Test reviewer: new functionality has tests, edge cases are covered, no existing tests were broken or weakened.

Opening

  • Confirm with the maintainer before creating the PR.
  • Title follows the conventional commit format — it becomes the squash-merge commit on main.
  • Body: a concise summary of what changed and why. Never reference local file paths, private notes, or other material a reader without this machine cannot see.

Watching

This is a sustained loop, not a single check — reviews and CI both take time, and a PR typically needs several rounds of check-and-fix before it is truly settled. Do not stop at the first green check.

  • Cadence: one check every ~10 minutes by default, via timed wake-ups — never background shell loops. Decide the total number of rounds yourself based on elapsed time and remaining activity.
  • Every check covers all three: CI status, unresolved review threads, and the formal review decision (gh pr view --json reviewDecision). A green pipeline with open review comments is not done — review threads must be at zero before the maintainer merges.
  • Threads go through the resolve-comments skill: it pulls unresolved threads (by isResolved, never timestamps), applies root-cause fixes in the worktree, resolves the threads, and returns a compact summary — the GraphQL plumbing and comment bodies stay out of the main conversation. A fixed thread is resolved outright; a rebutted thread gets a short reply stating why, then is resolved.
  • If resolve-comments left changes in the worktree: run the pre-push verification, then push an ordinary commit — never --amend, never force push. History rewrites destroy review anchors and reviewers' incremental diffs.
  • Force push has essentially no legitimate use on a PR branch. The usual temptation — amending fixes into the previous commit to keep the branch "one tidy commit" — buys nothing: the squash merge flattens the branch anyway and only the PR title lands in main history. The single real case is rebasing onto a newer main (e.g. to resolve a conflict), and that requires asking the maintainer first.
  • CI failure: reproduce and fix locally, verify, then push. Digest CI logs via a subagent; don't pull raw logs into the main conversation.
  • Keep API calls sparse — one batch per check, sleep 1 between gh calls.

Done

  • CI fully green, zero unresolved review threads, and no blocking review decision (reviewDecision must not be CHANGES_REQUESTED — a top-level "changes requested" review blocks the merge even after every inline thread is resolved; address its feedback and request a re-review) → report to the maintainer that the PR is ready to merge: a one-paragraph summary of what review found and how it was addressed, plus every design decision taken while resolving threads (chosen vs. alternative), so the maintainer can accept or overturn them in one pass. Then stop — merging is the maintainer's call.
  • The default bar stays high: elegant code, edge cases considered. "Merge now, clean up in a dedicated refactor PR later" is a real move in this project, but that trade-off is the maintainer's call, made case by case — never the agent's default.

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/pr-pipeline-msshyv5b/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/pr-pipeline-msshyv5b' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/pr-pipeline-msshyv5b/download' --output '.skill-downloads/pr-pipeline-msshyv5b/SKILL.md.part' && mv '.skill-downloads/pr-pipeline-msshyv5b/SKILL.md.part' '.skill-downloads/pr-pipeline-msshyv5b/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.

Claude Code
test -f '.skill-downloads/pr-pipeline-msshyv5b/SKILL.md' && test -s '.skill-downloads/pr-pipeline-msshyv5b/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/pr' && cp -R '.skill-downloads/pr-pipeline-msshyv5b' '.claude/skills/pr'

OpenSkills

OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.

Official OpenSkills installation
openskills install './.skill-downloads/pr-pipeline-msshyv5b'

openskills read 'pr-pipeline-msshyv5b'

Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.

For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.

openskills sync

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/pr-pipeline-msshyv5b/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills