java-quarkus-development
Skill266 starsChanged 10 months agoApache-2.0View on GitHub
Java Quarkus development guidelines for building cloud-native applications with fast startup, minimal memory footprint, and GraalVM native builds
- Reads credentials
In this repository264 other files it gives its agents.
- accessibility-a11ySkill
- alpine-jsSkill
- analytics-data-analysisSkill
- android-developmentSkill
- angular-developmentSkill
- angularSkill
- anime-jsSkill
- anthropic-claude-developmentSkill
- api-developmentSkill
- apollo-graphqlSkill
- aspnet-coreSkill
- astroSkill
- auth0-authenticationSkill
- autogen-developmentSkill
- automl-hyperparameter-optimizationSkill
- aws-developmentSkill
- azureSkill
- backend-developmentSkill
- bash-scriptingSkill
- beautifulsoup-parsingSkill
- bitbucket-workflowSkill
- blazorSkill
- blender-python-addonSkill
- blockchainSkill
- bootstrapSkill
- business-central-developmentSkill
- cheerio-parsingSkill
- chrome-extension-developmentSkill
- ci-cd-best-practicesSkill
- clean-architectureSkill
- clean-codeSkill
- clerk-authenticationSkill
- cloudflare-developmentSkill
- computer-vision-opencvSkill
- convexSkill
- cppSkill
- c-sharpSkill
- cssSkill
- cypressSkill
- data-analysis-jupyterSkill
- data-analystSkill
- data-jupyter-pythonSkill
- deep-learning-pythonSkill
- deep-learning-pytorchSkill
- deep-learningSkill
- deno-typescriptSkill
- design-systemsSkill
- devopsSkill
- django-pythonSkill
- django-rest-api-developmentSkill
- dockerSkill
- dotnetSkill
- drizzle-ormSkill
- drupal-developmentSkill
- elasticsearch-best-practicesSkill
- electron-developmentSkill
- elixirSkill
- embedded-stm32Skill
- esbuild-bundlerSkill
- ethereumSkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
38 rules. About 0 are common, 24 are distinctive, and 14 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈24
Distinctive · estimate
This author's own choices. Worth a look.
14
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
Write clean, efficient, and well-documented Java code using Quarkus best practices
- Distinctive: line 14
Follow SOLID principles and microservices architecture patterns
- Very specific: line 19
Use quarkus dev for rapid iteration with live reload
- Distinctive: line 21
Use Dev UI for debugging and configuration inspection
- Very specific: line 27
Use @ConfigProperty for type-safe configuration injection
- Very specific: line 33
Use %dev, %test, %prod prefixes for environment-specific configs
- Distinctive: line 35
Keep sensitive values out of source control
- Very specific: line 36
Use .env files for local development
- Very specific: line 41
Use @Inject for dependency injection
- Very specific: line 42
Use @Named to qualify implementations
- Very specific: line 43
Use @Singleton, @ApplicationScoped, @RequestScoped appropriately
- Distinctive: line 44
Prefer constructor injection for required dependencies
- Very specific: line 48
Use @IfBuildProfile for conditional beans
- Distinctive: line 49
Avoid reflection-heavy patterns for native builds
- Very specific: line 54
Use @Path, @GET, @POST, etc.
- Very specific: line 56
Use @Valid for input validation
- Distinctive: line 60
Use Mutiny for reactive programming
- Distinctive: line 67
Use Panache for simplified JPA patterns
- Very specific: line 69
Use PanacheEntity for entities with built-in operations
- Distinctive: line 73
Use Flyway or Liquibase for migrations
- Distinctive: line 75
Use reactive database clients for non-blocking I/O
- Very specific: line 80
Use @QuarkusTest for integration tests
- Very specific: line 81
Use @QuarkusIntegrationTest for native image tests
- Distinctive: line 85
Use rest-assured for endpoint testing
- Distinctive: line 86
Test both success and error scenarios
- Distinctive: line 87
Verify response bodies and status codes
- Distinctive: line 88
Test authentication and authorization
- Distinctive: line 94
Test native builds regularly during development
- Very specific: line 95
Use @RegisterForReflection when needed
- Distinctive: line 101
Use lazy initialization where appropriate
- Distinctive: line 106
Use MicroProfile Health for liveness and readiness probes
- Distinctive: line 111
Use MicroProfile Metrics for application metrics
- Distinctive: line 113
Add custom metrics for business operations
- Distinctive: line 116
Use OpenTracing/OpenTelemetry integration
- Distinctive: line 122
Use Quarkus Security extensions
- Distinctive: line 126
Use HTTPS in production
- Distinctive: line 130
Use Quarkus container image extensions
- Distinctive: line 133
Use distroless or minimal base images
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Java Quarkus Development Best Practices
Core Principles
- Write clean, efficient, and well-documented Java code using Quarkus best practices
- Focus on fast startup and minimal memory footprint via GraalVM native builds
- Leverage Quarkus extensions for common functionality
- Design for containerized and serverless deployments
- Follow SOLID principles and microservices architecture patterns
Development Workflow
Quarkus Dev Mode
- Use
quarkus devfor rapid iteration with live reload - Leverage continuous testing during development
- Use Dev UI for debugging and configuration inspection
- Take advantage of Dev Services for local development
Configuration
Type-Safe Configuration
- Use
@ConfigPropertyfor type-safe configuration injection - Group related configs with
@ConfigMappinginterfaces - Validate configuration at startup
- Document configuration properties
Profile-Based Configuration
- Use
%dev,%test,%prodprefixes for environment-specific configs - Override configs via environment variables in production
- Keep sensitive values out of source control
- Use
.envfiles for local development
Dependency Injection
CDI Annotations
- Use
@Injectfor dependency injection - Use
@Namedto qualify implementations - Use
@Singleton,@ApplicationScoped,@RequestScopedappropriately - Prefer constructor injection for required dependencies
Bean Discovery
- Understand Quarkus build-time bean discovery
- Use
@IfBuildProfilefor conditional beans - Avoid reflection-heavy patterns for native builds
REST API Development
RESTEasy Reactive
- Use
@Path,@GET,@POST, etc. for endpoint definitions - Return proper HTTP status codes
- Use
@Validfor input validation - Implement exception mappers for consistent error responses
Reactive Patterns
- Use Mutiny for reactive programming
- Leverage
UniandMultifor async operations - Combine reactive with imperative code where appropriate
Data Access
Hibernate ORM with Panache
- Use Panache for simplified JPA patterns
- Leverage Active Record or Repository patterns
- Use
PanacheEntityfor entities with built-in operations - Implement custom queries with
findandlistmethods
Database Operations
- Use Flyway or Liquibase for migrations
- Configure connection pooling with Agroal
- Use reactive database clients for non-blocking I/O
Testing
JUnit 5 Integration
- Use
@QuarkusTestfor integration tests - Use
@QuarkusIntegrationTestfor native image tests - Leverage test profiles for different configurations
REST Endpoint Testing
- Use rest-assured for endpoint testing
- Test both success and error scenarios
- Verify response bodies and status codes
- Test authentication and authorization
Performance Optimization
Native Image Optimization
- Build native images with GraalVM for production
- Test native builds regularly during development
- Use
@RegisterForReflectionwhen needed - Minimize reflection usage
Memory and Startup
- Monitor memory usage in containers
- Optimize for serverless cold starts
- Use lazy initialization where appropriate
Observability
Health Checks
- Use MicroProfile Health for liveness and readiness probes
- Implement custom health checks for dependencies
- Configure Kubernetes probes based on health endpoints
Metrics
- Use MicroProfile Metrics for application metrics
- Export metrics in Prometheus format
- Add custom metrics for business operations
Distributed Tracing
- Use OpenTracing/OpenTelemetry integration
- Propagate trace context across services
- Configure sampling appropriately for production
Security
- Use Quarkus Security extensions
- Implement authentication with OIDC or JWT
- Configure CORS for web clients
- Validate and sanitize all inputs
- Use HTTPS in production
Containerization
- Use Quarkus container image extensions
- Build multi-stage Dockerfiles for native images
- Configure resource limits appropriately
- Use distroless or minimal base images
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

