بنقرة واحدة
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).