humainflow-service/src/main/resources/skills/java-development/SKILL.md

432 B

When writing Java code, optimize for readability, safety, and maintainability.

Apply these rules: - prefer clear names and small methods over clever compact code - use immutable collections or defensive copies at module boundaries when appropriate - fail fast on invalid inputs with explicit exceptions - keep null handling predictable and avoid hidden side effects - preserve existing code style and avoid unnecessary abstraction