CtrlK
BlogDocsLog inGet started
Tessl Logo

giuseppe-trisciuoglio/developer-kit

Comprehensive developer toolkit providing reusable skills for Java/Spring Boot, TypeScript/NestJS/React/Next.js, Python, PHP, AWS CloudFormation, AI/RAG, DevOps, and more.

89

Quality

89%

Does it follow best practices?

Impact

Pending

No eval scenarios have been run

SecuritybySnyk

Risky

Do not use without reviewing

Overview
Quality
Evals
Security
Files

README.mdplugins/developer-kit-java/skills/spring-boot-crud-patterns/references/templates/

CRUD Generator Templates

You must provide all templates (.tpl) required by the generator; there is no fallback.

How it works:

  • The generator loads .tpl files from this directory (or a directory passed via --templates-dir).
  • It uses Python string.Template placeholders (e.g., $package, $entity, $id_type, $id_name, $id_name_lower, $base_path, $dto_request, $dto_response).
  • If any template is missing or fails to render, generation fails.

Required template filenames:

  • DomainModel.java.tpl
  • DomainRepository.java.tpl
  • JpaEntity.java.tpl
  • SpringDataRepository.java.tpl
  • PersistenceAdapter.java.tpl
  • CreateService.java.tpl
  • GetService.java.tpl
  • UpdateService.java.tpl
  • DeleteService.java.tpl
  • ListService.java.tpl
  • Mapper.java.tpl
  • DtoRequest.java.tpl
  • DtoResponse.java.tpl
  • PageResponse.java.tpl
  • ErrorResponse.java.tpl
  • Controller.java.tpl
  • GlobalExceptionHandler.java.tpl
  • EntityExceptionHandler.java.tpl
  • NotFoundException.java.tpl
  • ExistException.java.tpl

Tip: Start simple and expand over time; these files are your team’s baseline.

Conventions:

  • Base path is versioned: /v1/{resources}
  • POST returns 201 Created and sets Location: /v1/{resources}/{id}
  • GET collection supports pagination via Pageable in controller and returns PageResponse<T>
  • Application layer uses ${Entity}Mapper for DTO↔Domain and throws ${Entity}ExistException on duplicates
  • Exceptions are mapped by GlobalExceptionHandler and ${Entity}ExceptionHandler

plugins

developer-kit-java

skills

README.md

CHANGELOG.md

context7.json

CONTRIBUTING.md

README_CN.md

README_ES.md

README_IT.md

README.md

tessl.json

tile.json