Open PR skill

Open or update a pull request on pascalorg/editor from the current branch, describing only what the branch actually did.

by pascalorg·MIT license·★ 24,602 Stars on the repo·GitHub ↗

Use now

Files of Open PR

pascalorg/main1 file shown
SKILL.md
Show the full text51 lines

Open (or refresh) a pull request against pascalorg/editor from the current branch.

1. What is actually on the branch

git branch --show-current                      # not main
git status --short                             # nothing uncommitted you weren't asked to commit
base=$(git merge-base HEAD origin/main)
git log --oneline --first-parent --no-merges "$base"..HEAD
git diff --stat "$base"..HEAD

The PR describes only these commits and this diff. Work that arrived by merging main, reverted commits, and patch-equivalent cherry-picks are not this PR's claims. If a file in the diff has no commit on the branch explaining it, stop and ask.

Run bun run check-types when the change is non-trivial; never claim a check you did not run.

2. Body = the repo template

.github/pull_request_template.md is the source of truth for headings and checklist. Fill it from §1, not from memory:

  • What does this PR do? — the result, one paragraph or a short list; Fixes #123 when applicable.
  • How to test — numbered, concrete reviewer steps with the expected outcome. Automated commands only if you ran them.
  • Screenshots / screen recording — link, Not added yet. for a visual change without media, or N/A — non-visual change.
  • Checklist — copy verbatim; tick only what was verified (bun dev only after a real local run).

Title: under ~70 characters, a concrete result (not "update"/"improve"), scope-prefixed when one package owns it (core:, viewer:, editor:, nodes:, mcp:).

3. Push and open, or update

git push -u origin HEAD
gh pr view --json number,url,body 2>/dev/null     # existing PR?
  • None → gh pr create --title … --body "$(cat <<'EOF' … EOF)".
  • Exists → gh pr edit <n> --body …: rebuild "What" and "How to test" from the current branch, keep the media section and the reviewer's checklist ticks verbatim, keep any extra sections at the end. Change the title only if the scope changed.

End the body with the attribution lines the session asks for, if any.

4. Report

PR URL, title, which checks you ran, and anything left unchecked for the reviewer.

1---
2name: open-pr
3description: Open or update a pull request on pascalorg/editor from the current branch, describing only what the branch actually did. Use when the user asks to open/create a PR, push and PR, or ship a branch in the editor repo.
4metadata:
5 internal: true
6allowed-tools: Bash(git *) Bash(gh *) Read
7---
8 
9Open (or refresh) a pull request against `pascalorg/editor` from the current branch.
10 
11## 1. What is actually on the branch
12 
13```bash
14git branch --show-current # not main
15git status --short # nothing uncommitted you weren't asked to commit
16base=$(git merge-base HEAD origin/main)
17git log --oneline --first-parent --no-merges "$base"..HEAD
18git diff --stat "$base"..HEAD
19```
20 
21The PR describes **only** these commits and this diff. Work that arrived by merging `main`, reverted commits, and patch-equivalent cherry-picks are not this PR's claims. If a file in the diff has no commit on the branch explaining it, stop and ask.
22 
23Run `bun run check-types` when the change is non-trivial; never claim a check you did not run.
24 
25## 2. Body = the repo template
26 
27`.github/pull_request_template.md` is the source of truth for headings and checklist. Fill it from §1, not from memory:
28 
29- **What does this PR do?** — the result, one paragraph or a short list; `Fixes #123` when applicable.
30- **How to test** — numbered, concrete reviewer steps with the expected outcome. Automated commands only if you ran them.
31- **Screenshots / screen recording** — link, `Not added yet.` for a visual change without media, or `N/A — non-visual change`.
32- **Checklist** — copy verbatim; tick only what was verified (`bun dev` only after a real local run).
33 
34Title: under ~70 characters, a concrete result (not "update"/"improve"), scope-prefixed when one package owns it (`core:`, `viewer:`, `editor:`, `nodes:`, `mcp:`).
35 
36## 3. Push and open, or update
37 
38```bash
39git push -u origin HEAD
40gh pr view --json number,url,body 2>/dev/null # existing PR?
41```
42 
43- None → `gh pr create --title … --body "$(cat <<'EOF' … EOF)"`.
44- Exists → `gh pr edit <n> --body …`: rebuild "What" and "How to test" from the current branch, keep the media section and the reviewer's checklist ticks verbatim, keep any extra sections at the end. Change the title only if the scope changed.
45 
46End the body with the attribution lines the session asks for, if any.
47 
48## 4. Report
49 
50PR URL, title, which checks you ran, and anything left unchecked for the reviewer.
51 

Discussion

Alternatives

CI/CD and AutomationAutomates CI/CD pipeline setup. Use when setting up or modifying build and deployment pipelines. Use when you need to automate quality gates, configure test runners in CI, or establish deployment strategies.Infrastructure & ops · MITVersion Bump & Release WorkflowAutomated semantic versioning and release workflow for Claude Code plugins. Handles version increments across package.json, marketplace.json, plugin.json manifests, build verification, git tagging, GitHub releases, and changelog generation. NPM publishing is the final human-required handoff because the maintainer raised npm security.Infrastructure & ops · Apache-2.0Orca CLIOperate Orca-managed worktrees, folder contexts, terminals, repos, automations, artifacts, skill sharing, worktree comments, and Orca's embedded browser through the `orca` CLI. Use when the user says "$orca-cli", "Orca worktree", "child worktree", "spawn codex/claude in a worktree", "read/wait/send Orca terminal", "handoff" / "handover" / "give this to another agent", "Orca browser", "orca artifacts", or "share skills". Prefer it over raw git worktree, ad hoc PTYs, or Computer Use when Orca state is involved. Use Computer Use only when a visible window needs GUI control that a CLI, filesystem, or API cannot do.Infrastructure & ops · MITOrca OrchestrationCoordinate supervised Orca workers: threaded messages, blocking ask/reply, task dispatch, worker_done/escalation waits, task DAGs, decision gates, coordinator loops, and decomposing work across agents. Use `orca-cli` for full ownership handoffs — "hand off", "handoff", "handover", "give this to another agent", "another worktree" — unless asked to supervise, monitor, or coordinate a DAG, and for terminal control, lightweight terminal prompts, shell commands, Orca worktree management, and reading or waiting on terminals.Infrastructure & ops · MIT