一键导入
hibernate-orm-pr
Create a PR on hibernate/hibernate-orm with correct commit message format, license agreement, and contribution rules
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Create a PR on hibernate/hibernate-orm with correct commit message format, license agreement, and contribution rules
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when the user wants a quick summary of today's work from journal entries
Generate a Quarkus migration guide entry for a Hibernate version upgrade, in asciidoc format ready for the Quarkus wiki
Use when bumping Hibernate ORM, Reactive, Search, and Tools versions in a Quarkus feature branch — either from a dependabot PR URL or explicit version numbers
Generate Maven artifact relocations for renamed Quarkus extensions, including BOM entries and OpenRewrite recipes
Add a repository worktree to an existing feature directory
Clone all repos into main/, set up remotes, build all projects into ~/.m2
| name | hibernate-orm-pr |
| description | Create a PR on hibernate/hibernate-orm with correct commit message format, license agreement, and contribution rules |
| user_invocable | true |
Usage: /hibernate-orm-pr <jira-key> <branch-name> [base-branch]
Example: /hibernate-orm-pr HHH-20384 converter-interface-exclusion 7.3
Creates a pull request on hibernate/hibernate-orm following the project's contribution rules.
<jira-key>: JIRA issue key (e.g., HHH-20384). Required.<branch-name>: The local branch to push and create the PR from.[base-branch]: Target branch on upstream. Defaults to main.These are enforced by the hibernate-github-bot and will block merge if violated:
HHH-\d+. Example: HHH-20384 Fix converter categorization.----------------------
By submitting this pull request, I confirm that my contribution is made under the terms of the [Apache 2.0 license](https://www.apache.org/licenses/LICENSE-2.0.txt)
and can be relicensed under the terms of the [LGPL v2.1 license](https://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt) in the future at the maintainers' discretion.
For more information on licensing, please check [here](https://github.com/hibernate/hibernate-orm/blob/main/CONTRIBUTING.md#legal).
----------------------
./gradlew formatChecks before committing (spotless + checkstyle).HHH-20384-converter-fix), though this is a convention not a hard rule.Validate commit messages: Check that all commits on the branch (compared to the base) start with the JIRA key pattern HHH-\d+. If any commit does not match, amend or reword before proceeding. Ask the user before rewriting.
Push the branch:
cd <worktree-path>
git push -u origin <branch-name>
Create the PR using gh pr create:
--repo hibernate/hibernate-orm--base <base-branch>--head lucamolteni:<branch-name><jira-key> <short description>Verify: Fetch the PR URL and confirm the bot has not flagged any issues. If it has, fix them immediately.
gh pr create --repo hibernate/hibernate-orm --base <base-branch> --head lucamolteni:<branch-name> --title "<jira-key> <title>" --body "$(cat <<'EOF'
## Summary
- <bullet points describing the change>
<any cross-references: Needed for quarkusio/quarkus#XXXXX, etc.>
----------------------
By submitting this pull request, I confirm that my contribution is made under the terms of the [Apache 2.0 license](https://www.apache.org/licenses/LICENSE-2.0.txt)
and can be relicensed under the terms of the [LGPL v2.1 license](https://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt) in the future at the maintainers' discretion.
For more information on licensing, please check [here](https://github.com/hibernate/hibernate-orm/blob/main/CONTRIBUTING.md#legal).
----------------------
EOF
)"