affaan-m avatar

Quarkus Patterns

This covers the architectural patterns you'll need for building Quarkus 3.x backends with event-driven messaging. It includes the standard layering (resource, service, repository), Hibernate Panache data access, and Apache Camel integration with RabbitMQ for async publishing. The examples show real patterns like constructor injection with Lombok, transactional boundaries, structured logging with Logback and MDC context, and Camel route configuration for both direct routes and message queuing. Useful when you're setting up a new Quarkus service and want consistent patterns for validation, error handling, event tracking, and message publishing without having to piece together the boilerplate from scattered documentation.

skills.sh installs
5.4K
GitHub stars
300.3K
last updated
Aug 21, 2026

Install

$ npx -y skills add affaan-m/ecc --skill quarkus-patterns --agent claude-code

Installs into .claude/skills of the current project.

Files

Quarkus Development Patterns

Quarkus 3.x architecture and API patterns for cloud-native, event-driven services with Apache Camel.

When to Activate

  • Building REST APIs with JAX-RS or RESTEasy Reactive
  • Structuring resource → service → repository layers
  • Implementing event-driven patterns with Apache Camel and RabbitMQ
  • Configuring Hibernate Panache, caching, or reactive streams
  • Adding validation, exception mapping, or pagination
  • Setting up profiles for dev/staging/production environments (YAML config)
  • Custom logging with LogContext and Logback/Logstash encoder
  • Working with CompletableFuture for async operations
  • Implementing conditional flow processing
  • Working with GraalVM native compilation

Service Layer with Multiple Dependencies

@Slf4j
@ApplicationScoped
@RequiredArgsConstructor
public class OrderProcessingService {

    private final OrderValidator orderValidator;
    private final EventService eventService;
    private final OrderRepository orderRepository;
    private final FulfillmentPublisher fulfillmentPublisher;
    private final AuditPublisher auditPublisher;

Sponsors

Details

Repository
github.com/affaan-m/ecc
Categories
Backend & APIs, Code Review & Quality, Java & JVM, Design & UI/UX
First seen
Jul 14, 2026

More from affaan-m/ecc

All 263
1affaan-m avatarflox-environmentsaffaan-m/eccCreate reproducible, cross-platform (macOS/Linux) development environments with Flox, a declarative Nix-based environment manager. Use when setting up project t5.4Kskills.sh installs
2affaan-m avatartinystruct-patternsaffaan-m/eccExpert guidance for developing with the tinystruct Java framework. Use when working on the tinystruct codebase or any project built on tinystruct — including cr5.3Kskills.sh installs
3grafana avatark6grafana/skillsGenerate, validate, and review k6 test scripts — load, stress, spike, soak, smoke, breakpoint, functional, and protocol. Covers HTTP, WebSocket, gRPC, browser, 5.3Kskills.sh installs
4samber avatarchrome-extensionsamber/cc-skillsComprehensive guide for building Chrome extensions with Manifest V3. Use this skill whenever the user mentions Chrome extension, browser extension, manifest.jso5.3Kskills.sh installs
5affaan-m avatarprediction-market-risk-reviewaffaan-m/eccReview prediction-market, basket, oracle, and trading-agent workflows for compliance, safety, data-quality, privacy, and execution risk. Use before any workflow5.3Kskills.sh installs
6forcedotcom avatarexperience-ui-bundle-deployforcedotcom/sf-skillsMUST activate when the project contains a uiBundles/*/src/ directory and the task involves deploying, pushing to an org, or post-deploy org setup. Use this skil5.3Kskills.sh installs