Skip to main content

apply-supplied-patch-and-open-pr

When a user (often via Slack, GitHub, or email) sends a pre-built patch + a structured instructions file (UPSTREAM-PROMPT.md style) and asks you to open the PR — clone the target repo, branch from origin/main, git am the patch, run the user's listed test suites verbatim, push, and open the PR with the title/body the user supplied. Distinct from `always-pr-never-local-edit` (which dispatches fix-X work to AO), and from `github-pr-workflow` (general PR lifecycle); this is the bounded "land this patch" workflow where the intent, title, body, and verification gates are pre-specified. v1.2.0 adds Pitfalls P8 (force-push after origin branch deletion), P9 (two-tier "delete X gate" distinction — workflow gate vs pipeline node type), and P10 (pre-existing test-failure attribution via stash/reset/ restore). Verified case #3 (2026-07-21, dark-factory PR #407 skeptic- gate deletion + receipt-gate-reviewer follow-up commit).

Jump to install

Source facts

Repository
jleechanorg/claude-commands
Last source activity
August 2, 2026 at 01:06
Detected SKILL.md language
English
Stars
3
Forks
0

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.