Modern Java IDEs, such as Cursor AI, provide ways to customize how the Agent model
behaves using reusable and scoped instructions. This repository offers a collection of such Cursor rules specifically for Java development.
This collection of Cursor Rules for Java development, tries to enrich the developer experience when the Software engineer interact with LLMs in some phases in of any CI workflow.
- Build: Maven Best Practices
- Design: Acceptance criteria
- Coding: Object Oriented Design
- Coding: Type Design
- Coding: General Java Guidelines
- Coding: Secure Java Coding
- Coding: Concurrency (If required)
- Coding: Logging Guidelines
- Testing: Unit Testing
- Testing: Integration Testing (If required)
- Refactoring: Add Modern Java Features
- Refactoring: Functional Programming
- Refactoring: Data Oriented Programming
- Refactoring: Effective Java Book
- Refactoring: Pragmatic Unit Testing Book
- Refactoring: Refactoring Book by Martin Fowler
- Relational Databases: SQL (If required)
Java use JEPS as the vehicle to describe the new features to be added in the language. The repository review in a continuous way what JEPS could be improved any of the cursor rules present in this repository.
Review the template for details.
If you have new ideas to improve any of the current Cursor rules or add a new one, please fork the repo and send a PR.