⚡aws-serverless
- プラグイン
- aws-core
- ソース
- GitHub で見る ↗
説明
Lambda、API Gateway、Step Functions、EventBridge、SAM/CDK を使用して、AWS 上のサーバーレスアプリケーションのビルド・デプロイ・管理・デバッグ・設定・最適化を行います。 コールドスタート、CORS デバッグ、イベントソースマッピング、トラブルシューティング、同時実行数、SnapStart、Powertools、関数 URL、EventBridge Scheduler、Lambda レイヤー、および本番環境対応を網羅しています。 次のような場合に使用: Lambda、API Gateway、Step Functions、SAM テンプレート、CDK サーバーレススタック、DynamoDB ストリームトリガー、SQS イベントソース、コールドスタート、タイムアウト、502/504 エラー、スロットリング、同時実行数、CORS、Powertools、または AWS 上のイベント駆動アーキテクチャに関する言及がある場合(「サーバーレス」という単語が含まれていない場合でも適用されます)。 EC2、ECS/Fargate コンテナ、または Amplify ホスティングには適用されません。
原文を表示
Builds, deploys, manages, debugs, configures, and optimizes serverless applications on AWS using Lambda, API Gateway, Step Functions, EventBridge, and SAM/CDK. Covers cold starts, CORS debugging, event source mappings, troubleshooting, concurrency, SnapStart, Powertools, function URLs, EventBridge Scheduler, Lambda layers, and production readiness. Triggers on mentions of Lambda, API Gateway, Step Functions, SAM templates, CDK serverless stacks, DynamoDB stream triggers, SQS event sources, cold starts, timeouts, 502/504 errors, throttling, concurrency, CORS, Powertools, or any event-driven architecture on AWS, even without the word "serverless." Does not apply to EC2, ECS/Fargate containers, or Amplify hosting.
ユースケース
- ✓Lambda関数をビルド・デプロイする
- ✓サーバーレスアプリケーションをデバッグする
- ✓コールドスタートやエラーをトラブルシューティングする
- ✓イベント駆動アーキテクチャを設定・最適化する
本文(日本語訳)
AWS Serverless
概要
AWS上でサーバーレスアプリケーションを構築するためのドメイン専門知識です。 Lambda の設定、API Gateway のデバッグ、Step Functions によるオーケストレーション、EventBridge パターン、イベントソースマッピング、同時実行チューニング、コールドスタートの最適化、SAM/CDK を使ったデプロイ、本番対応、およびすべてのサーバーレスサービスにわたるトラブルシューティングをカバーします。
最も効果的な組み合わせ: AWS MCP server — CLI コマンドの実行、CloudWatch のクエリ、設定の検証を直接行えるようになります。すべてのガイダンスは標準的な AWS CLI アクセスでも利用可能です。
注意: 参照ファイルには特定のランタイムバージョン、クォータ値、機能マトリクスが含まれていますが、これらは変更される場合があります。精度が求められる場面(本番環境へのデプロイ、ランタイムの選択、クォータの確認など)では、これらのファイルの値のみに頼らず、最新の AWS ドキュメントで値を確認してください。
ルーティング
| ユーザーのニーズ | アクション |
|---|---|
| 新しいサーバーレスアプリの構築 | パターン選択のために architecture.md、次に SAM/CDK テンプレートのために deployment.md を参照 |
| エラーのデバッグ | troubleshooting.md を参照 — よくある修正方法トップ5から始まります |
| パフォーマンスまたはコストの最適化 | コールドスタートとメモリチューニングのために lambda.md、本番対応チェックリストのために production.md を参照 |
| イベントソースの設定(SQS、DDB Streams、SNS) | event-sources.md を参照 |
| Step Functions、EventBridge、またはオーケストレーション | orchestration.md を参照 |
| 同時実行の設定 | concurrency.md を参照 |
| API Gateway のセットアップ | api-gateway.md を参照 |
| よくあるアンチパターン | production.md のアンチパターンセクションを参照 |
| Powertools の使い始め | powertools-handler.py をテンプレートとして使用 |
| Lambda Managed Instances、LMI、キャパシティプロバイダー、EC2 バックの Lambda、PerExecutionEnvironmentMaxConcurrency | 代わりに aws-lambda-managed-instances スキルを使用 |
| Durable functions、durable execution、チェックポイント&リプレイ | 代わりに aws-lambda-durable-functions スキルを使用 |
| Firecracker microVM、強固なテナント分離、サンドボックス化された/信頼できないコードの実行、長期セッション、サスペンド/レジューム、ポートリッスンサーバー、スナップショット再開可能なコンピューティング | 代わりに aws-lambda-microvms スキルを使用 |
| 複数の領域にまたがる場合 | 最も具体的な参照ファイルを最初に読み、必要に応じて他のファイルも参照 |
ファイル
| ファイル | 内容 |
|---|---|
| lambda.md | ランタイム、メモリ/CPU、コールドスタート、SnapStart、レイヤー、コンテナ |
| api-gateway.md | REST vs HTTP API、ステージ、認証、スロットリング、マッピング |
| event-sources.md | SQS、DDB Streams、SNS、S3、Kinesis トリガー |
| orchestration.md | Step Functions、EventBridge ルール/パイプ/スケジューラー |
| concurrency.md | 予約済み vs プロビジョニング済み同時実行、スケーリング、ESM 同時実行 |
| architecture.md | パターン、リファレンスアーキテクチャ、サービス選定 |
| deployment.md | SAM/CDK リソースタイプ、グローバル設定、高速イテレーション |
| production.md | 本番対応チェックリスト、オブザーバビリティ、アンチパターン |
| troubleshooting.md | エラー → 原因 → 修正方法(全サーバーレスサービス対応) |
原文(English)を表示
AWS Serverless
Overview
Domain expertise for building serverless applications on AWS. Covers Lambda configuration, API Gateway debugging, Step Functions orchestration, EventBridge patterns, event source mappings, concurrency tuning, cold start optimization, deployment with SAM/CDK, production readiness, and troubleshooting across all serverless services.
Works best with the AWS MCP server — enables running CLI commands, querying CloudWatch, and validating configurations directly. All guidance also works with standard AWS CLI access.
Note: Reference files contain specific runtime versions, quota values, and feature matrices that may change. When precision matters (e.g., deploying to production, choosing a runtime, or checking a quota), confirm values against current AWS documentation rather than relying solely on the values in these files.
Routing
| User need | Action |
|---|---|
| Building a new serverless app | Read architecture.md for pattern selection, then deployment.md for SAM/CDK templates |
| Debugging an error | Read troubleshooting.md — starts with the 5 most common fixes |
| Optimizing performance or cost | Read lambda.md for cold starts and memory tuning, production.md for readiness checklist |
| Configuring event sources (SQS, DDB Streams, SNS) | Read event-sources.md |
| Step Functions, EventBridge, or orchestration | Read orchestration.md |
| Concurrency configuration | Read concurrency.md |
| API Gateway setup | Read api-gateway.md |
| Common anti-patterns | Read the anti-patterns section in production.md |
| Starting with Powertools | Use powertools-handler.py as a template |
| Lambda Managed Instances, LMI, capacity providers, EC2-backed Lambda, PerExecutionEnvironmentMaxConcurrency | Use the aws-lambda-managed-instances skill instead |
| Durable functions, durable execution, checkpoint-and-replay | Use the aws-lambda-durable-functions skill instead |
| Firecracker microVMs, strong tenant isolation, sandboxed/untrusted code execution, long-lived sessions, suspend/resume, port-listening servers, snapshot-resumable compute | Use the aws-lambda-microvms skill instead |
| Spans multiple areas | Read the most specific reference first, then consult others as needed |
Files
| File | Content |
|---|---|
| lambda.md | Runtime, memory/CPU, cold starts, SnapStart, layers, containers |
| api-gateway.md | REST vs HTTP API, stages, auth, throttling, mapping |
| event-sources.md | SQS, DDB Streams, SNS, S3, Kinesis triggers |
| orchestration.md | Step Functions, EventBridge rules/pipes/scheduler |
| concurrency.md | Reserved vs provisioned, scaling, ESM concurrency |
| architecture.md | Patterns, reference architectures, service selection |
| deployment.md | SAM/CDK resource types, globals, fast iteration |
| production.md | Readiness checklist, observability, anti-patterns |
| troubleshooting.md | Error → cause → fix for all serverless services |
原文・著作権は Anthropic および各プラグイン作者に帰属します。日本語訳は Claude API による自動翻訳です。