515-frameworks-micronaut-mongodb — Claude Code skill for MongoDB
The 515-frameworks-micronaut-mongodb skill guides MongoDB work in Micronaut, from document models and repositories to indexes and error handling. Use it when adding or reviewing persistence.
Apache-2.0 272 installs ★ 465 updated 2026-10-21
npx skills add jabrena/plinth --skill 515-frameworks-micronaut-mongodb -a claude-codeWhat 515-frameworks-micronaut-mongodb does
The skill applies Micronaut MongoDB guidance to persistence design and changes. It covers document models, repositories, indexes, query patterns, transactions, and error handling, including duplicate-key cases, retries, and optimistic locking. Its detailed rules and examples are in references/515-frameworks-micronaut-mongodb.md.
Before editing, the agent reads that reference and inspects the project’s persistence setup. It then scopes the model and consistency requirements, makes framework-aligned changes, and reports what it verified. Compilation comes first: run ./mvnw compile or mvn compile; if it fails, stop. After changes, run ./mvnw clean verify or mvn clean verify.
What it helps with
- Add MongoDB persistence to a Micronaut service
- Review Micronaut Data Mongo entities and repositories
- Model MongoDB documents for an application
- Configure MongoDB indexes, codecs, or transactions
- Handle duplicate keys and retries in Mongo operations
Example prompts for the agent
- Add MongoDB persistence to this Micronaut project and check compilation first.
- Review the MongoDB document models and repositories in this service.
- Improve duplicate-key handling, then verify the project.
How to install 515-frameworks-micronaut-mongodb
1Skills CLI (Vercel)
npx skills add jabrena/plinth --skill 515-frameworks-micronaut-mongodb -a claude-code2Manually: put the files in place
~/.claude/skills/515-frameworks-micronaut-mongodb/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/515-frameworks-micronaut-mongodb/
1Skills CLI (Vercel)
npx skills add jabrena/plinth --skill 515-frameworks-micronaut-mongodb -a codex2Manually: put the files in place
.agents/skills/515-frameworks-micronaut-mongodb/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add jabrena/plinth --skill 515-frameworks-micronaut-mongodb -a cursor2Manually: put the files in place
.cursor/skills/515-frameworks-micronaut-mongodb/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install jabrena/plinth skills/515-frameworks-micronaut-mongodb2Manually: put the files in place
.github/skills/515-frameworks-micronaut-mongodb/SKILL.md1Skills CLI (Vercel)
npx skills add jabrena/plinth --skill 515-frameworks-micronaut-mongodb -a gemini-cli2Platform CLI
gemini skills install https://github.com/jabrena/plinth --path skills/515-frameworks-micronaut-mongodbManually: put the files in place
.devin/skills/515-frameworks-micronaut-mongodb/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add jabrena/plinth --skill 515-frameworks-micronaut-mongodb -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about 515-frameworks-micronaut-mongodb
How do I install 515-frameworks-micronaut-mongodb in Claude Code?
Run npx skills add jabrena/plinth --skill 515-frameworks-micronaut-mongodb -a claude-code. The skill file is at ~/.claude/skills/515-frameworks-micronaut-mongodb/SKILL.md.
What does 515-frameworks-micronaut-mongodb do?
It guides MongoDB persistence work in Micronaut, including document and repository design, indexes, queries, and error handling. It also sets a compile-first workflow for changes.
Which checks should I run when changing MongoDB code?
Run ./mvnw compile or mvn compile before editing, and stop if compilation fails. Afterward, run ./mvnw clean verify or mvn clean verify.
Source text
SKILL.md · Apache-2.0
--- name: 515-frameworks-micronaut-mongodb 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; Model MongoDB documents for a Micronaut service; Configure Micronaut MongoDB codecs indexes or transactions. Part of Plinth Toolkit license: Apache-2.0 metadata: author: Juan Antonio Breña Moral version: 0.19.0 --- # 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 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 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 1. **Read reference and assess project context** Read `references/515-frameworks-micronaut-mongodb.md` and inspect persistence setup before proposing changes. 2. **Gather scope and decide target improvements** Identify model and consistency requirements and define safe improvements. 3. **Apply framework-aligned changes** Implement/refactor documents, repositories, indexes, and error handling. 4. **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](references/515-frameworks-micronaut-mongodb.md).
© Juan Antonio Breña Moral · Apache-2.0 · jabrena/plinth