Java conventions

From bjcoombs/ai-native-toolkit · View interactive version

Java conventions is an AI agent skill from the GitHub repository bjcoombs/ai-native-toolkit. Java conventions for this repo. TRIGGER when editing any *.java file, JUnit tests, or Maven modules.

How to use this skill

Skill file

Java Conventions

Use Log4j2 for logging. Prefer constructor injection over field injection

because it makes dependencies explicit and testable.

Default to JUnit5 with AssertJ for assertions. Run mvn verify before pushing.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.