github-pr-mirror
Skill by oracle
Mirrors an external GitHub pull request into the internal GraalPython Bitbucket review flow. It is for GraalPython maintainers who review outside contributions inside Bitbucket.
Install github-pr-mirror
Built from the published package, never by AI.
git clone --depth 1 https://github.com/oracle/graalpython /tmp/graalpython && mkdir -p ~/.claude/skills && cp -r /tmp/graalpython/.agents/skills/github-pr-mirror ~/.claude/skills/github-pr-mirrorRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/oracle/graalpython /tmp/graalpython && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/graalpython/.agents/skills/github-pr-mirror ~/.gemini/antigravity-cli/skills/github-pr-mirrorAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill mirrors an external GitHub pull request from graalvm/graalpython into the internal GraalPython Bitbucket review flow. It checks that the PR has the OCA Verified label, creates or reuses a Jira issue in the GR project, and creates a branch named github-pr/<PR number> that keeps the original PR commits. It then runs pre-commit on the PR range and commits only mechanical fixes as a follow-up.
The skill hands off to the graalpython-bitbucket-pr skill to create the Bitbucket PR, handle Graal Bot tasks, and watch gates until they finish, fail, or are blocked. It is written for GraalPython maintainers. It does not rebase, squash, or amend contributor commits, and it does not comment on the GitHub PR unless asked.
Written from the project's SKILL.md and checked against it.
What it can do
- OCA label checkAborts unless the GitHub PR has the exact OCA Verified label.
- Jira issue handlingCreates a GR Python Jira issue or reuses one you supply, then moves it to In Progress.
- Mirror branchFetches the GitHub PR head into a github-pr/<PR_NUMBER> branch without rewriting commits.
- Conflict checkChecks for merge conflicts with git merge-tree and merges the target branch if needed.
- Pre-commit cleanupRuns pre-commit on the PR range and commits mechanical fixes as a follow-up commit.
- Bitbucket PR handoffHands the branch to graalpython-bitbucket-pr to create the Bitbucket PR and follow gates.
What you need
- GitHub CLI (gh) with access to graalvm/graalpython
- gdev-cli for Jira commands
- pre-commit
- Git remotes for GitHub and Bitbucket
- Jira access
Try asking
- Mirror GitHub PR 1234 into Bitbucket for GraalPython review.
- Check whether GitHub PR 5678 has the OCA Verified label before mirroring.
- Mirror GitHub PR 910 using existing Jira issue GR-12345.
Good to know
- Aborts if the PR does not have the exact OCA Verified label.
- Keeps original commits, so it does not rebase or squash.
- Stops and asks the user if pre-commit finds non-mechanical problems that are not trivial.
- Does not comment on the GitHub PR unless asked.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .agents/skills/github-pr-mirror/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md5 KB
Alternatives to github-pr-mirror
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
github-pr-mirror: common questions
Does this change the contributor's commits?
No. The skill preserves the original GitHub PR commits and does not rebase, squash, or amend them unless the user explicitly asks to abandon GitHub auto-closing behavior.
What must a PR have before it can be mirrored?
The GitHub PR must carry the exact OCA Verified label. Without it, the skill aborts and reports that the PR is not mirrorable yet.
Does it post to GitHub?
Not unless asked. The source says not to comment on the GitHub PR unless requested, and never to mention internal Bitbucket, Buildbot or similar URLs in GitHub comments.
How do I install github-pr-mirror?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is github-pr-mirror free?
The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.
Is github-pr-mirror safe to use?
It scores 73 of 100. Grades: maintenance A, licence F, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to github-pr-mirror?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
