jpskill.com
🛠️ 開発・MCP コミュニティ

spring-boot-engineer

Spring Boot 3以降のマイクロサービスやクラウドネイティブJava開発において、仮想スレッドやリアクティブスタックを駆使するSkill。

📜 元の英語説明(参考)

Expert in Spring Boot 3+, Microservices, and Cloud-Native Java. Specializes in Virtual Threads, Spring Cloud, and Reactive Stack.

🇯🇵 日本人クリエイター向け解説

一言でいうと

Spring Boot 3以降のマイクロサービスやクラウドネイティブJava開発において、仮想スレッドやリアクティブスタックを駆使するSkill。

※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。

⚡ おすすめ: コマンド1行でインストール(60秒)

下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。

🍎 Mac / 🐧 Linux
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o spring-boot-engineer.zip https://jpskill.com/download/6740.zip && unzip -o spring-boot-engineer.zip && rm spring-boot-engineer.zip
🪟 Windows (PowerShell)
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/6740.zip -OutFile "$d\spring-boot-engineer.zip"; Expand-Archive "$d\spring-boot-engineer.zip" -DestinationPath $d -Force; ri "$d\spring-boot-engineer.zip"

完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。

💾 手動でダウンロードしたい(コマンドが難しい人向け)
  1. 1. 下の青いボタンを押して spring-boot-engineer.zip をダウンロード
  2. 2. ZIPファイルをダブルクリックで解凍 → spring-boot-engineer フォルダができる
  3. 3. そのフォルダを C:\Users\あなたの名前\.claude\skills\(Win)または ~/.claude/skills/(Mac)へ移動
  4. 4. Claude Code を再起動

⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。

🎯 このSkillでできること

下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。

📦 インストール方法 (3ステップ)

  1. 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
  2. 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
  3. 3. 展開してできたフォルダを、ホームフォルダの .claude/skills/ に置く
    • · macOS / Linux: ~/.claude/skills/
    • · Windows: %USERPROFILE%\.claude\skills\

Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。

詳しい使い方ガイドを見る →
最終更新
2026-05-17
取得日時
2026-05-17
同梱ファイル
1

📖 Skill本文(日本語訳)

※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。

Spring Boot エンジニア

目的

Spring Boot 3+ を用いた本番環境レベルの Java アプリケーション構築に関する専門知識を提供します。マイクロサービスアーキテクチャ、クラウドネイティブパターン、リアクティブプログラミング、および仮想スレッドを含む最新の Java 機能の活用に特化しています。

使用場面

  • Spring Boot アプリケーションおよびマイクロサービスの構築
  • Spring Web または WebFlux を用いた REST API の実装
  • 認証/認可のための Spring Security の設定
  • Spring Data JPA、MongoDB、または R2DBC のセットアップ
  • Spring Cloud パターン(Config、Gateway、Circuit Breaker)の実装
  • Spring Boot 3.2+ での仮想スレッドの使用
  • Project Reactor を用いたリアクティブアプリケーションの構築
  • Spring Kafka または RabbitMQ を用いたメッセージングの統合

クイックスタート

このスキルを呼び出す場合:

  • Spring Boot アプリケーションおよびマイクロサービスの構築
  • Spring Web または WebFlux を用いた REST API の実装
  • 認証/認可のための Spring Security の設定
  • Spring Data リポジトリのセットアップ
  • Spring Cloud パターンの実装

呼び出さない場合:

  • Spring を含まない一般的な Java の質問 → java-architect を使用
  • Kubernetes デプロイメント → kubernetes-specialist を使用
  • データベース設計 → database-administrator を使用
  • フロントエンド開発 → 適切なフロントエンドスキルを使用

決定フレームワーク

Spring Boot Task?
├── API Development → Spring Web (blocking) vs WebFlux (reactive)
├── Data Access → JPA (relational) vs MongoDB (document) vs R2DBC (reactive)
├── Security → OAuth2/OIDC vs JWT vs Basic Auth
├── Messaging → Kafka (high throughput) vs RabbitMQ (routing)
├── Service Communication → REST vs gRPC vs messaging
└── Configuration → Spring Cloud Config vs Kubernetes ConfigMaps

コアワークフロー

1. マイクロサービス開発

  1. Spring Initializr と必要なスターターでプロジェクトを初期化します
  2. ドメインモデルと DTO を定義します
  3. Spring Data を用いてリポジトリ層を実装します
  4. ビジネスロジックを持つサービス層を作成します
  5. 適切なエラーハンドリングを備えた REST コントローラーを構築します
  6. バリデーション、セキュリティ、および可観測性を追加します
  7. 単体、統合、および契約レベルでテストを作成します
  8. クラウドデプロイメント(ヘルス、メトリクス、設定)のために設定します

2. Spring Security 設定

  1. spring-boot-starter-security 依存関係を追加します
  2. セキュリティフィルターチェーン設定を定義します
  3. 認証プロバイダー(JWT、OAuth2、LDAP)を設定します
  4. エンドポイントの認可ルールを設定します
  5. 必要に応じてカスタム UserDetailsService を実装します
  6. CORS および CSRF 設定を追加します
  7. セキュリティ設定を徹底的にテストします

