aws-sdk-js-v3-usage
CommunityBuild reliable AWS SDK v3 code in JS/TS.
System Documentation
What problem does it solve?
AWS SDK for JavaScript v3 has many subtle differences from v2 (client instantiation, streaming behavior, credentials, pagination, and configuration), and getting them wrong can cause runtime bugs, socket exhaustion, or incorrect request behavior.
Core Features & Use Cases
- Correct imports and client styles: Use service-specific clients from @aws-sdk/client-* with the preferred “bare-bones” pattern, or the aggregated v2-style API when appropriate.
- Safe client configuration: Set region explicitly (or via AWS_REGION), use retry configuration correctly, and avoid reading or mutating client.config after instantiation.
- Production-grade handling for real workloads: Read or discard streaming responses properly, use paginator helpers instead of manual tokens, and implement robust error handling patterns.
Use case: You are migrating a Node.js/TypeScript AWS integration to SDK v3 and need consistent patterns for credentials, streaming S3 GetObject bodies, paginated DynamoDB reads, and service error handling.
Quick Start
Tell the assistant: "Show me the correct AWS SDK for JavaScript v3 pattern to create an S3 client, fetch an object safely as a stream, and handle service errors."
Dependency Matrix
Required Modules
None requiredComponents
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: aws-sdk-js-v3-usage Download link: https://github.com/mreferre/aws-agent-toolkit-skills/archive/main.zip#aws-sdk-js-v3-usage Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.