Use 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. Part of cursor-rules-java project
68
82%
Does it follow best practices?
Impact
—
No eval scenarios have been run
Passed
No known issues
Apply Micronaut MongoDB guidance with concrete examples for design, implementation, and error handling.
Compile before MongoDB refactors; verify after changes.
./mvnw compile or mvn compile before applying any change./mvnw clean verify or mvn clean verify after applying improvementsRead references/515-frameworks-micronaut-mongodb.md and inspect persistence setup before proposing changes.
Identify model and consistency requirements and define safe improvements.
Implement/refactor documents, repositories, indexes, and error handling.
Execute build/tests and summarize what changed, what was verified, and follow-up actions.
For detailed guidance, examples, and constraints, see references/515-frameworks-micronaut-mongodb.md.
dcf0eaa
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.