convez.ai
PluginDesenvolvimento WebIntermediário
bngesp

JHipster Forge

bngesp/jhipster-forge

Gerador de código JHipster 8.x com padrões arquiteturais automáticos

Ver no GitHub
InicialPluginScore · de 0 a 100

Plugin dedicado para Claude Code que gera entidades, DTOs, modelos JDL, serviços e controllers do JHipster 8.x com padrões arquiteturais de produção já embutidos. Detecta automaticamente projetos JHipster e oferece agents para design de modelos de domínio e revisão de código.

Instalação

$npx convez-ai bngesp/jhipster-forge

1 comando no terminal: detecta o formato do repositório (marketplace ou plugin avulso) e instala via Claude Code. Requer Node 18+ e o Claude Code instalado.

Métricas

Estrelas
1
Forks
0
Acompanhando
0
Saúde
42%
Último commit
há 3 meses
Versão
v0.2.0
Issues abertas
0
Contribuidores
1

Casos de uso

  • Scaffold rápido de projetos monolito, microserviços ou gateway com JHipster
  • Geração de entidades, DTOs e camada de serviços com patterns Spring Boot 3.x
  • Modelagem de domínio via JDL a partir de descrições em linguagem natural
  • Revisão automática de código gerado para conformidade com padrões arquiteturais

Veredito

Plugin bem focado para desenvolvedores Spring Boot/JHipster que buscam acelerar scaffolding com padrões sólidos (Sealed Interface, Strategy+Registry, MapStruct). Excelente se sua stack é Java 17+ e JHipster 8.x; fora disso, utilidade limitada.

README

A tradução para o português deste README ainda está na fila.

jhipster-forge

The first dedicated Claude Code plugin for JHipster 8.x

Generate JHipster entities, DTOs, JDL models, services and more — directly from Claude Code, with production-grade architectural patterns built-in.

Features

  • Entity generation with guided field/relationship collection
  • JDL modeling from natural language descriptions
  • Architectural patterns auto-applied: Sealed Interface + Records, Strategy+Registry, Collect-Then-Fail validation, MapStruct polymorphic mapping
  • Microservices/Gateway support with Keycloak/OAuth2 guidance
  • Auto-detection of JHipster projects at session start

Prerequisites

  • JHipster 8.x (npm install -g generator-jhipster)
  • Java 17+
  • Node.js 18+
  • Maven or Gradle

Installation

claude plugin install https://github.com/bassiroungom/jhipster-forge

Commands

CommandDescription
/jhipster-forge:forge-new [monolith|microservice|gateway]Scaffold a new JHipster project
/jhipster-forge:forge-entity [EntityName]Generate an entity with fields and relationships
/jhipster-forge:forge-jdl [description|file.jdl]Create/import a JDL domain model
/jhipster-forge:forge-service [EntityName]Generate a Spring service layer
/jhipster-forge:forge-controller [EntityName]Generate a Spring REST controller
/jhipster-forge:forge-liquibaseGenerate a Liquibase diff changelog

Agents

jdl-architect

Designs complete JDL models from natural language. Describe your domain, get a production-ready .jdl file.

Example:

"I need a JDL for an e-commerce app with products, categories, orders and customers"

forge-reviewer

Reviews JHipster-generated code for architectural pattern compliance. Triggered automatically after entity generation.

Skills (Auto-activated)

SkillTriggers on
entity-generationEntity creation, domain modeling
jdl-modelingJDL files, domain language questions
architecture-patternsSealed Interface, Strategy, validation, MapStruct
microservices-gatewayMicroservice, gateway, Keycloak, Eureka

Hook

On session start, if a .yo-rc.json is detected in the project root, Claude displays:

⚡ JHipster project detected: myApp (monolith, oauth2, postgresql) — use /jhipster-forge:forge-entity, /jhipster-forge:forge-jdl and more.

Architectural Patterns

This plugin is opinionated and applies these patterns from the Spring Boot 3.x + JHipster 8.x stack:

  • Sealed Interface + Records — type-safe polymorphic DTOs (Java 17+)
  • Strategy + Registry — polymorphic validation via Spring-injected Map<String, Validator>
  • Collect-Then-Fail — ValidationMonad / MessageList for accumulating all errors
  • Single Table Inheritance — JPA entity hierarchy with @DiscriminatorColumn
  • MapStruct Pattern Matching — exhaustive mapping with Java 17 switch expressions
  • RFC7807 — standardized HTTP error responses via Zalando Problem

Compatibility

  • JHipster 8.x
  • Spring Boot 3.x
  • Java 17+
  • Angular (frontend)
  • PostgreSQL (production), H2 (dev)
  • Monolith + Microservices/Gateway

Author

Bassirou Ngom — bassiroungom26@gmail.com

License

MIT

Ver o original no GitHub

Bom para

Relacionados