Receber por email
← Voltar para o catálogo

415-frameworks-quarkus-mongodb

Use when you need MongoDB persistence in Quarkus — including Panache Mongo entities/repositories, document design, indexes, transactions where applicable, and error handling. This should trigger for requests such as Add MongoDB in Quarkus; Review Quarkus Mongo Panache design; Improve Mongo error handling in Quarkus services. Part of cursor-rules-java project

407estrelas
Atualizado há 4 meses

Ver no GitHub ↗ Licença: Apache-2.0

Como adicionar

/plugin marketplace add jabrena/cursor-rules-java

O comando exato pode variar conforme o repositório. Confira o README no GitHub.

Para o autor da skill

Cole no README do seu repo

Mostra que sua skill está catalogada na Skillteca, gera backlink e tráfego rastreável.

[![Skillteca](https://www.skillteca.com.br/api/badge/415-frameworks-quarkus-mongodb/svg)](https://www.skillteca.com.br/skills/415-frameworks-quarkus-mongodb)

Skills relacionadas

Ver todas de Documentos →

Alerta por categoria

Receba novas skills de Documentos toda segunda

1 email curto, só com as skills novas de Documentos. 4 minutos de leitura, sem spam, cancela com 1 clique.

Você confirma o email no primeiro envio. Sem spam. Cancela com 1 clique.

Ler descrição completa

Quarkus — MongoDB

Apply Quarkus MongoDB guidance with concrete examples for design, implementation, and error handling.

Constraints

Compile before MongoDB refactors; verify after changes.

  • MANDATORY: Run ./mvnw compile or mvn compile before applying any change
  • SAFETY: If compilation fails, stop immediately
  • VERIFY: Run ./mvnw clean verify or mvn clean verify after applying improvements
  • BEFORE APPLYING: Read the reference for detailed rules and examples

When to use this skill

  • Add MongoDB in Quarkus
  • Review Quarkus Mongo Panache entities/repositories
  • Improve duplicate key handling, retry policy, or optimistic locking in Quarkus Mongo

Workflow

  1. Read reference and assess project context

Read references/415-frameworks-quarkus-mongodb.md and inspect persistence setup before proposing changes.

  1. Gather scope and decide target improvements

Identify model/query consistency needs and define safe improvements.

  1. Apply framework-aligned changes

Implement/refactor Panache Mongo mappings, repository access, and failure handling.

  1. Run verification and report results

Execute build/tests and summarize what changed, what was verified, and follow-up actions.

Reference

For detailed guidance, examples, and constraints, see [references/415-frameworks-quarkus-mongodb.md](references/415-frameworks-quarkus-mongodb.md).

Compartilhar X LinkedIn