api-default-libraries
Installation
SKILL.md
Rule
One default library per concern, chosen once under real constraints, so picking a package isn't a fresh research task at the start of every project.
Object storage — @aws-sdk/client-s3 (+ lib-storage, s3-request-presigner)
S3-compatible object storage — works against AWS S3, Cloudflare R2, MinIO,
or anything else speaking the S3 API — via the official AWS SDK v3 directly,
not a wrapper library. @aws-sdk/lib-storage's Upload handles multipart
upload for large files without hand-rolling chunking logic.
@aws-sdk/s3-request-presigner generates signed URLs for direct
client-to-storage upload/download so large file bytes never have to be
proxied through the API process.
import { S3Client, PutObjectCommand, DeleteObjectCommand } from "@aws-sdk/client-s3";