create-pr SKILL.md skillA
create-pr from sd0xdev/sd0x-harness is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add sd0xdev/sd0x-harness/create-pr@git:20260923.6189f54Pins git:20260923.6189f54 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- sd0xdev/sd0x-harness
- Path
skills/create-pr/SKILL.md- Versions recorded
- 6
- Latest version
- git:20260923.6189f54, committed Sep 23, 2026
- First version recorded
- Mar 5, 2026
- Size
- 46,421 bytes
- Repository stars
- 194
- License
- MIT
Create or update GitHub PR with gh CLI. Auto-extracts ticket ID from branch name, generates title/summary from commits. Auto-detects existing PR and switches to update mode. Supports --stack for stacked PR chains (per-layer PRs with chained bases; never executes push/rebase). Default: --dry-run (show command, don't execute). Use when: user asks to open/create/update a PR, says /create-pr, wants a stacked PR chain, wants to refresh PR description after new commits, or says 'update pr', 'update…
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
# Create PR
## Input
`/create-pr [--head <branch>] [--base <branch>] [--title <title>] [--stack <branch...>] [--update] [--execute] [--dry-run]`
- `--head`: Source branch (default: current branch)
- `--base`: Target branch (default: `{TARGET_BRANCH}` or `main`)
- `--title`: Override auto-generated title (**rejected** with `--stack`)
- `--stack`: Stacked PR chain mode, bottom layer first (mutually exclusive with `--head`; the bottom layer's base follows the same `--base` / `{TARGET_BRANCH}` / `main` resolution as normal mode) — see [Stacked PR Mode](#stacked-pr-mode)
- `--update`: Force update mode (re-generate title/body for existing PR)
- `--dry-run`: Show command without executing (default). Scopes to mutating `gh` calls — the Step 1 `git fetch --prune origin` still runs, so the preview reflects the server's real refs
- `--execute`: Actually create/update the PR (requires user confirmation)
- No args: use current branch → default target, dry-run mode. Auto-detects existing PR → update mode
## Workflow
### 0. Mode Dispatch (first, before anything else)
…Read the whole file at its exact version.
How to install
mdr add sd0xdev/sd0x-harness/create-pr@sha256:2d16b19cdc98999aThe line at the top of this page pins the label git:20260923.6189f54, 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.
[](https://markdownregistry.com/a/art_a4oyotajnnaboxis)
5 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 6 versions of this file, between Mar 5, 2026 and Sep 23, 2026, about one every 40 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260923.6189f54 latest | 2026-09-23 | 6189f54 | 46,421 B | A | view · diff |
| git:20260807.187b0aa | 2026-08-07 | 187b0aa | 43,635 B | A | view · diff |
| git:20260726.96786d1 | 2026-07-26 | 96786d1 | 10,934 B | A | view · diff |
| git:20260327.786874a | 2026-03-27 | 786874a | 10,648 B | A | view · diff |
| git:20260317.8c36a9c | 2026-03-17 | 8c36a9c | 7,616 B | A | view · diff |
| git:20260305.25a32f6 | 2026-03-05 | 25a32f6 | 3,996 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (46421 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
sd0xdev/sd0x-harness · 194 stars · license MIT · pushed 2026-10-08 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_a4oyotajnnaboxis GET https://markdownregistry.com/api/v1/resolve?ref=sd0xdev/sd0x-harness/create-pr GET https://markdownregistry.com/api/v1/blob/2d16b19cdc98999a8e9411cfb8f03f33e084cd4e1e5490f8f6cec314f7320d9b
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 sd0xdev/sd0x-harness
Every file in sd0xdev/sd0x-harness