aws-sdk-v2-to-v3-migration
Installation
SKILL.md
AWS SDK v2 to v3 migration
Use this skill when
- The codebase still imports
aws-sdkv2 clients or constructs them withnew AWS.*. - You see v2 patterns like
.promise(),AWS.config.update(...),DocumentClient, ors3.upload(...). - You need to move a service surface to the modular v3 packages without changing runtime behavior.
- The work includes updating tests, mocks, helpers, or wrappers tied to v2 client behavior.
Do not use this skill when
- The codebase already uses
@aws-sdk/client-*packages — it is already on v3. - The task is about AWS infrastructure or CDK, not SDK client calls.
Inputs to gather
Required before editing
- Which services are in use (S3, DynamoDB, SQS, STS, etc.).
- The module system in use (ESM, CJS) and whether TypeScript is involved.