Agent skill

Create GitHub PR

by openJiuwen-ai in openJiuwen-ai/sciencediscovery

Open or update a pull request on GitHub's openJiuwen-ai/sciencediscovery: run the UT/ST/E2E layers locally, push the branch to the operator's own GitHub fork, write a body that says what was…

Apache-2.0Auto-check passedDevelopment

Install Create GitHub PR

skills CLI
$ npx skills add openJiuwen-ai/sciencediscovery --skill create-github-pr -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install openJiuwen-ai/sciencediscovery create-github-pr --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/openJiuwen-ai/sciencediscovery.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/create-github-pr .claude/skills/create-github-pr && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
create-github-pr
GitHub stars
148
Token cost
~3k tokens
SKILL.md length
1,470 words
Files
1
Skills in repo
23
Repo updated
First seen
Licence
Apache-2.0

At a glance

Open or update a pull request on GitHub's openJiuwen-ai/sciencediscovery: run the UT/ST/E2E layers locally, push the branch to the operator's own GitHub fork, write a body that says what was…

  • Works in 7 steps: The layers are a gate, not a suggestion.… → Push the branch to the operator's own… → Exactly one release:* label, from the… → …
  • Asked to create a PR
  • SKILL.md covers Rules, Run the layers first, The two hosts are different… and Choose exactly one release…, plus 4 more sections
  • Calls gh, git and pnpm

What it does

Create GitHub PR is an agent skill from openJiuwen-ai/sciencediscovery. Open or update a pull request on GitHub's openJiuwen-ai/sciencediscovery: run the UT/ST/E2E layers locally, push the branch to the operator's own GitHub fork, write a body that says what was verified with numbers, apply exactly one release: label so the release note can classify it, then read the pull request and its Actions run back. Use when asked to create a PR, submit a change for review, when a branch is ready to propose, when labelling a pull request for the release note, or when reading a GitHub Actions…

Its SKILL.md is about 3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Pull requests, Changelog and release notes and End-to-end testing. It works with GitHub and GitHub Actions. The repository describes itself as: ScienceDiscovery is an all‑in‑one agentic workbench built specifically for scientific research. The licence is Apache-2.0.

When your agent uses it

  • Asked to create a PR
  • Submit a change for review
  • A branch is ready to propose
  • Labelling a pull request for the release note

Example prompts

  • “/create-github-pr”

Requirements

  • Docker

Workflow steps

7 steps, taken from the first numbered list in SKILL.md.

  1. The layers are a gate, not a suggestion. CONTRIBUTING says run all
  2. Push the branch to the operator's own fork, never to the upstream.
  3. Exactly one release:* label, from the whitelist below. The release
  4. Read the pull request back after creating it, and read its Actions run
  5. Say what was verified, with the actual numbers. "Tests pass" is not
  6. This skill stops at the pull request. It does not merge, tag, or
  7. The title and the body are English. See github.

What it can do on your machine

Read from SKILL.md and the folder at commit 7a03242. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • gh
    • git
    • pnpm

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use gh, git and pnpm, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Create GitHub PR loads about 3k tokens when it runs. Until then it costs about 199 tokens; SKILL.md has 1,470 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~199
When it runs · the whole SKILL.md, loaded when a task matches
~3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from openJiuwen-ai/sciencediscovery at commit 7a03242, republished under its Apache-2.0 licence (© openJiuwen-ai). 1,470 words, ~3,029 tokens.

