Skip to main content
Manusで任意のスキルを実行
ワンクリックで

java-architecture-standards

スター14
フォーク1
更新日2026年5月20日 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.

インストール

Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。

SKILL.md
readonly