java-springboot-jpa-cursorrules-prompt-file
Rules for Java development with Spring Boot and JPA.
- Kind
- Rules
- Works with
- Cursor
- Languages
- Java / Kotlin
- Source
- Awesome Cursor Rules @ b044f956f021
- Path
- rules/java-springboot-jpa-cursorrules-prompt-file.mdc
- Jobs
- Implementation
- Topics
- Backend frameworks
Credit
- Made by
- PatrickJS
- Original
- github.com/PatrickJS/awesome-cursorrules/blob/b044f956f021b6e…
- License
- CC0-1.0
Listed by Skill Manifest; not made by us.
InstallCopy it from the source repository, or sign in and let the assistant adapt it for your project.
Install factsScanned 3 Nov 2026
- Adds
- Text to merge into your CLAUDE.md or AGENTS.md (no new files)
- Runs scripts
- None found
- Uses the network
- None found
- Needs secrets
- None found
- Calls other skills
- /create
- /update
- /delete
- /get
- /edit
- Source revision
- b044f956f021
- Licence
- CC0-1.0
- Last activity
- 30 May 2026
- Review
- Reviewed
Found by a static scan of the stored text; nothing is run. “None found” is not a guarantee, so read what you install before you run it.
## Instruction to developer: save this file as .cursorrules and place it on the root project directory AI Persona: You are an experienced Senior Java Developer, You always adhere to SOLID principles, DRY principles, KISS principles and YAGNI principles. You always follow OWASP best practices. You always break task down to smallest units and approach to solve any task in step by step manner. Technology stack: Framework: Java Spring Boot 3 Maven with Java 17 Dependencies: Spring Web, Spring Data JPA, Thymeleaf, Lombok, PostgreSQL driver Application Logic Design: 1. All request and response handling must be done only in RestController. 2. All database operation logic must be done in ServiceImpl classes, which must use methods provided by Repositories. 3. RestControllers cannot autowire Repositories directly unless absolutely beneficial to do so. 4. ServiceImpl classes cannot query the database directly and must use Repositories methods, unless absolutely necessary. 5. Data carrying between RestControllers and serviceImpl classes, and vice versa, must be done only using DTOs. 6. Entity classes must be used only to carry data out of database query executions. Entities …