From aj-geddes-useful-ai-prompts-4
Manages S3 buckets with AWS CLI and Terraform for versioning, encryption, access control, lifecycle policies, and replication. Used for object storage, static sites, and data lakes.
How this skill is triggered — by the user, by Claude, or both
Slash command
/aj-geddes-useful-ai-prompts-4:aws-s3-managementThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
- [Overview](#overview)
Amazon S3 provides secure, durable, and highly scalable object storage. Manage buckets with encryption, versioning, access controls, lifecycle policies, and cross-region replication for reliable data storage and retrieval.
Minimal working example:
# Create bucket
aws s3api create-bucket \
--bucket my-app-bucket-$(date +%s) \
--region us-east-1
# Enable versioning
aws s3api put-bucket-versioning \
--bucket my-app-bucket \
--versioning-configuration Status=Enabled
# Block public access
aws s3api put-public-access-block \
--bucket my-app-bucket \
--public-access-block-configuration \
BlockPublicAcls=true,IgnorePublicAcls=true,\
BlockPublicPolicy=true,RestrictPublicBuckets=true
# Enable encryption
aws s3api put-bucket-encryption \
--bucket my-app-bucket \
--server-side-encryption-configuration '{
"Rules": [{
"ApplyServerSideEncryptionByDefault": {
"SSEAlgorithm": "AES256"
}
// ... (see reference guides for full implementation)
Detailed implementations in the references/ directory:
| Guide | Contents |
|---|---|
| S3 Bucket Creation and Configuration with AWS CLI | S3 Bucket Creation and Configuration with AWS CLI |
| S3 Lifecycle Policy Configuration | S3 Lifecycle Policy Configuration |
| Terraform S3 Configuration | Terraform S3 Configuration |
| S3 Access with Presigned URLs | S3 Access with Presigned URLs |
npx claudepluginhub joshuarweaver/cascade-code-languages-misc-1 --plugin aj-geddes-useful-ai-prompts-4Manages AWS S3 buckets, objects, versioning, encryption, and access control via CLI and boto3. Use for creating buckets, uploading files, configuring lifecycle policies, static websites, permissions, and cross-region replication.
Deep-dive into Amazon S3 bucket configuration, storage optimization, and access control. Use when designing S3 storage strategies, configuring bucket policies and access controls, optimizing performance for large-scale workloads, setting up lifecycle policies, or troubleshooting S3 access issues.
Generates and validates S3 lifecycle configurations for object expiration, transition, and deletion. Provides step-by-step guidance and best practices for AWS.