315-frameworks-spring-mongodb

Installation
SKILL.md

Spring Boot — MongoDB

Apply Spring Data 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 Spring Boot
  • Review Spring Data Mongo repositories/documents
  • Improve duplicate key handling, retries, or optimistic locking in Mongo flows

Workflow

Related skills

More from jabrena/cursor-rules-java

Installs
13
GitHub Stars
380
First Seen
8 days ago