Cursor rules for Spring Boot

March 16, 2026 ยท View on GitHub

THIS COLLECTION OF CURSOR-RULES/SYSTEM-PROMPTS WERE INTEGRATED IN https://github.com/jabrena/cursor-rules-java

Cursor Rules

Spring Boot rules

Cursor RuleDescriptionPromptNotes
301-frameworks-spring-boot-coreSpring Boot CoreReview my Spring Boot application using the cursor rule @301-frameworks-spring-boot-coreAdd in the context the Spring Boot classes you want to review
302-frameworks-spring-boot-restREST API Design PrinciplesReview my REST API design using the cursor rule @302-frameworks-spring-boot-restAdd in the context the REST controllers to review
303-frameworks-spring-data-jdbcSpring Data JDBCImprove my Spring Data JDBC implementation using the cursor rule @303-frameworks-spring-data-jdbcAdd in the context the repository classes and entities
304-frameworks-spring-boot-hikariHikariCP Connection Pool ConfigurationReview my HikariCP configuration using the cursor rule @304-frameworks-spring-boot-hikariAdd in the context your application properties files
311-frameworks-spring-boot-slice-testingSpring Boot Slice TestingImprove my slice tests using the cursor rule @311-frameworks-spring-boot-slice-testingAdd in the context the test classes to review
312-frameworks-spring-boot-integration-testingIntegration Testing GuidelinesReview my integration tests using the cursor rule @312-frameworks-spring-boot-integration-testingAdd in the context the integration test classes
313-frameworks-spring-boot-local-testingLocal Testing with Docker ComposeImprove my local testing setup using the cursor rule @313-frameworks-spring-boot-local-testingAdd in the context your docker-compose.yaml and test configuration
321-frameworks-spring-boot-native-compilationNative CompilationOptimize my Spring Boot app for native compilation using the cursor rule @321-frameworks-spring-boot-native-compilationAdd in the context your pom.xml and application configuration

SQL rules

Cursor RuleDescriptionPromptNotes
500-sqlSQL Development GuidelinesReview my SQL code and database design using the cursor rule @500-sqlAdd in the context your SQL files, database schema, or migration scripts

Getting started

If you are interested in getting the benefits from these cursor rules, you can manually download this repository and copy the './cursor' folder and paste it into your repository, or delegate this task to a specific command-line tool based on Jbang:

sdk install jbang
# Add cursor rules for Spring Boot in ./cursor/rules
jbang --fresh setup@jabrena init --cursor https://github.com/jabrena/cursor-rules-spring-boot

References

Cursor rules ecosystem