java-javafx-entity

Creates Java domain entity classes that mirror the existing conventions of a JavaFX project.

1|Updated Jul 7, 2026
One-click install
npx skills add https://github.com/codjeremias-cell/Orquestrador-fable --skill java-javafx-entity-codjeremias-cell
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: java-javafx-entity
Source: https://github.com/codjeremias-cell/Orquestrador-fable/tree/main/skills/java-javafx-entity
Command: npx skills add https://github.com/codjeremias-cell/Orquestrador-fable --skill java-javafx-entity-codjeremias-cell

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Writing a new domain entity in an existing Java project often introduces a second, inconsistent style (different mutability, validation, naming language), forcing every downstream layer to handle two patterns. This Skill generates entity classes that match the exact conventions the project already uses. ## Core Features & Use Cases - Convention Mirroring: Reads an existing entity in the project and reproduces its package, mutability style (setters vs immutable constructor), validation placement, equals/hashCode usage, and identifier language (PT-BR or English). - Greenfield Default: When no entity exists to mirror, proposes a default pattern (private fields, constructor, getters, error-collecting validate(), equals/hashCode by id) explicitly marked as an assumption to confirm. - Test Discipline: Generates JUnit tests only when the project already tests entities, and verifies closure via compilation (mvn compile or gradlew compileJava). - Use Case: In a JavaFX + JDBC desktop app, ask for a Cliente entity with typed attributes and receive a POJO in the project's package and style, ready for the DAO and service layers. ## Quick Start Ask the assistant to create the entity Cliente with attributes nome, email and dataCadastro, mirroring the existing entities of this JavaFX project.

Frequently Asked Questions about java-javafx-entity

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a Java entity class that matches my project's existing style?▼

Provide the entity name and typed attributes, and the Skill reads an existing entity in your project to copy its package, mutability style, validation approach, and naming language. The generated class follows that detected pattern rather than a generic template.

How to generate a POJO for a JavaFX desktop application?▼

State the entity name and its attributes with types, such as nome: String or data: LocalDate. The Skill produces a pure domain class with no database, FXML, or console dependencies, ready for DAO and service layers.

Does this generate JUnit tests for the entity?▼

Only if the project already tests its entities. If the project does not test plain POJOs, no test is generated unless explicitly requested, and closure is verified by clean compilation with mvn compile or gradlew compileJava.

When should I not use this entity generator?▼

Do not use it for persistence, UI, or business logic. DAO and database access belong to a JDBC DAO skill, screens to an FXML screen skill, and service orchestration to a use-case skill; this Skill covers only the domain model class.

What happens if my project has no existing entity to mirror?▼

The Skill proposes a default pattern with private fields, constructor, getters, an error-collecting validate() method, and equals/hashCode by id, explicitly flagged as an assumption to confirm until the project establishes its own convention.