{"id":"91408c5c-5a69-4a94-bb24-0972b221a994","shortId":"UsfQHr","kind":"skill","title":"515-frameworks-micronaut-mongodb","tagline":"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 fo","description":"# Micronaut — MongoDB\n\nApply Micronaut MongoDB guidance with concrete examples for design, implementation, and error handling.\n\n## Constraints\n\nCompile before MongoDB refactors; verify after changes.\n\n- **MANDATORY**: Run `./mvnw compile` or `mvn compile` before applying any change\n- **SAFETY**: If compilation fails, stop immediately\n- **VERIFY**: Run `./mvnw clean verify` or `mvn clean verify` after applying improvements\n- **BEFORE APPLYING**: Read the reference for detailed rules and examples\n\n## When to use this skill\n\n- Add MongoDB in Micronaut\n- Review Micronaut Mongo entities/repositories\n- Improve duplicate key handling, retries, or optimistic locking in Micronaut Mongo\n\n## Workflow\n\n1. **Read reference and assess project context**\n\nRead `references/515-frameworks-micronaut-mongodb.md` and inspect persistence setup before proposing changes.\n\n2. **Gather scope and decide target improvements**\n\nIdentify model and consistency requirements and define safe improvements.\n\n3. **Apply framework-aligned changes**\n\nImplement/refactor documents, repositories, indexes, and error handling.\n\n4. **Run verification and report results**\n\nExecute build/tests and summarize what changed, what was verified, and follow-up actions.\n\n## Reference\n\nFor detailed guidance, examples, and constraints, see [references/515-frameworks-micronaut-mongodb.md](references/515-frameworks-micronaut-mongodb.md).","tags":["515","frameworks","micronaut","mongodb","cursor","rules","java","jabrena","agent-skills","ai-skills","claude","claude-code"],"capabilities":["skill","source-jabrena","skill-515-frameworks-micronaut-mongodb","topic-agent-skills","topic-ai-skills","topic-claude","topic-claude-code","topic-claude-code-skills","topic-claude-code-subagents","topic-claude-skills","topic-cursor-agent","topic-cursor-ai","topic-cursor-skills","topic-cursorai","topic-github-copilot"],"categories":["cursor-rules-java"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/jabrena/cursor-rules-java/515-frameworks-micronaut-mongodb","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"cli":"npx skills add jabrena/cursor-rules-java","source_repo":"https://github.com/jabrena/cursor-rules-java","install_from":"skills.sh"}},"qualityScore":"0.642","qualityRationale":"deterministic score 0.64 from registry signals: · indexed on github topic:agent-skills · 384 github stars · SKILL.md body (1,402 chars)","verified":false,"liveness":"unknown","lastLivenessCheck":null,"agentReviews":{"count":0,"score_avg":null,"cost_usd_avg":null,"success_rate":null,"latency_p50_ms":null,"narrative_summary":null,"summary_updated_at":null},"enrichmentModel":"deterministic:skill-github:v1","enrichmentVersion":1,"enrichedAt":"2026-05-18T18:54:23.649Z","embedding":null,"createdAt":"2026-05-07T12:55:11.682Z","updatedAt":"2026-05-18T18:54:23.649Z","lastSeenAt":"2026-05-18T18:54:23.649Z","tsv":"'/mvnw':70,87 '1':132 '2':148 '3':164 '4':177 '515':1 'action':196 'add':32,112 'align':168 'appli':47,76,95,98,165 'assess':136 'build/tests':184 'chang':67,78,147,169,188 'clean':88,92 'compil':61,71,74,81 'concret':52 'consist':158 'constraint':60,203 'context':138 'data':38 'decid':152 'defin':161 'design':16,40,55 'detail':103,199 'document':17,171 'duplic':121 'entities/repositories':119 'error':23,42,58,175 'exampl':53,106,201 'execut':183 'fail':82 'fo':44 'follow':194 'follow-up':193 'framework':3,167 'framework-align':166 'frameworks-micronaut-mongodb':2 'gather':149 'guidanc':50,200 'handl':24,43,59,123,176 'identifi':155 'immedi':84 'implement':56 'implement/refactor':170 'improv':41,96,120,154,163 'includ':14 'index':19,173 'inspect':142 'key':122 'lock':127 'mandatori':68 'micronaut':4,13,35,37,45,48,115,117,129 'model':18,156 'mongo':39,118,130 'mongodb':5,10,33,46,49,63,113 'mongorepositori':15 'mvn':73,91 'need':9 'optimist':126 'pattern':21 'persist':11,143 'project':137 'propos':146 'queri':20 'read':99,133,139 'refactor':64 'refer':101,134,197 'references/515-frameworks-micronaut-mongodb.md':140,205,206 'report':181 'repositori':172 'request':29 'requir':159 'result':182 'retri':124 'review':36,116 'rule':104 'run':69,86,178 'safe':162 'safeti':79 'scope':150 'see':204 'setup':144 'skill':111 'skill-515-frameworks-micronaut-mongodb' 'source-jabrena' 'stop':83 'summar':186 'target':153 'topic-agent-skills' 'topic-ai-skills' 'topic-claude' 'topic-claude-code' 'topic-claude-code-skills' 'topic-claude-code-subagents' 'topic-claude-skills' 'topic-cursor-agent' 'topic-cursor-ai' 'topic-cursor-skills' 'topic-cursorai' 'topic-github-copilot' 'trigger':27 'use':6,109 'verif':179 'verifi':65,85,89,93,191 'workflow':131","prices":[{"id":"e1ff244d-3e2e-494a-bda2-8b1a30f99d9a","listingId":"91408c5c-5a69-4a94-bb24-0972b221a994","amountUsd":"0","unit":"free","nativeCurrency":null,"nativeAmount":null,"chain":null,"payTo":null,"paymentMethod":"skill-free","isPrimary":true,"details":{"org":"jabrena","category":"cursor-rules-java","install_from":"skills.sh"},"createdAt":"2026-05-07T12:55:11.682Z"}],"sources":[{"listingId":"91408c5c-5a69-4a94-bb24-0972b221a994","source":"github","sourceId":"jabrena/cursor-rules-java/515-frameworks-micronaut-mongodb","sourceUrl":"https://github.com/jabrena/cursor-rules-java/tree/main/skills/515-frameworks-micronaut-mongodb","isPrimary":false,"firstSeenAt":"2026-05-07T12:55:11.682Z","lastSeenAt":"2026-05-18T18:54:23.649Z"}],"details":{"listingId":"91408c5c-5a69-4a94-bb24-0972b221a994","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"jabrena","slug":"515-frameworks-micronaut-mongodb","github":{"repo":"jabrena/cursor-rules-java","stars":384,"topics":["agent-skills","ai-skills","claude","claude-code","claude-code-skills","claude-code-subagents","claude-skills","cursor-agent","cursor-ai","cursor-skills","cursorai","github-copilot","intellij-idea","java","prompting","system-prompts"],"license":"apache-2.0","html_url":"https://github.com/jabrena/cursor-rules-java","pushed_at":"2026-05-18T13:53:37Z","description":"A curated and opinionated collection of Skills and Agents to be used in modern SDLC workflows for Java Enterprise development with your favorite AI Agent harness.","skill_md_sha":"f7be36a3c904a95b425296c3091f0f5c7eee01f5","skill_md_path":"skills/515-frameworks-micronaut-mongodb/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/jabrena/cursor-rules-java/tree/main/skills/515-frameworks-micronaut-mongodb"},"layout":"multi","source":"github","category":"cursor-rules-java","frontmatter":{"name":"515-frameworks-micronaut-mongodb","license":"Apache-2.0","description":"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"},"skills_sh_url":"https://skills.sh/jabrena/cursor-rules-java/515-frameworks-micronaut-mongodb"},"updatedAt":"2026-05-18T18:54:23.649Z"}}