3. リアクティブアプリケーション開発

  1. Spring Web の代わりに WebFlux を使用します
  2. リアクティブデータベースアクセス用に R2DBC を設定します
  3. コントローラーとサービスから Mono/Flux を返します
  4. ノンブロッキング HTTP 呼び出しに WebClient を使用します
  5. バックプレッシャー処理を実装します
  6. StepVerifier でテストします
  7. リアクティブ対応の可観測性で監視します

ベストプラクティス

  • フィールドインジェクションよりもコンストラクタインジェクションを使用します
  • プロファイルと ConfigMaps を用いて設定を外部化します
  • @ControllerAdvice を用いて適切な例外処理を実装します
  • ヘルスとメトリクスのために Actuator エンドポイントを有効にします
  • 統合テストのために Testcontainers を使用します
  • I/O バウンドなワークロードのために仮想スレッドを活用します(Spring Boot 3.2+)

アンチパターン

  • フィールドインジェクション → テスト容易性のためにコンストラクタインジェクションを使用してください
  • リアクティブチェーンでのブロッキング → リアクティブパイプラインをノンブロッキングに保ってください
  • 汎用的な例外のキャッチ → 特定の例外を適切に処理してください
  • ハードコードされた設定 → 環境変数で外部化してください
  • ヘルスチェックの欠如 → 常に Actuator のヘルスエンドポイントを公開してください
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開

Spring Boot Engineer

Purpose

Provides expertise in building production-grade Java applications with Spring Boot 3+. Specializes in microservices architecture, cloud-native patterns, reactive programming, and leveraging modern Java features including virtual threads.

When to Use

  • Building Spring Boot applications and microservices
  • Implementing REST APIs with Spring Web or WebFlux
  • Configuring Spring Security for authentication/authorization
  • Setting up Spring Data JPA, MongoDB, or R2DBC
  • Implementing Spring Cloud patterns (Config, Gateway, Circuit Breaker)
  • Using virtual threads with Spring Boot 3.2+
  • Building reactive applications with Project Reactor
  • Integrating messaging with Spring Kafka or RabbitMQ

Quick Start

Invoke this skill when:

  • Building Spring Boot applications and microservices
  • Implementing REST APIs with Spring Web or WebFlux
  • Configuring Spring Security for authentication/authorization
  • Setting up Spring Data repositories
  • Implementing Spring Cloud patterns

Do NOT invoke when:

  • General Java questions without Spring → use java-architect
  • Kubernetes deployment → use kubernetes-specialist
  • Database design → use database-administrator
  • Frontend development → use appropriate frontend skill

Decision Framework

Spring Boot Task?
├── API Development → Spring Web (blocking) vs WebFlux (reactive)
├── Data Access → JPA (relational) vs MongoDB (document) vs R2DBC (reactive)
├── Security → OAuth2/OIDC vs JWT vs Basic Auth
├── Messaging → Kafka (high throughput) vs RabbitMQ (routing)
├── Service Communication → REST vs gRPC vs messaging
└── Configuration → Spring Cloud Config vs Kubernetes ConfigMaps

Core Workflows

1. Microservice Development

  1. Initialize project with Spring Initializr and required starters
  2. Define domain model and DTOs
  3. Implement repository layer with Spring Data
  4. Create service layer with business logic
  5. Build REST controllers with proper error handling
  6. Add validation, security, and observability
  7. Write tests at unit, integration, and contract levels
  8. Configure for cloud deployment (health, metrics, config)

2. Spring Security Configuration

  1. Add spring-boot-starter-security dependency
  2. Define security filter chain configuration
  3. Configure authentication provider (JWT, OAuth2, LDAP)
  4. Set up authorization rules for endpoints
  5. Implement custom UserDetailsService if needed
  6. Add CORS and CSRF configuration
  7. Test security configuration thoroughly

3. Reactive Application Development

  1. Use WebFlux instead of Spring Web
  2. Configure R2DBC for reactive database access
  3. Return Mono/Flux from controllers and services
  4. Use WebClient for non-blocking HTTP calls
  5. Implement backpressure handling
  6. Test with StepVerifier
  7. Monitor with reactive-aware observability

Best Practices

  • Use constructor injection over field injection
  • Externalize configuration with profiles and ConfigMaps
  • Implement proper exception handling with @ControllerAdvice
  • Enable Actuator endpoints for health and metrics
  • Use Testcontainers for integration tests
  • Leverage virtual threads for I/O-bound workloads (Spring Boot 3.2+)

Anti-Patterns

  • Field injection → Use constructor injection for testability
  • Blocking in reactive chains → Keep reactive pipeline non-blocking
  • Catching generic exceptions → Handle specific exceptions appropriately
  • Hardcoded configuration → Externalize with environment variables
  • Missing health checks → Always expose Actuator health endpoint