본문으로 건너뛰기
Skillpedia
API 및 서버 (백엔드)40k · #7377

quarkus-application-development

하는 일

이 에이전트는 Quarkus 애플리케이션용 코드 작성을 돕습니다. 기존 프로젝트와 일관성을 유지하면서 REST API, 데이터베이스 접근, 보안, 다른 애플리케이션과의 통신 같은 기능을 추가할 수 있습니다.

사용하는 경우

  • ✓Quarkus 프로젝트에 새 기능을 추가할 때.
  • ✓Quarkus 애플리케이션의 기존 부분을 수정할 때.
  • ✓Quarkus 애플리케이션에 새 서비스나 기능을 통합할 때.

스킬 링크

https://github.com/github/awesome-copilot/blob/main/skills/quarkus-application-development/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/github/awesome-copilot/blob/main/skills/quarkus-application-development/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“검증과 자동 문서화 기능이 있는 사용자 관리 REST API를 추가해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 Quarkus 프로젝트를 분석해 이미 쓰이는 기술을 파악합니다. 그다음 필요한 확장을 추가하고, Quarkus 모범 사례를 따라 코드를 작성합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

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
Ops quarkus-smallrye-health, quarkus-micrometer-registry-prometheus, quarkus-opentelemetry, quarkus-smallrye-fault-tolerance references/observability-resilience.md
Outbound HTTP, scheduling, caching quarkus-rest-client-jackson, quarkus-scheduler, quarkus-cache references/observability-resilience.md

Pitfalls that cost time

  • Quarkus resolves CDI at build time: an unused bean may be removed. Beans only looked up programmatically need @Unremovable.
  • Do not read or write public fields of a normal-scoped bean (@ApplicationScoped) from another bean or test: you hit the client proxy, not the instance (verified: a counter field read through the proxy returned 0). Use methods.
  • Do not block on the event loop (@NonBlocking methods, Uni/Multi return types running on I/O threads). Remove any existing @NonBlocking from the method (combining it with @Blocking or @RunOnVirtualThread fails the build), then add @Blocking or @RunOnVirtualThread (see references/reactive-messaging.md).
  • Changes to build-time properties need a rebuild; run-time properties can be overridden by env vars (QUARKUS_DATASOURCE_JDBC_URL).
  • Do not configure URLs for databases/brokers/Keycloak in %dev/%test: that disables Dev Services.
  • drop-and-create schema management is for dev/test only; use Flyway or Liquibase for production.

Verified on Quarkus 3.40.1 and 3.27.6 (Java 21 target, Maven) with a scaffolded app and mvn verify (15 tests: REST+validation+mapper, OpenAPI, config mapping, Panache on PostgreSQL Dev Services, Kafka Dev Service round trip, Keycloak Dev Service tokens, health, metrics, fault tolerance, cache, scheduler). Re-check names against the project's version.

자주 묻는 질문

Quarkus '확장(extensions)'은 무엇인가요?

데이터베이스 지원, 웹 API, 메시징처럼 Quarkus 애플리케이션에 특정 기능을 더하는 패키지입니다.

에이전트는 어떤 Quarkus 버전을 쓸지 어떻게 아나요?

프로젝트의 설정 파일(pom.xml 또는 build.gradle)을 확인해, 이미 정의된 같은 Quarkus 버전을 사용합니다.

에이전트가 새 Quarkus 프로젝트를 만들 수 있나요?

아니요. 이 에이전트는 기존 Quarkus 프로젝트에서 작업하기 위한 것입니다. 새 프로젝트를 만들려면 다른 도구나 명령을 써야 합니다.

상세 정보

작성자의 원본 설명

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.

repo: github/awesome-copilot

인기도

GitHub 스타
40k
순위
#7377
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