ワンクリックで
refresh-main
Long-running script that resets main/ to upstream and rebuilds Quarkus hourly
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Long-running script that resets main/ to upstream and rebuilds Quarkus hourly
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 | refresh-main |
| description | Long-running script that resets main/ to upstream and rebuilds Quarkus hourly |
| user_invocable | true |
Usage: /refresh-main
Creates and runs a long-running bash script that keeps main/ in sync with upstream. The script loops forever: fetch, reset, build, sleep 1 hour.
Fetch and reset all repos:
for repo in quarkus hibernate-orm hibernate-reactive quarkus-website; do
cd ~/git/hibernate/main/$repo
git fetch upstream
git reset --hard upstream/main
done
Build Quarkus (only Quarkus, not the other repos):
cd ~/git/hibernate/main/quarkus
~/git/hibernate/scripts/build-fast.sh
Log the timestamp and build result.
Sleep 1 hour, then repeat.
Write the script to ~/git/hibernate/scripts/refresh-main.sh and make it executable.
Run the script in the background or in a dedicated terminal tab:
~/git/hibernate/scripts/refresh-main.sh
The user can stop it with Ctrl+C at any time. The script should handle SIGINT gracefully (print a message and exit cleanly).