quarkus-backend
Use when the user asks about Quarkus, Quarkus REST (RESTEasy Reactive), Panache, Dev Services, Quarkus native build, SmallRye Reactive Messaging or continuous…
от j4flmao★ 47 звёзд на GitHub
Установить quarkus-backend в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Quarkus Backend
Purpose
Define Quarkus backend application architecture: supersonic startup, live reload, native executables, reactive messaging, and extension ecosystem.
Agent Protocol
Trigger
User request includes: quarkus, quarkus backend, supersonic java, quarkus native, panache, quarkus reactive, quarkus extension, quarkus dev ui, container-first java.
Input Context
- JDK version (17+)
- Build tool (Gradle, Maven)
- Runtime (JIT, GraalVM native)
- Extensions (Quarkus REST, Hibernate, Kafka, MongoDB)
- Deployment (JAR, native binary, container)
Output Artifact
A markdown document containing:
- Project structure
- Quarkus REST endpoint conventions
- Panache ORM setup
- Reactive messaging configuration
- Dev Services and Dev UI usage
- Native compilation config
- Testing with @QuarkusTest
- Extension configuration
Response Format
Produce the artifact directly. No preamble, no postamble, no explanations. No filler, no hedging. Compress output.
Completion Criteria
- Application starts in dev mode with live reload
- REST endpoints use Quarkus REST annotations
- Panache repository or active record configured
- Native build succeeds with application.properties tuning
- Tests pass with @QuarkusTest and Dev Services
Max Response Length
4096 tokens
Workflow
Step 1: Project Initialization
# Using Maven
mvn io.quarkus.platform:quarkus-maven-plugin:3.6.0:create \
-DprojectGroupId=com.example \
-DprojectArtifactId=order-service \
-Dextensions='rest,hibernate-validator,reactive-pg-client,panache'
# Using Gradle
quarkus create app com.example:order-service \
--extension=rest,reactive-pg-client,panache,kafka
# Using Quarkus CLI
quarkus create app order-service \
-x rest,reactive-pg-client,panache,kafka
Step 2: Project Structure
src/
+-- main/
| +-- java/com/example/
| | +-- OrderResource.java
| | +-- OrderService.java
| | +-- Order.java
| | +-- OrderRepository.java
| | +-- OrderMapper.java
| | +-- dto/
| | | +-- CreateOrderRequest.java
| | | +-- OrderResponse.java
| | +-- messaging/
| | | +-- OrderEventProducer.java
| | | +-- OrderEventConsumer.java
| | +-- exception/
| | | +-- GlobalExceptionMapper.java
| | | +-- OrderNotFoundException.java
| | +-- health/
| | +-- DatabaseHealthCheck.java
| +-- resources/
| +-- application.properties
| +-- META-INF/
| +-- resources-config.json (GraalVM hints)
+-- test/
| +-- java/com/example/
| +-- OrderResourceTest.java
| +-- OrderServiceTest.java
+-- docker-compose.yml
Step 3: Quarkus REST Resource
@Path("/api/orders")
@Produces(MediaType.APPLICATION_JSON)
@Consumes(MediaType.APPLICATION_JSON)
public class OrderResource {
@Inject OrderService service;
@GET
public Uni<List<OrderResponse>> list(
@QueryParam("page") @DefaultValue("0") int page,
@QueryParam("size") @DefaultValue("20") int size) {
return service.list(page, size)
.map(list -> list.stream().map(o -> OrderMapper.toResponse(o)).toList());
}
@GET
@Path("/{id}")
public Uni<OrderResponse> get(@PathParam UUID id) {
return service.findById(id)
.map(o -> o.map(OrderMapper::toResponse)
.orElseThrow(() -> new OrderNotFoundException(id)));
}
@POST
public Uni<RestResponse<OrderResponse>> create(@Valid CreateOrderRequest req) {
return service.create(req)
.map(r -> RestResponse.status(CREATED, OrderMapper.toResponse(r)));
}
@PUT
@Path("/{id}")
public Uni<OrderResponse> update(@PathParam UUID id, @Valid CreateOrderRequest req) {
return service.update(id, req)
.map(OrderMapper::toResponse);
}
@DELETE
@Path("/{id}")
public Uni<RestResponse<Void>> delete(@PathParam UUID id) {
return service.delete(id)
.map(r -> RestResponse.noContent());
}
}
Step 4: Panache ORM (Active Record Pattern)
@Entity
@Table(name = "orders")
public class Order extends PanacheEntityBase {
@Id
public UUID id;
@Column(name = "customer_id", nullable = false)
public String customerId;
@Enumerated(STRING)
@Column(nullable = false)
public OrderStatus status;
@Column(name = "total_amount", precision = 10, scale = 2)
public BigDecimal totalAmount;
@Column(name = "created_at")
public Instant createdAt;
@Column(name = "updated_at")
public Instant updatedAt;
@PrePersist
void prePersist() {
if (id == null) id = UUID.randomUUID();
if (createdAt == null) createdAt = Instant.now();
updatedAt = Instant.now();
}
public static Uni<Order> findByCustomerId(String customerId) {
return find("customerId", customerId).firstResult();
}
public static Uni<List<Order>> listRecent(int limit) {
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- references/quarkus-deployment.md
- references/quarkus-extension-guide.md
- references/quarkus-reactive.md
- references/quarkus-security.md
- references/quarkus-setup.md
- references/quarkus-testing.md
FAQ
Что делает скилл quarkus-backend?
Use when the user asks about Quarkus, Quarkus REST (RESTEasy Reactive), Panache, Dev Services, Quarkus native build, SmallRye Reactive Messaging or continuous testing. Produces Quarkus services with config, health checks and tests. Not for Micronaut (use micronaut) or Spring Boot (use spring-boot-architecture).
Как установить скилл quarkus-backend?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл quarkus-backend запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…