java-coding-standards
Spring Bootサービス向けのJavaコーディング標準:命名、不変性、Optional使用、ストリーム、例外、ジェネリクス、プロジェクトレイアウト。
Content Preview
---
name: java-coding-standards
description: Spring Bootサービス向けのJavaコーディング標準:命名、不変性、Optional使用、ストリーム、例外、ジェネリクス、プロジェクトレイアウト。
---
# Javaコーディング標準
Spring Bootサービスにおける読みやすく保守可能なJava(17+)コードの標準。
## 核となる原則
- 巧妙さよりも明確さを優先
- デフォルトで不変; 共有可変状態を最小化
- 意味のある例外で早期失敗
- 一貫した命名とパッケージ構造
## 命名
```java
// ✅ クラス/レコード: PascalCase
public class MarketService {}
public record Money(BigDecimal amount, Currency currency) {}
// ✅ メソッド/フィールド: camelCase
private final MarketRepository marketRepository;
public Market findHow to Use
Recommended: Install to project (local)
mkdir -p .claude/skills
curl -o .claude/skills/java-coding-standards.md \
https://raw.githubusercontent.com/affaan-m/everything-claude-code/main/docs/ja-JP/skills/java-coding-standards/SKILL.mdSkill is scoped to this project only. Add .claude/skills/ to your .gitignoreif you don't want to commit it.
Alternative: Clone full repo
git clone https://github.com/affaan-m/everything-claude-codeThen reference at docs/ja-JP/skills/java-coding-standards/SKILL.md
Related Skills
azure-communication-sms-java
Send SMS messages with Azure Communication Services SMS Java SDK. Use when implementing SMS notifications, alerts, OTP delivery, bulk messaging, or delivery reports.
developmentazurecommunicationsms
by sickn33 (Antigravity) · antigravity-awesome-skills
azure-identity-java
Authenticate Java applications with Azure services using Microsoft Entra ID (Azure AD).
developmentazureidentityjava
by sickn33 (Antigravity) · antigravity-awesome-skills
azure-security-keyvault-keys-java
Azure Key Vault Keys Java SDK for cryptographic key management. Use when creating, managing, or using RSA/EC keys, performing encrypt/decrypt/sign/verify operations, or working with HSM-backed keys.
securityazuresecuritykeyvault
by sickn33 (Antigravity) · antigravity-awesome-skills
azure-security-keyvault-secrets-java
Azure Key Vault Secrets Java SDK for secret management. Use when storing, retrieving, or managing passwords, API keys, connection strings, or other sensitive configuration data.
securityazuresecuritykeyvault
by sickn33 (Antigravity) · antigravity-awesome-skills