Download SKILL.mdSave it as .claude/skills/create-github-pr/SKILL.md (or your agent's skills folder).
name
create-github-pr
description
Open or update a pull request on GitHub's openJiuwen-ai/sciencediscovery: run the UT/ST/E2E layers locally, push the branch to the operator's own GitHub fork, write a body that says what was verified with numbers, apply exactly one release:* label so the release note can classify it, then read the pull request and its Actions run back. Use when asked to create a PR, submit a change for review, when a branch is ready to propose, when labelling a pull request for the release note, or when reading a GitHub Actions result on a pull request. This is the only path for proposing a change: gitcode.com is a read-only mirror with no pipeline of its own. Titles and bodies are English. For filing an issue, or for the gh commands this procedure assumes, read the github skill first.

Open a pull request (GitHub)

Project-local skill for ScienceDiscovery.

This is the only path. Changes are proposed here and GitHub syncs to GitCode; CONTRIBUTING.md's Repositories table is the authority. That direction is the reverse of what it once was, and the GitCode side no longer has a pipeline at all, so older merge requests and any documentation describing GitCode as the place to propose are out of date.

How to call gh, and the rule that issue and pull request text is English: github. Pipeline internals — which platform runs which layer, the workflow files, run logs, failure attribution: ci. Journey design and reporting: e2e-testing.

Rules

  1. The layers are a gate, not a suggestion. CONTRIBUTING says run all three locally. GitHub Actions runs them too, but on a pull request that is feedback arriving twenty minutes later, not permission to skip them.
  2. Push the branch to the operator's own fork, never to the upstream. Resolve the login from gh api user --jq .login; do not hard-code a person. origin is openJiuwen-ai/sciencediscovery. Do not git push origin a task branch, and do not assume origin is a personal fork. Open the pull request with --repo openJiuwen-ai/sciencediscovery --head <login>:<branch> --base main.
  3. Exactly one release:* label, from the whitelist below. The release note is grouped by it.
  4. Read the pull request back after creating it, and read its Actions run before saying anything about CI.
  5. Say what was verified, with the actual numbers. "Tests pass" is not reviewable; "UT 382 API + 100 runner, ST smoke ok, mocked E2E 42 passed / 2 skipped / 0 failed" is.
  6. This skill stops at the pull request. It does not merge, tag, or publish a release.
  7. The title and the body are English. See github. Write Chinese only when the person who asked explicitly wants Chinese.

Run the layers first

bash
bwrap --ro-bind / / --dev /dev true && echo sandbox ok      # ci:ut and ci:e2e need it
CI_RESULTS_DIR=.tmp/ci-results CI_RUNTIME_DIR=.tmp/ci-runtime pnpm ci:ut
CI_RESULTS_DIR=.tmp/ci-results CI_RUNTIME_DIR=.tmp/ci-runtime pnpm ci:st
CI_RESULTS_DIR=.tmp/ci-results CI_RUNTIME_DIR=.tmp/ci-runtime pnpm ci:e2e

Run them on the commit you will push and collect the per-layer numbers for the body: the per-package # pass / # skipped lines in the UT run.log, the ST smoke line, and the E2E discovered / passed / failed / skipped split. Each layer leaves run.log and a summary under CI_RESULTS_DIR/<layer>/; with a relative CI_RESULTS_DIR, ci:e2e writes its journey reports under .e2e/.tmp/… instead, because Playwright runs from .e2e/.

When a layer fails, attribute it before touching anything: run the same layer on unmodified main in a separate detached worktree (git worktree add --detach .worktrees/<name> <sha>). An identical failure is pre-existing — say so in the body with the step, the error and the baseline run, and leave the fix to its own pull request. A failure only on your commit is yours. Never weaken an assertion or skip a layer to get green; if a layer cannot run on this host, say which and why. Report the numbers each layer's summary.json gives — planned, executed, passed — not "tests pass".

pnpm ci:e2e is the mocked browser subset only. Changed user-observable behaviour also needs the relevant API, CLI or local-stack journey.

The two hosts are different repositories

GitHub is where changes are proposed and GitCode mirrors it, but the two have separate histories either way. Two consequences bite here:

  • Never compare SHAs across hosts. The same change has a different commit id on each. Compare trees: git rev-parse <a>^{tree} on both.
  • Never push a GitCode-based branch to GitHub, or the reverse. Rebase onto the host's own main first (git rebase --onto github/main <old-base>), and check the result does not contain the other host's base: git merge-base --is-ancestor <other-base> HEAD must fail.

Choose exactly one release category

LabelFor
release:breakingThe user must change configuration, call sites or environment
release:featureA new or extended user-facing capability
release:fixWrong behaviour in something that already existed
release:performanceSpeed or resource use is the point of the change
release:docsDocumentation and usage guidance
release:dependencyA dependency update is the substance of the change
release:internalTests, CI, developer tooling, refactors with no external behaviour change
release:skipNot worth a line in the release note — say why

These are mutually exclusive: the label answers "which one section of the release note does this belong under", not "which properties does this change have".

  • A breaking change is release:breaking and nothing else. That it is also a feature is already in the title, and an upgrading reader needs it in one place.
  • A fix that also adds tests is release:fix. The tests are how it was proved, not what it is.
  • A dependency bump whose purpose is fixing a user-visible bug is release:fix; a routine update is release:dependency.
  • A new product capability is release:feature even when it is delivered as a Skill; maintaining a developer-facing agent skill is release:internal.
  • Never choose release:skip because the author is a bot, because the change arrived by sync, or because the diff is small. Category follows content. If there is any user impact, or the category is unclear, ask rather than silently skipping — a skipped pull request leaves no trace in the note.

The categories and their order live in .github/release.yml. An unlabelled pull request is not dropped, it lands in Other Changes — which is a backstop to read and fix, not a default to rely on.

Applying a label needs write access to the upstream repository. An outside contributor can open the pull request and cannot label it. When the label cannot be applied, put the intended category in the body, say plainly that the GitHub label is pending a maintainer, and do not report it as applied. Do not invent a category outside the whitelist, and do not touch the ci-*, priority/*, sync-managed or general classification labels — they serve other purposes and this skill has no business rewriting them.

Show full SKILL.md (532 more words)Show less

Title and body

English. The title and every section of the body are English, including validation numbers and the E2E conclusion.

Title: <type>(<scope>): <the change and its effect>, scope optional. It becomes the release note entry, so it has to read as a sentence to somebody who has not seen the diff. update, fix bug, 修改 App.tsx and 同步代码 are not titles. A pull request paired from a GitCode merge request keeps the original meaning of its title — never flatten it to Sync from GitCode.

markdown
<One paragraph: what changes and why. Lead with the problem, not the patch.>

## <Each substantive change>
<What it does, and the reasoning a reviewer cannot reconstruct from the diff.>

## Validation
<Layer results with numbers. Name anything not covered and why.>

## E2E user journeys
<PASS / FAIL / BLOCKED; tested SHA; browser / API / CLI / local stack;
scenario → expected outcome → actual outcome; commands; passed / failed /
blocked / skipped counts and failure attribution.>

## Release
Release category: <one release:* label>
User impact: <what a user notices; or the internal scope if none>
Compatibility and migration: <none; or the incompatibility and the steps>

The body's Release category: is this project's own convention for carrying the intent — it is not a GitHub instruction and it does not label anything. The label on the pull request is what the release note reads.

Only a change with no user-observable product path (a comment, a pure doc edit) may write not applicable in the E2E section, with a concrete reason. Backend-only is not an exemption; missing credentials or absent coverage are BLOCKED or a coverage gap, not not-applicable. Evidence must be public-safe: no credentials, no local paths, no links a repository reader cannot open. A pull request that must not be merged — a CI experiment, a spike — says so in both the title and the body, and says what would have to be deleted first.

Open it, then read it back

bash
login=$(gh api user --jq .login)
git push -u <fork-remote> HEAD:<branch>
gh pr create --repo openJiuwen-ai/sciencediscovery \
  --base main --head "$login:<branch>" \
  --title '<type>(<scope>): …' --body-file <file>

gh pr view <n> --repo openJiuwen-ai/sciencediscovery \
  --json number,state,baseRefName,headRefName,headRefOid,labels,url
gh pr edit <n> --repo openJiuwen-ai/sciencediscovery --add-label release:<category>

Reading it back is not ceremony. It is how you find out that the head is a branch GitHub deleted when an earlier pull request merged, that the base is not what you meant, or that the diff is empty because the head is already contained in the base.

Its Actions run

The pull request starts the six jobs in .github/workflows/ci.yml: UT, ST, E2E (mocked), Binary release ×2, Docker image.

bash
gh run list --repo openJiuwen-ai/sciencediscovery --branch <branch> --limit 5
gh run view <run-id> --repo openJiuwen-ai/sciencediscovery \
  --json status,conclusion,jobs --jq '.jobs[] | "\(.conclusion // .status)\t\(.name)"'
gh run view <run-id> --repo openJiuwen-ai/sciencediscovery --log-failed

Judge every job, not the aggregate. For E2E read the run summary's counts: Playwright exits 0 on skips, and a BLOCKED journey is reported as skipped, so a green check alone does not mean the journeys ran.

Troubleshooting

SymptomMeaning
No commits between <base> and <head> and Head ref must be a branchThe head branch does not exist. GitHub deletes it automatically when a pull request from it merges; confirm with git ls-remote <fork> 'refs/heads/<branch>' before believing the message's claim about the base.
The fork's main is hundreds of commits behindIt is a fork nobody syncs. Do not use it as a base and do not push upstream's main to it — on: push: branches: [main] would spend a full CI run on nothing. Base the pull request on a ci/* branch pushed at the upstream commit instead.
A GitHub remote looks diverged with identical filesSeparate histories. Compare trees, not SHAs.
The Docker or E2E job fails only on GitHubRead the job log and the uploaded artifact (docker-compose-logs, e2e-results) before theorising; the product's own startup probe usually already said what was wrong.
A tag push produced no releaseThe tag did not match .github/workflows/release.yml's filter, which is a glob and not a regex. A non-matching tag fails silently — nothing runs and nothing reports.
The release note's Other Changes is longPull requests in the range have no release:* label. Label them before publishing; the section exists to make that visible.

© openJiuwen-ai, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/create-github-pr of openJiuwen-ai/sciencediscovery.

Open the folder on GitHubat commit 7a03242

Compare with similar skills

Create GitHub PR next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Create GitHub PR compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Create GitHub PR this skillopenJiuwen-ai/sciencediscovery148—~3kAutomated safety check: PassApache-2.0
Ccb GitHubSeemSeam/claude_codex_bridge3.5k—~4.9kAutomated safety check: PassCustom licence
ZCF Release AutomationUfoMiao/zcf6.1k—~3.4kAutomated safety check: PassMIT
Renovate Actions PR Reviewbacknotprop/plannotator9.2k—~640Automated safety check: PassApache-2.0
Cline CLI Release Publishercline/cline70k—~3.4kAutomated safety check: WarnApache-2.0
Kt Search Releasejillesvangurp/kt-search155—~1.2kAutomated safety check: PassMIT

Similar skills

  • Ccb GitHub

    SeemSeam/claude_codex_bridge

    Maintain this CCB project's GitHub-facing release and npm publication surface.

    3.5k GitHub stars~4.9k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Automates a version release with changesets: analyzes code changes, writes a bilingual CHANGELOG, bumps the version and commits through a release branch and pull request.

    6.1k GitHub stars~3.4k tokensUpdated 1 mo ago
    DevelopmentAuto-check passed
  • Renovate Actions PR Review

    backnotprop/plannotator

    Reviews Renovate pull requests that bump GitHub Actions by checking pinned SHAs against upstream tags, scanning changelogs and confirming workflows stay compatible.

    9.2k GitHub stars~640 tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Walks through releasing the Cline CLI package to npm: release notes, version bump, matching git tag, and either the GitHub workflow or a local publish.

    70k GitHub stars~3.4k tokensUpdated today
    DevelopmentAuto-check: warnings
  • Kt Search Release

    jillesvangurp/kt-search

    A skill your agent uses when the user wants to cut, publish, tag, or create a GitHub release for kt-search, especially when the task includes version bumping, validating that commits are pushed…

    155 GitHub stars~1.2k tokensUpdated 3 mo ago
    DevelopmentAuto-check passed
  • Automate npm Release

    jd-solanki/slidev-theme-dracula

    Automate npm package publishing via GitHub Actions for single-package repos and independent monorepo packages, including bumpp version tags, GitHub release notes, trusted publishing, provenance, and…

    161 GitHub stars~626 tokensUpdated 3 mo ago
    DevelopmentAuto-check passed

More from openJiuwen-ai/sciencediscovery

All 23 skills in this repo
  • Code Engineer

    openJiuwen-ai/sciencediscovery

    A skill your agent uses when you need to write and execute Python/R code to process, transform, and analyze data, delivering reproducible computational results with complete code-level methodology…

    148 GitHub stars~2.8k tokensUpdated 5 days ago
    Auto-check passed
  • Gitcode

    openJiuwen-ai/sciencediscovery

    Operate GitCode issues, PRs, wikis, code/MR refs, and cached org templates.

    148 GitHub stars~4.3k tokensUpdated 5 days ago
    Auto-check passed
  • Structure Pocket Inspection

    openJiuwen-ai/sciencediscovery

    Inspect a local PDB structure, summarize chains and residue composition, and identify protein atoms near a user-specified ligand or pocket center.

    148 GitHub stars~624 tokensUpdated 5 days ago
    Auto-check passed
  • Antibody Design

    openJiuwen-ai/sciencediscovery

    Prepare, launch, monitor, and summarize the real RFdiffusion to ProteinMPNN to Protenix antibody pipeline on a local or remote ScienceDiscovery Runner with sandboxed Ascend NPUs.

    148 GitHub stars~2.9k tokensUpdated 5 days ago
    Auto-check passed
  • Science Research Team

    openJiuwen-ai/sciencediscovery

    A skill your agent uses to orchestrate a multi-domain research team for literature/evidence research and data analysis.

    148 GitHub stars~1.3k tokensUpdated 5 days ago
    Auto-check passed
  • Literature Searcher

    openJiuwen-ai/sciencediscovery

    A skill your agent uses when a research workflow needs verified academic source retrieval through literature-search MCP interfaces available in the current session before evidence extraction.

    148 GitHub stars~5.8k tokensUpdated 5 days ago
    Auto-check passed

Categories

Questions about Create GitHub PR

What does Create GitHub PR do?

Open or update a pull request on GitHub's openJiuwen-ai/sciencediscovery: run the UT/ST/E2E layers locally, push the branch to the operator's own GitHub fork, write a body that says what was…. Create GitHub PR is an agent skill from openJiuwen-ai/sciencediscovery. Open or update a pull request on GitHub's openJiuwen-ai/sciencediscovery: run the UT/ST/E2E layers locally, push the branch to the operator's own GitHub fork, write a body that says what was verified with numbers, apply exactly one release: label so the release note can classify it, then read the pull request and its Actions run back.

When should I use Create GitHub PR?

Create GitHub PR fits situations like: asked to create a PR; submit a change for review; A branch is ready to propose; labelling a pull request for the release note.

How do I install Create GitHub PR in Claude Code?

Run `npx skills add openJiuwen-ai/sciencediscovery --skill create-github-pr -a claude-code`. Or copy the skill folder (.agents/skills/create-github-pr in openJiuwen-ai/sciencediscovery) into .claude/skills/create-github-pr in your project. Claude Code loads it when a task matches its description.

How do I install Create GitHub PR in Codex?

Run `npx skills add openJiuwen-ai/sciencediscovery --skill create-github-pr -a codex`. Or copy the skill folder (.agents/skills/create-github-pr in openJiuwen-ai/sciencediscovery) into .agents/skills/create-github-pr in your project. Codex loads it when a task matches its description.

Can I use Create GitHub PR in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add openJiuwen-ai/sciencediscovery --skill create-github-pr -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/create-github-pr, .gemini/skills/create-github-pr, .github/skills/create-github-pr and .opencode/skills/create-github-pr in your project.

What does Create GitHub PR need to run?

Going by SKILL.md and its folder, Create GitHub PR needs the command-line tools its instructions call (gh, git and pnpm). Our summary lists: Docker.

Does Create GitHub PR access the network?

SKILL.md contains no URLs. Its commands use gh and git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Create GitHub PR safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Create GitHub PR use?

Create GitHub PR is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Create GitHub PR use?

About 3k tokens (SKILL.md is roughly 12k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Create GitHub PR?

Skills that share tags, products or a category with Create GitHub PR: Ccb GitHub (SeemSeam/claude_codex_bridge, 3.5k stars), ZCF Release Automation (UfoMiao/zcf, 6.1k stars), Renovate Actions PR Review (backnotprop/plannotator, 9.2k stars) and Cline CLI Release Publisher (cline/cline, 70k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Create GitHub PR?

openJiuwen-ai (a GitHub organization) maintains it in openJiuwen-ai/sciencediscovery, which has 148 GitHub stars. The repository holds 23 skills in this directory. The repository was last updated on October 2, 2026.

Source: openJiuwen-ai/sciencediscovery on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.