Skip to main content
Jeden Skill in Manus ausführen
mit einem Klick

java-architecture-standards

Sterne14
Forks1
Aktualisiert20. Mai 2026 um 03:18

Layer 1 (Architecture) for Java backend. Daily decisions you can make WITHOUT opening SKILL.md: - Red Lines: NO @PathVariable (use query string / request body); NO hard delete (is_deleted=1); NO `I` prefix on interfaces; every list query filters by tenant_id. - Service writes: throw DomainException + AbstractErrorCode (never RuntimeException) — guarantees @Transactional rollback. - Cross-domain reads: Anti-JOIN — query main table, extract FK ids, query related table, assemble in memory. - DI: @RequiredArgsConstructor on the class, NEVER @Autowired on fields. Lombok: @Getter+@Setter, NOT @Data. - Null checks: Objects.isNull() / Objects.nonNull(), not == null. Open SKILL.md when deciding: POJO directory layout, audit field set, endpoint naming verbs, @ResourceLock usage.

Installation

Mit Codex oder Claude installieren Kopieren Sie diesen Prompt, fügen Sie ihn in Codex, Claude oder einen anderen Assistant ein und lassen Sie die Skill-Seite prüfen und installieren.

SKILL.md
readonly