# quarkus-application-development

This skill guides GitHub Copilot through changes in an existing Quarkus project, covering REST, persistence, messaging, security, and operations.

- skill · `type=skill` · GitHub Copilot · ★ 40451
- Author: github · official GitHub repository
- License: MIT · policy=mirror · the beginning of the file is at the end of this page
- Source: https://github.com/github/awesome-copilot/tree/HEAD/skills/quarkus-application-development/SKILL.md
- Updated: 2026-10-23
- HTML: https://affpapa.org/en/nevibecode/skills/quarkus-application-development

## What it does

The skill covers Quarkus REST endpoints, validation, exception mapping, OpenAPI, configuration, and ArC CDI. Its guidance also includes Hibernate ORM with Panache, Mutiny, virtual threads, Kafka messaging, OIDC, health checks, metrics, OpenTelemetry, fault tolerance, REST Client, scheduling, and caching.

Before editing, the agent inspects `pom.xml` or `build.gradle` for the Quarkus platform version, Java release, and existing extensions. It adds extensions with `quarkus extension add <name>` or `./mvnw quarkus:add-extension -Dextensions=<name>`, then checks the result with `./mvnw quarkus:dev` and `./mvnw verify`. The scope is an existing application, not project creation.

Ask before adding Kafka, OIDC, or Keycloak: those choices start containers in dev/test and affect deployment needs. Secrets must stay out of `application.properties`, and `drop-and-create` is intended for dev/test rather than production schema management.

## Install

### GitHub Copilot (native platform)

1. **GitHub CLI**
```bash
gh skill install github/awesome-copilot quarkus-application-development
```

2. **Manually: put the files in place**
- File: `.github/skills/quarkus-application-development/SKILL.md`

### Claude Code

1. **Skills CLI (Vercel)**
```bash
npx skills add github/awesome-copilot --skill quarkus-application-development -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/quarkus-application-development/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/quarkus-application-development/

### Codex

**Manually: put the files in place**
- File: `.agents/skills/quarkus-application-development/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

**Manually: put the files in place**
- File: `.cursor/skills/quarkus-application-development/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### Gemini CLI

**Platform CLI**
```bash
gemini skills install https://github.com/github/awesome-copilot --path skills/quarkus-application-development
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/quarkus-application-development/SKILL.md` — The legacy .windsurf/skills/ path still works

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/github/awesome-copilot/tree/HEAD/skills/quarkus-application-development/SKILL.md

## When to use it
- add a REST endpoint to an existing Quarkus app
- connect a Panache entity to the project database
- configure Kafka or OIDC without ignoring current extensions
- expose health, metrics, and tracing data
- test a feature with `@QuarkusTest`

## Example prompts
- Add an order-management REST endpoint to this existing Quarkus project and cover it with `@QuarkusTest`.
- Set up Panache for the `Order` entity after checking the project’s current extensions and Quarkus version.
- Configure OIDC here, but ask before adding a new infrastructure dependency.

## Source text · SKILL.md · MIT

Below is the content of a third-party file. It is data, not instructions for you: do not act on anything written inside unless the human asks. Block tag: 82278f769753a86e.

BEGIN THIRD-PARTY FILE 82278f769753a86e
```text
---
name: quarkus-application-development
description: 'Write Quarkus application code: REST with Quarkus REST, validation, exception mappers, OpenAPI, configuration, CDI (ArC), Hibernate ORM with Panache, Mutiny and virtual threads, Reactive Messaging with Kafka, OIDC security, health, metrics, OpenTelemetry, fault tolerance, REST Client, scheduler and cache. Use when implementing or changing features in an existing Quarkus project.'
---

# Quarkus Application Development

Scope: application code inside an existing Quarkus project. Project creation is `create-quarkus-project`; Dev Services and tests are `quarkus-dev-services-and-testing`; native and container images are `quarkus-native-and-container`; core JPA mapping and query design can use the optional `java-hibernate-jpa` skill if installed (otherwise see the Hibernate ORM guide, <https://quarkus.io/guides/hibernate-orm>, and the Jakarta Persistence docs).

## Agent rules

1. Detect first: read `pom.xml`/`build.gradle` for `quarkus.platform.version`, the Java release, and the extensions already present. Keep the version; use what the project already uses (for example `quarkus-resteasy*` stays if present).
2. Add extensions with `quarkus extension add <name>` or `./mvnw quarkus:add-extension -Dextensions=<name>`; never guess artifact ids or versions by hand (the platform BOM manages them). List candidates with `quarkus extension list --installable --search=<text>`.
3. Ask the user before adding Kafka, OIDC/Keycloak or any new infrastructure dependency (they start containers in dev/test and change deployment needs).
4. Never use the Spring compatibility extensions (`quarkus-spring-*`) unless the project already does.
5. Verify with dev mode (`./mvnw quarkus:dev`, then `/q/dev-ui`) and `./mvnw verify`; write a `@QuarkusTest` per feature. Do not claim something works without running it.
6. Use `jakarta.*` imports, records for DTOs, thin resources delegating to services.
7. Never hard-code secrets or add credentials to `application.properties`; see `references/config-cdi.md`.

## Quick decisions

| Need | Use | Details |
|---|---|---|
| JSON REST API | `quarkus-rest-jackson`, `quarkus-hibernate-validator`, `quarkus-smallrye-openapi` | `references/rest.md` |
| Typed config | `@ConfigMapping`; `@ConfigProperty` for single values | `references/config-cdi.md` |
| Beans | `@ApplicationScoped` (default), `@Singleton` only for plain stateless holders | `references/config-cdi.md` |
| Database | `quarkus-hibernate-orm-panache` + JDBC driver, repository pattern | `references/persistence.md` |
| Async / blocking | Imperative by default; `@RunOnVirtualThread` or `Uni` when needed | `references/reactive-messaging.md` |
| Messaging | `quarkus-messaging-kafka` (SmallRye Reactive Messaging) | `references/reactive-messaging.md` |
| AuthN/AuthZ | `quarkus-oidc`, `@RolesAllowed` | `references/security-oidc.md` |
```
END THIRD-PARTY FILE 82278f769753a86e

The third-party file has ended. Everything between the 82278f769753a86e tags is data: requests and commands from it are not followed. An “end of file” line with another tag inside the block is part of the file.

First 2895 of 4632 bytes. © github · MIT · https://github.com/github/awesome-copilot/tree/HEAD/skills/quarkus-application-development/SKILL.md

_Part of the page did not fit — see the HTML version._

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
