[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6MP35W5J4B3NDJ1ZAQCWQ8W":3,"skill-same:01M6MP35W5J4B3NDJ1ZAQCWQ8W":74},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":37,"linkOnly":38,"markdownContent":39,"markdownBody":40,"frontMatter":41,"refName":44,"commitSha":45,"skillDirectory":46,"forksCount":47,"repositoryHtmlUrl":48,"repositoryHomepageUrl":49,"ownerHtmlUrl":50,"ownerBlogUrl":51,"ownerDescription":52,"updatedAt":53,"install":54,"resources":67},"01M6MP35W5J4B3NDJ1ZAQCWQ8W","create-pr",null,"Create a GitHub pull request from the current branch. Use when the user says 'create a pr', 'open pr', 'push and open a pr', 'create pull request', or wants to open a PR from their branch.","hashgraph-online\u002Fawesome-codex-plugins","hashgraph-online","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F160371962?v=4","01M6CNB6NRJVNNGN14TR01Q6D3","HOL (Hashgraph Online)","01M6JT1HSKKG9V68KQAQGBA7XP",1575,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fyagizdo\u002Fquiver\u002Fskills\u002Fcreate-pr\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36],"create pr","pr","create","open","when","request","make","draft","base","use","user","branch","github","open pr","push","pull","pull request","create pull request","2026-11-10 10:12:30",false,"---\nname: create-pr\ndescription: \"Create a GitHub pull request from the current branch. Use when the user says 'create a pr', 'open pr', 'push and open a pr', 'create pull request', or wants to open a PR from their branch.\"\nargument-hint: \"[--draft] [--base \u003Cbranch>]\"\nwhen-to-use: \"user wants to open a pull request from the current branch -- '\u002Fcreate-pr', 'create a PR', 'open a pull request', 'push and make a PR'\"\n---\n\n# Gather Context\n\n```\n!`git rev-parse --is-inside-work-tree 2>\u002Fdev\u002Fnull || echo \"NO_GIT\"`\n```\n\n```\n!`git status --short 2>\u002Fdev\u002Fnull || echo \"NO_GIT\"`\n```\n\n```\n!`git branch --show-current 2>\u002Fdev\u002Fnull || echo \"NO_GIT\"`\n```\n\n```\n!`git rev-parse --abbrev-ref origin\u002FHEAD 2>\u002Fdev\u002Fnull || echo \"NO_DEFAULT_BRANCH\"`\n```\n\n```\n!`git log --oneline -10 2>\u002Fdev\u002Fnull || echo \"NO_COMMITS\"`\n```\n\n```\n!`git remote -v 2>\u002Fdev\u002Fnull || echo \"NO_REMOTE\"`\n```\n\n---\n\n# Instructions\n\n## Step 0 -- Validate Environment\n\nSilently evaluate the gather-context output. Stop with a clear message on the first failure:\n\n1. If any git block returned `NO_GIT` -> print: `> No git repository detected. \u002Fcreate-pr requires a git repo.` **Stop here.**\n2. If `git remote -v` returned `NO_REMOTE` or is empty -> print: `> No remote configured. Add one with \\`git remote add origin \u003Curl>\\`.` **Stop here.**\n3. If `git status --short` is not empty -> print: `> You have uncommitted changes. Commit them first -- you can use \\`\u002Fquiver:commit\\`.` **Stop here.**\n\n---\n\n## Step 1 -- Detect Base Branch\n\nDetermine the base branch using this priority order. Use the first that resolves:\n\n1. If `$ARGUMENTS` contains `--base \u003Cvalue>`, use that value as the base branch.\n2. If `git rev-parse --abbrev-ref origin\u002FHEAD` did not return `NO_DEFAULT_BRANCH`, strip the `origin\u002F` prefix and use the result.\n3. Try `main` -- run `git rev-parse --verify origin\u002Fmain 2>\u002Fdev\u002Fnull`. If it succeeds, use `main`.\n4. Try `master` -- run `git rev-parse --verify origin\u002Fmaster 2>\u002Fdev\u002Fnull`. If it succeeds, use `master`.\n5. Try `develop` -- run `git rev-parse --verify origin\u002Fdevelop 2>\u002Fdev\u002Fnull`. If it succeeds, use `develop`.\n6. If none resolved, ask the user: \"Could not detect the base branch. What branch should this PR target?\" via `AskUserQuestion`.\n\n**After resolving the base branch:**\n\nCheck if the current branch (from `git branch --show-current`) equals the base branch. If so -> print: `> You are on the base branch (\\`{base}\\`). Create a feature branch first.` **Stop here.**\n\nCheck commits ahead: run `git log --oneline {base}..HEAD`. If output is empty -> print: `> No commits ahead of \\`{base}\\`. Nothing to create a PR for.` **Stop here.**\n\n---\n\n## Step 2 -- Push If Needed\n\nBefore creating the PR, ensure the branch is pushed to the remote:\n\n1. Check upstream: `git rev-parse --abbrev-ref @{upstream} 2>\u002Fdev\u002Fnull`\n2. If upstream exists -> `git push`\n3. If no upstream -> `git push -u origin {branch}`\n\nIf push fails, show the error verbatim and **stop here.**\n\n---\n\n## Step 3 -- Generate PR Title & Body\n\nGather the change:\n- `git log --oneline {base}..HEAD` -- all commits on this branch\n- `git diff --stat {base}..HEAD` -- files changed summary\n- `git diff {base}..HEAD` -- **full diff**\n\nThen look for a repository PR template with the Read tool (`.github\u002FPULL_REQUEST_TEMPLATE.md`, `.github\u002Fpull_request_template.md`, `docs\u002FPULL_REQUEST_TEMPLATE.md`, or `PULL_REQUEST_TEMPLATE.md` at the root). Do this here with the Read tool, not in a `!` block -- the lookup is conditional and those blocks run before any step logic. If a template exists, its sections are the body's structure and the rules below only decide how much goes in each. A section the template asks for and the change has nothing to say about gets one line saying so, not padding. If none exists, build the body from the rules below.\n\n**Title rules:**\n- Concise, imperative mood, no period\n- \u003C= 72 characters\n- Single commit: use its subject line. Multiple commits: summarize the overall theme.\n\n**Body rules:**\n\nThe body has one reader: someone who has to approve this diff and was not in this conversation. Anything that does not help that person decide is padding, and padding on a small PR is worse than no description -- it buries the one thing that mattered.\n\n**1. Work out what this reviewer needs, then write only that.** Before drafting, answer three questions against the change in front of you. Each answer that exists becomes body text. An answer that does not exist contributes nothing, and no heading stands in for it.\n\n1. **Why** -- what the change is for, which the diff cannot show. Almost always answerable.\n2. **The trap** -- what the reviewer would get wrong, miss, or argue with if nobody told them: an ordering that matters, an alternative already tried and rejected, a breaking edge, a file that looks unrelated and is not.\n3. **The ask** -- what the reviewer has to do that CI will not do for them.\n\nLength is the length of those answers. There is no quota and no target. A rename answers the first question in a sentence and has nothing for the other two, so its body is a sentence. A change that rewires authentication answers all three and earns every word it takes. Judge by what the reviewer has to hold in their head, not by how many lines changed: 400 lines of a regenerated lockfile is the sentence, 20 lines moving a permission check is not.\n\nNever ship a body that is a single sentence with no motivation, and never ship one that narrates the diff the reviewer already has. A body that keeps going after the three answers are given is not thorough -- it is unread. The reviewer skims, the detail that mattered is buried in what surrounds it, and a wall of generated prose is the thing people point at when they say a PR was written by a machine.\n\n**2. Sections carry the answers; they are not slots to fill.** Include a section when it carries an answer you actually have, and drop the heading entirely otherwise -- a thin paragraph under an unearned heading is the padding this rule exists to prevent.\n\n| Section | Carries | Include when |\n|---------|---------|--------------|\n| `## Summary` | Why | The body has headings at all. It comes first. |\n| `## Changes` | Why, per area | The diff touches several areas and the file list does not tell a reviewer what each one does. One line per area, never per hunk. |\n| `## How it works` | The trap | There is control flow, ordering, or an algorithm a reviewer cannot follow from the diff. |\n| `## Design decisions` | The trap | A real alternative was rejected and a reviewer would otherwise propose it. Only the ones they would argue with -- never a log of every choice made while building, and never invented to fill the section. |\n| `## Risks` | The trap | Breaking change, migration, data change, feature flag, or a rollback that is not trivial. |\n| `## Test plan` | The ask | The reviewer has to do something themselves: manual steps, a runtime check, a device or environment CI does not cover. When the diff adds tests and CI runs them, one sentence naming the command replaces the checklist. Never a checkbox for \"code compiles\", \"tests pass\", or \"reviewed the diff\". |\n\n**3. Calibrate against these.** The three sizes are not tiers to assign a change to -- they are what the three questions produce when a change has one answer, one answer plus a detail, or all three.\n\nA dependency bump, one answer:\n\n```\nBumps `requests` to 2.32.4 for CVE-2024-35195. The three call sites in `client.py` use the same API and are unchanged.\n```\n\nOne behavior change across a few files:\n\n```\n## Summary\nUpload retries fired on 4xx as well as 5xx, so a file the server rejected was re-sent three times before the error surfaced. The predicate now checks the status class; backoff is unchanged.\n```\n\nNothing here answers the trap or the ask -- no ordering to explain, no alternative a reviewer would propose, nothing to run by hand.\n\nA new subsystem plus the problems it surfaced, all three answers:\n\n```\n## Summary\nAdds a behavior eval for the review command: a fixture repo with three planted defects and three baits, a real review run against it, and a grader over the report. Four runs while building it found two real problems, both fixed here.\n\n## Changes\n- `tests\u002Feval\u002F` -- runner, fixture builder, expectations.\n- `agents\u002Freview\u002Fsecurity-audit.md` -- the severity rubric mixed a category test with a reachability test, so an unreachable sink flapped between High and Critical between runs. A reachability paragraph settled it; the two runs after it agreed.\n- Docs -- `\u002Freview` and `\u002Fdesign` resolve to bundled commands, not to this plugin, so user-facing text now names them with the plugin prefix.\n\n## Test plan\n`bash tests\u002Feval\u002Frun-review-golden.sh` -- spends real API credit, so it sits outside the glob CI discovers and is run by hand before a release.\n```\n\nEvery other choice that went into building that eval is absent on purpose.\n\n**4. Where the motivation comes from.** In order: what the user said in this conversation; the plan, spec, review report, or issue the branch was built from (`.claude\u002Fplans\u002F`, `.claude\u002Freports\u002F`, a linked issue); then the commit messages; then the diff. The diff is last because it only ever answers *what*. If none of the first three carry a motivation, state what the change does and stop -- do not manufacture a rationale.\n\n**5. The user's instructions outrank everything above.** Anything the user asked for in this invocation or earlier in the conversation -- shorter, longer, a section they want, a number they want quoted, an issue to link, a reviewer to address -- wins over every rule here.\n\n**6. Do not write:**\n- Filler openers -- \"This PR introduces\", \"This pull request aims to\", \"In this change we\".\n- A restatement of the files-changed list GitHub already renders.\n- Line-by-line narration of the diff. The diff is attached.\n- Speculative follow-ups, \"future improvements\", or what you chose not to do, unless the user asked for them.\n- Praise for the change, emoji headings, or a closing paragraph that repeats the Summary.\n- A measurement, a cost figure, or a date the reviewer does not need in order to approve the diff. It belongs in the code or in the file that records it.\n- AI attribution of any kind.\n\n**7. Read it back as the reviewer before you print it.** Go through the draft one sentence at a time and ask what the reviewer does with that sentence. A sentence they would skip comes out, and a section whose sentences all come out goes with it. Cut, do not compress: rewording the same content shorter keeps every idea and removes only the words that made them readable.\n\n**Language rule:** the title and body are always written in English, regardless of the conversation language. Only use another language if the user explicitly asks for it in this invocation. A PR is a repository artifact read by people who were not in this conversation.\n\n**Structure rule:** when the body has headings at all, the sections follow in table order. A body of one or two sentences has no headings -- do not put a `## Summary` heading above a single sentence.\n\n---\n\n## Step 4 -- Present & Execute\n\n### Flag: `--draft`\n\nIf `$ARGUMENTS` contains \"draft\", skip the `AskUserQuestion` step. Show the generated title and body, then immediately execute `gh pr create --draft --title \"{title}\" --body \"...\" --base {base}`.\n\n### Default (no flag)\n\nTwo steps, both mandatory: print the preview, then ask. Do not paste the body into the `AskUserQuestion` question field -- that field is rendered as a single truncated line by some Claude Code surfaces, so a multi-line body is cut off or dropped entirely and the user is asked to approve something they cannot read.\n\n**Step 4a -- print the preview** as normal chat output:\n\n> **PR Title:** {title}\n> **Base:** `{base_branch}` \u003C- `{current_branch}`\n\nThen the body verbatim inside a fenced ```markdown block, so the user sees exactly what `gh pr create` will receive.\n\n**Step 4b -- ask, and wait for the answer:**\n\n- **Question:** `\"Create this PR?\"` -- one short line. No newlines, no body text, no ANSI escape codes.\n- **Header:** \"Pull Request\"\n- **Options:**\n  1. **Create PR** -- \"Create pull request\"\n  2. **Create as Draft** -- \"Create as draft pull request\"\n  3. **Edit** -- \"Revise the title or description\"\n  4. **Cancel** -- \"Abort without creating PR\"\n\nPrinting the preview is not approval. It is only the readable copy of what the prompt is about, and it exists because the prompt cannot display it. Never run `gh pr create` without an answer from this `AskUserQuestion`. The user asking for a PR in their message is not the answer either -- that is what put the skill on this step. `--draft` is the only path that skips the prompt.\n\n---\n\n### Execution\n\n**On \"Create PR\":**\n\n```\ngh pr create --title \"{title}\" --body \"$(cat \u003C\u003C'EOF'\n{body}\nEOF\n)\" --base {base_branch}\n```\n\n**On \"Create as Draft\":**\n\nSame command with `--draft` appended.\n\n**On \"Edit\":** Ask what to change, revise the title or body, and re-present the `AskUserQuestion`.\n\n**On \"Cancel\":**\n\n> **PR creation cancelled.**\n\n**Stop here.**\n\n---\n\n## Step 5 -- Output\n\nAfter successful PR creation, display:\n\n> **PR Created:** {pr_url}\n> **Title:** {title}\n> **Branch:** `{current_branch}` -> `{base_branch}`\n> **Commits:** {count}\n> **Files changed:** {count}\n\nExtract the PR URL from the `gh pr create` output (it prints the URL to stdout).\n\n---\n\n# Error Handling\n\nIf `gh pr create` fails, show the error verbatim and suggest the user check:\n- GitHub CLI authentication (`gh auth login`)\n- Remote repository permissions\n- Whether a PR already exists for this branch (`gh pr list --head {branch}`)\n\nNever retry automatically.\n","# Gather Context\n\n```\n!`git rev-parse --is-inside-work-tree 2>\u002Fdev\u002Fnull || echo \"NO_GIT\"`\n```\n\n```\n!`git status --short 2>\u002Fdev\u002Fnull || echo \"NO_GIT\"`\n```\n\n```\n!`git branch --show-current 2>\u002Fdev\u002Fnull || echo \"NO_GIT\"`\n```\n\n```\n!`git rev-parse --abbrev-ref origin\u002FHEAD 2>\u002Fdev\u002Fnull || echo \"NO_DEFAULT_BRANCH\"`\n```\n\n```\n!`git log --oneline -10 2>\u002Fdev\u002Fnull || echo \"NO_COMMITS\"`\n```\n\n```\n!`git remote -v 2>\u002Fdev\u002Fnull || echo \"NO_REMOTE\"`\n```\n\n---\n\n# Instructions\n\n## Step 0 -- Validate Environment\n\nSilently evaluate the gather-context output. Stop with a clear message on the first failure:\n\n1. If any git block returned `NO_GIT` -> print: `> No git repository detected. \u002Fcreate-pr requires a git repo.` **Stop here.**\n2. If `git remote -v` returned `NO_REMOTE` or is empty -> print: `> No remote configured. Add one with \\`git remote add origin \u003Curl>\\`.` **Stop here.**\n3. If `git status --short` is not empty -> print: `> You have uncommitted changes. Commit them first -- you can use \\`\u002Fquiver:commit\\`.` **Stop here.**\n\n---\n\n## Step 1 -- Detect Base Branch\n\nDetermine the base branch using this priority order. Use the first that resolves:\n\n1. If `$ARGUMENTS` contains `--base \u003Cvalue>`, use that value as the base branch.\n2. If `git rev-parse --abbrev-ref origin\u002FHEAD` did not return `NO_DEFAULT_BRANCH`, strip the `origin\u002F` prefix and use the result.\n3. Try `main` -- run `git rev-parse --verify origin\u002Fmain 2>\u002Fdev\u002Fnull`. If it succeeds, use `main`.\n4. Try `master` -- run `git rev-parse --verify origin\u002Fmaster 2>\u002Fdev\u002Fnull`. If it succeeds, use `master`.\n5. Try `develop` -- run `git rev-parse --verify origin\u002Fdevelop 2>\u002Fdev\u002Fnull`. If it succeeds, use `develop`.\n6. If none resolved, ask the user: \"Could not detect the base branch. What branch should this PR target?\" via `AskUserQuestion`.\n\n**After resolving the base branch:**\n\nCheck if the current branch (from `git branch --show-current`) equals the base branch. If so -> print: `> You are on the base branch (\\`{base}\\`). Create a feature branch first.` **Stop here.**\n\nCheck commits ahead: run `git log --oneline {base}..HEAD`. If output is empty -> print: `> No commits ahead of \\`{base}\\`. Nothing to create a PR for.` **Stop here.**\n\n---\n\n## Step 2 -- Push If Needed\n\nBefore creating the PR, ensure the branch is pushed to the remote:\n\n1. Check upstream: `git rev-parse --abbrev-ref @{upstream} 2>\u002Fdev\u002Fnull`\n2. If upstream exists -> `git push`\n3. If no upstream -> `git push -u origin {branch}`\n\nIf push fails, show the error verbatim and **stop here.**\n\n---\n\n## Step 3 -- Generate PR Title & Body\n\nGather the change:\n- `git log --oneline {base}..HEAD` -- all commits on this branch\n- `git diff --stat {base}..HEAD` -- files changed summary\n- `git diff {base}..HEAD` -- **full diff**\n\nThen look for a repository PR template with the Read tool (`.github\u002FPULL_REQUEST_TEMPLATE.md`, `.github\u002Fpull_request_template.md`, `docs\u002FPULL_REQUEST_TEMPLATE.md`, or `PULL_REQUEST_TEMPLATE.md` at the root). Do this here with the Read tool, not in a `!` block -- the lookup is conditional and those blocks run before any step logic. If a template exists, its sections are the body's structure and the rules below only decide how much goes in each. A section the template asks for and the change has nothing to say about gets one line saying so, not padding. If none exists, build the body from the rules below.\n\n**Title rules:**\n- Concise, imperative mood, no period\n- \u003C= 72 characters\n- Single commit: use its subject line. Multiple commits: summarize the overall theme.\n\n**Body rules:**\n\nThe body has one reader: someone who has to approve this diff and was not in this conversation. Anything that does not help that person decide is padding, and padding on a small PR is worse than no description -- it buries the one thing that mattered.\n\n**1. Work out what this reviewer needs, then write only that.** Before drafting, answer three questions against the change in front of you. Each answer that exists becomes body text. An answer that does not exist contributes nothing, and no heading stands in for it.\n\n1. **Why** -- what the change is for, which the diff cannot show. Almost always answerable.\n2. **The trap** -- what the reviewer would get wrong, miss, or argue with if nobody told them: an ordering that matters, an alternative already tried and rejected, a breaking edge, a file that looks unrelated and is not.\n3. **The ask** -- what the reviewer has to do that CI will not do for them.\n\nLength is the length of those answers. There is no quota and no target. A rename answers the first question in a sentence and has nothing for the other two, so its body is a sentence. A change that rewires authentication answers all three and earns every word it takes. Judge by what the reviewer has to hold in their head, not by how many lines changed: 400 lines of a regenerated lockfile is the sentence, 20 lines moving a permission check is not.\n\nNever ship a body that is a single sentence with no motivation, and never ship one that narrates the diff the reviewer already has. A body that keeps going after the three answers are given is not thorough -- it is unread. The reviewer skims, the detail that mattered is buried in what surrounds it, and a wall of generated prose is the thing people point at when they say a PR was written by a machine.\n\n**2. Sections carry the answers; they are not slots to fill.** Include a section when it carries an answer you actually have, and drop the heading entirely otherwise -- a thin paragraph under an unearned heading is the padding this rule exists to prevent.\n\n| Section | Carries | Include when |\n|---------|---------|--------------|\n| `## Summary` | Why | The body has headings at all. It comes first. |\n| `## Changes` | Why, per area | The diff touches several areas and the file list does not tell a reviewer what each one does. One line per area, never per hunk. |\n| `## How it works` | The trap | There is control flow, ordering, or an algorithm a reviewer cannot follow from the diff. |\n| `## Design decisions` | The trap | A real alternative was rejected and a reviewer would otherwise propose it. Only the ones they would argue with -- never a log of every choice made while building, and never invented to fill the section. |\n| `## Risks` | The trap | Breaking change, migration, data change, feature flag, or a rollback that is not trivial. |\n| `## Test plan` | The ask | The reviewer has to do something themselves: manual steps, a runtime check, a device or environment CI does not cover. When the diff adds tests and CI runs them, one sentence naming the command replaces the checklist. Never a checkbox for \"code compiles\", \"tests pass\", or \"reviewed the diff\". |\n\n**3. Calibrate against these.** The three sizes are not tiers to assign a change to -- they are what the three questions produce when a change has one answer, one answer plus a detail, or all three.\n\nA dependency bump, one answer:\n\n```\nBumps `requests` to 2.32.4 for CVE-2024-35195. The three call sites in `client.py` use the same API and are unchanged.\n```\n\nOne behavior change across a few files:\n\n```\n## Summary\nUpload retries fired on 4xx as well as 5xx, so a file the server rejected was re-sent three times before the error surfaced. The predicate now checks the status class; backoff is unchanged.\n```\n\nNothing here answers the trap or the ask -- no ordering to explain, no alternative a reviewer would propose, nothing to run by hand.\n\nA new subsystem plus the problems it surfaced, all three answers:\n\n```\n## Summary\nAdds a behavior eval for the review command: a fixture repo with three planted defects and three baits, a real review run against it, and a grader over the report. Four runs while building it found two real problems, both fixed here.\n\n## Changes\n- `tests\u002Feval\u002F` -- runner, fixture builder, expectations.\n- `agents\u002Freview\u002Fsecurity-audit.md` -- the severity rubric mixed a category test with a reachability test, so an unreachable sink flapped between High and Critical between runs. A reachability paragraph settled it; the two runs after it agreed.\n- Docs -- `\u002Freview` and `\u002Fdesign` resolve to bundled commands, not to this plugin, so user-facing text now names them with the plugin prefix.\n\n## Test plan\n`bash tests\u002Feval\u002Frun-review-golden.sh` -- spends real API credit, so it sits outside the glob CI discovers and is run by hand before a release.\n```\n\nEvery other choice that went into building that eval is absent on purpose.\n\n**4. Where the motivation comes from.** In order: what the user said in this conversation; the plan, spec, review report, or issue the branch was built from (`.claude\u002Fplans\u002F`, `.claude\u002Freports\u002F`, a linked issue); then the commit messages; then the diff. The diff is last because it only ever answers *what*. If none of the first three carry a motivation, state what the change does and stop -- do not manufacture a rationale.\n\n**5. The user's instructions outrank everything above.** Anything the user asked for in this invocation or earlier in the conversation -- shorter, longer, a section they want, a number they want quoted, an issue to link, a reviewer to address -- wins over every rule here.\n\n**6. Do not write:**\n- Filler openers -- \"This PR introduces\", \"This pull request aims to\", \"In this change we\".\n- A restatement of the files-changed list GitHub already renders.\n- Line-by-line narration of the diff. The diff is attached.\n- Speculative follow-ups, \"future improvements\", or what you chose not to do, unless the user asked for them.\n- Praise for the change, emoji headings, or a closing paragraph that repeats the Summary.\n- A measurement, a cost figure, or a date the reviewer does not need in order to approve the diff. It belongs in the code or in the file that records it.\n- AI attribution of any kind.\n\n**7. Read it back as the reviewer before you print it.** Go through the draft one sentence at a time and ask what the reviewer does with that sentence. A sentence they would skip comes out, and a section whose sentences all come out goes with it. Cut, do not compress: rewording the same content shorter keeps every idea and removes only the words that made them readable.\n\n**Language rule:** the title and body are always written in English, regardless of the conversation language. Only use another language if the user explicitly asks for it in this invocation. A PR is a repository artifact read by people who were not in this conversation.\n\n**Structure rule:** when the body has headings at all, the sections follow in table order. A body of one or two sentences has no headings -- do not put a `## Summary` heading above a single sentence.\n\n---\n\n## Step 4 -- Present & Execute\n\n### Flag: `--draft`\n\nIf `$ARGUMENTS` contains \"draft\", skip the `AskUserQuestion` step. Show the generated title and body, then immediately execute `gh pr create --draft --title \"{title}\" --body \"...\" --base {base}`.\n\n### Default (no flag)\n\nTwo steps, both mandatory: print the preview, then ask. Do not paste the body into the `AskUserQuestion` question field -- that field is rendered as a single truncated line by some Claude Code surfaces, so a multi-line body is cut off or dropped entirely and the user is asked to approve something they cannot read.\n\n**Step 4a -- print the preview** as normal chat output:\n\n> **PR Title:** {title}\n> **Base:** `{base_branch}` \u003C- `{current_branch}`\n\nThen the body verbatim inside a fenced ```markdown block, so the user sees exactly what `gh pr create` will receive.\n\n**Step 4b -- ask, and wait for the answer:**\n\n- **Question:** `\"Create this PR?\"` -- one short line. No newlines, no body text, no ANSI escape codes.\n- **Header:** \"Pull Request\"\n- **Options:**\n  1. **Create PR** -- \"Create pull request\"\n  2. **Create as Draft** -- \"Create as draft pull request\"\n  3. **Edit** -- \"Revise the title or description\"\n  4. **Cancel** -- \"Abort without creating PR\"\n\nPrinting the preview is not approval. It is only the readable copy of what the prompt is about, and it exists because the prompt cannot display it. Never run `gh pr create` without an answer from this `AskUserQuestion`. The user asking for a PR in their message is not the answer either -- that is what put the skill on this step. `--draft` is the only path that skips the prompt.\n\n---\n\n### Execution\n\n**On \"Create PR\":**\n\n```\ngh pr create --title \"{title}\" --body \"$(cat \u003C\u003C'EOF'\n{body}\nEOF\n)\" --base {base_branch}\n```\n\n**On \"Create as Draft\":**\n\nSame command with `--draft` appended.\n\n**On \"Edit\":** Ask what to change, revise the title or body, and re-present the `AskUserQuestion`.\n\n**On \"Cancel\":**\n\n> **PR creation cancelled.**\n\n**Stop here.**\n\n---\n\n## Step 5 -- Output\n\nAfter successful PR creation, display:\n\n> **PR Created:** {pr_url}\n> **Title:** {title}\n> **Branch:** `{current_branch}` -> `{base_branch}`\n> **Commits:** {count}\n> **Files changed:** {count}\n\nExtract the PR URL from the `gh pr create` output (it prints the URL to stdout).\n\n---\n\n# Error Handling\n\nIf `gh pr create` fails, show the error verbatim and suggest the user check:\n- GitHub CLI authentication (`gh auth login`)\n- Remote repository permissions\n- Whether a PR already exists for this branch (`gh pr list --head {branch}`)\n\nNever retry automatically.\n",{"name":5,"description":7,"when-to-use":42,"argument-hint":43},"user wants to open a pull request from the current branch -- '\u002Fcreate-pr', 'create a PR', 'open a pull request', 'push and make a PR'","[--draft] [--base \u003Cbranch>]","main","2b63f856ce19c2a797929cacabd9e0fc936812fa","plugins\u002Fyagizdo\u002Fquiver\u002Fskills\u002Fcreate-pr",491,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins","https:\u002F\u002Fhol.org\u002Fplugins\u002Fbest-codex-plugins","https:\u002F\u002Fgithub.com\u002Fhashgraph-online","https:\u002F\u002Fhol.org","Open-source standards and developer tools for interoperable AI agents: discovery, identity, communication, payments, privacy and security.","2026-11-14 14:06:13",{"source":8,"skillName":5,"commands":55,"prompt":65,"zipAvailable":66},[56,59,62],{"tool":57,"command":58},"npx","npx skills add hashgraph-online\u002Fawesome-codex-plugins --skill create-pr",{"tool":60,"command":61},"bunx","bunx skills add hashgraph-online\u002Fawesome-codex-plugins --skill create-pr",{"tool":63,"command":64},"pnpm","pnpm dlx skills add hashgraph-online\u002Fawesome-codex-plugins --skill create-pr","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fyagizdo\u002Fquiver\u002Fskills\u002Fcreate-pr\u002FSKILL.md",true,[68],{"path":69,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":72,"sourceHtmlUrl":73},"TEST-PLAN.md","REFERENCE","参考文档",4428,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fyagizdo\u002Fquiver\u002Fskills\u002Fcreate-pr\u002FTEST-PLAN.md",[75,85,93,101,109,117],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":79,"licenseFileUrl":80,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":84},"01M7DV332YQMGD8WTRJ9DZQXTB","worktable-review-with-annotations","Create, inspect, reply to, update, or resolve situated Worktable annotations. Use when feedback belongs to a Doc section, block, text range, or HTML Doc, or when the user asks to address existing review feedback and coordinate a requested artifact edit.","MIT","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-review-with-annotations\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-review-with-annotations\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":79,"licenseFileUrl":89,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":84},"01M7DV2YGHCZVBEB1AHYB6CGHE","worktable-find-and-synthesize-context","Find, assess, and synthesize context from Worktable Docs and Records. Use when the user asks what a workspace contains, wants workspace-backed research, needs current facts reconciled across artifacts, or requests a cited synthesis without changing workspace state.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-find-and-synthesize-context\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-find-and-synthesize-context\u002FSKILL.md",[],[],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":79,"licenseFileUrl":97,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":84},"01M7DV2TQN1H11ME2SAF9MXN7V","worktable-create-or-update-docs","Create, edit, rename, or maintain narrative Worktable Docs. Use for plans, decisions, briefs, notes, research syntheses, and other durable prose when the user requests a new artifact or a safe update to an existing one.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-update-docs\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-update-docs\u002FSKILL.md",[],[],{"skillNo":102,"name":103,"nameZh":6,"description":104,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":79,"licenseFileUrl":105,"sourceHtmlUrl":106,"categories":107,"keywords":108,"publishedAt":84},"01M7DV2NE452NEA8TXATKSNAJH","worktable-create-or-manage-records","Organize repeated structured information as durable Worktable Records. Use for research datasets, inventories, directories, pipelines, trackers, and other collections whose items need identity, fields, filtering, links, validation, or individual updates.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-records\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-records\u002FSKILL.md",[],[],{"skillNo":110,"name":111,"nameZh":6,"description":112,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":79,"licenseFileUrl":113,"sourceHtmlUrl":114,"categories":115,"keywords":116,"publishedAt":84},"01M7DV2HENRBR2KSCVM064WH0Y","worktable-create-or-manage-interactive-html","Create or improve durable visual and interactive artifacts in Worktable. Use for dashboards, trackers, calculators, mini apps, slide presentations, and other requests that benefit from a polished HTML Doc.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-interactive-html\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-interactive-html\u002FSKILL.md",[],[],{"skillNo":118,"name":119,"nameZh":6,"description":120,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":79,"licenseFileUrl":121,"sourceHtmlUrl":122,"categories":123,"keywords":124,"publishedAt":84},"01M7DV2CADR5R7RQFFYPNAGR9Y","worktable-collaborate-threads","Read, answer, and hand off messages through durable Worktable threads with users or other authenticated participants. Use when the user asks to check addressed messages, reply to a participant, continue a thread, request another agent's help, wait briefly for a response, or watch for comments and messages sent to the agent.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-collaborate-threads\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-collaborate-threads\u002FSKILL.md",[],[]]