jabrena/plinth / skills/515-frameworks-micronaut-mongodb
515-frameworks-micronaut-mongodb
VerifiedUse when you need MongoDB persistence in Micronaut — including @MongoRepository design, document modeling, indexes, query patterns, and error handling. This should trigger for requests such as Add MongoDB in Micronaut; Review Micronaut Data Mongo design; Improve error handling for Micronaut Mongo operations; Model MongoDB documents for a Micronaut service; Configure Micronaut MongoDB codecs indexes or transactions. Part of Plinth Toolkit
Micronaut — MongoDB
Apply Micronaut MongoDB guidance with concrete examples for design, implementation, and error handling.
Constraints
Compile before MongoDB refactors; verify after changes.
- MANDATORY: Run
./mvnw compileormvn compilebefore applying any change - SAFETY: If compilation fails, stop immediately
- VERIFY: Run
./mvnw clean verifyormvn clean verifyafter applying improvements - BEFORE APPLYING: Read the reference for detailed rules and examples
When to use this skill
- Add MongoDB in Micronaut
- Review Micronaut Mongo entities/repositories
- Improve duplicate key handling, retries, or optimistic locking in Micronaut Mongo
- Model MongoDB documents for a Micronaut service
- Configure Micronaut MongoDB codecs indexes or transactions
Workflow
- Read reference and assess project context
Read references/515-frameworks-micronaut-mongodb.md and inspect persistence setup before proposing changes.
- Gather scope and decide target improvements
Identify model and consistency requirements and define safe improvements.
- Apply framework-aligned changes
Implement/refactor documents, repositories, indexes, and error handling.
- 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/515-frameworks-micronaut-mongodb.md.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| brainstormingobra/superpowersYou MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation). | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| brand-guidelinesanthropics/skillsApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply. | Stars: 197k | Updated | Claude CodeCodex | Verified | Install |
| frontend-designanthropics/skillsGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults. | Stars: 197k | Updated | Claude CodeCodex | Verified | Install |
| mcp-builderanthropics/skillsGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK). | Stars: 197k | Updated | Claude CodeCodex | Verified | Install |