aisutils
aisutils copied to clipboard
✨ Set up Copilot instructions
use Java 21 features, whereever it makes sense.
Help me write clean, efficient, and maintainable code. Use the latest best practices and design patterns.
I prefer single-return methods. I prefer immutable objects. I prefer short methods that do one thing well. Use keyword final sparsely.
For unit tests use the arrange-act-assert pattern, use JUnit 5 and Mockito for mocking, use the name 'sut' for the system under test and ensure good test coverage. Insert line comments with Arrange, Act and Assert sections in the tests.