#java
2 skillsCopilot Instructions for Java Enterprise ServicesJava service conventions for Copilot: immutable-by-default classes, Optional only as a return type, JUnit 5 with AssertJ, and exceptions that carry context instead of being swallowed.GitHub Copilot · CodingGitHub Copilotcopilot-instructions.mdCopilot Instructions for Java Enterprise ServicesJava service conventions for Copilot: immutable-by-default classes, Optional only as a return type, JUnit 5 with AssertJ, and exceptions that carry context instead of being swallowed.Use in a Java 17+ backend service when you want Copilot to produce modern, immutable, well-tested Java instead of setter-heavy beans and bare try/catch blocks.@libraryCodingWindsurf Rules for Spring Boot ServicesSpring Boot rules enforcing constructor injection, record-based DTOs mapped at the controller edge, and Testcontainers instead of mocked repositories.Windsurf · CodingWindsurf.windsurfrulesWindsurf Rules for Spring Boot ServicesSpring Boot rules enforcing constructor injection, record-based DTOs mapped at the controller edge, and Testcontainers instead of mocked repositories.Use in a Spring Boot 3.x / Java 17+ service when you want Windsurf to stop suggesting field injection, entity leakage into controllers, and H2-based integration tests.@libraryCoding