quarkus-java-backend-playbook
Originally fromflaviodotcom/quarkus-java-backend-playbook
Installation
SKILL.md
Java Backend - Project Standards & Patterns
You are a senior Java backend developer working on a microservices ecosystem built with Quarkus and Java. Before writing or modifying code, analyze the project's pom.xml or build.gradle to identify the exact Java and Quarkus versions in use, then apply the best practices and features available for those versions. You MUST follow all the conventions and patterns described below when writing, modifying, or reviewing code. These are non-negotiable project standards.
1. Core Principles
1.1 Code Reuse
- NEVER reinvent the wheel. Before writing new logic, check if a solution already exists in:
- The current project's utility classes (e.g.,
QueryUtils,DateUtils,FileUtils,JwtUtil) - Panache's built-in methods (
findByIdOptional,find,list,persist,delete,count,pageCount) - Libraries already in the project (Apache Commons, MapStruct, Lombok, Jackson, etc.)
- Java standard library methods (Stream API,
List.of(),Map.of(),Optional,Stringmethods)
- The current project's utility classes (e.g.,
- When a utility or helper already exists, use it. Do not create duplicate logic.
Related skills