JRebirth ships an AI kit: a small set of files that tell coding agents how the framework expects you to structure an application. It works with Cursor, Claude Code, Codex, Copilot, and similar tools.
You do not need to be an AI specialist. You do not need to memorize every JRebirth API either. Install the kit in your project, then ask the agent for a screen, a command, or a service in plain language.
Agents are good at producing JavaFX code. Left alone, they often invent patterns that fight JRebirth: Platform.runLater everywhere, business logic in controllers, or getCommand(...).run(...).
The kit gives them a fixed contract:
The kit lives in the JRebirth repository under jrebirth-ai-kit/:
| File / folder | Role |
|---|---|
AGENTS.md |
Short, strict rules for any agent |
CLAUDE.md |
Points Claude Code at AGENTS.md |
.cursor/rules/jrebirth-core.mdc |
Cursor rule for *.java / *.fxml |
skills/jrebirth-*/ |
Task skills (SKILL.md + code samples in references/) |
install.ps1 / install.sh |
Copies or links the kit into your app |
One source of truth — no second maintained copy of the same skills elsewhere.
From a clone of JRebirth:
Windows
cd jrebirth-ai-kit
.\install.ps1 -Target C:\path\to\your-app
Linux / macOS
cd jrebirth-ai-kit
chmod +x install.sh
./install.sh /path/to/your-app
The installer puts AGENTS.md / CLAUDE.md at the root of your app (it asks before overwriting), installs the Cursor rule, and publishes skills under .cursor/skills, .claude/skills, .codex/skills, and .agents/skills.
Use --force / -Force to replace existing agent files (a .bak is kept). Use --link / -Link to junction/symlink the skills folder instead of copying.
Details and the full skill list: see jrebirth-ai-kit/README.md in the repository.
jrebirth-* skill before it writes code.AGENTS.md.| You want to… | Skill |
|---|---|
| Decide where code belongs | jrebirth-core |
| Create a full screen | jrebirth-create-mvc |
| Add Model / View / Controller | jrebirth-create-model, …-view, …-controller |
| Add a Command or Service | jrebirth-create-command, jrebirth-create-service |
| Call a Command safely | jrebirth-invoke-command |
Fix thread / runLater issues |
jrebirth-threading |
| Bootstrap a Maven app | jrebirth-maven-project |
Fix module-info / ModuleStarter |
jrebirth-jpms-module |
The README in the kit lists every skill with a sample prompt.
AGENTS.md and skills are meant for several agent tools.jrebirth-ai-kit/ in the JRebirth repository