aws-s3-management — скилл для Claude Code: настройка S3
Скилл помогает настраивать S3-бакеты: включать версионирование и шифрование, ограничивать публичный доступ и задавать политики жизненного цикла. Пригодится для объектного хранилища, резервных копий и статических сайтов.
npx skills add aj-geddes/useful-ai-prompts --skill aws-s3-management -a claude-codeЧто делает aws-s3-management
Скилл помогает работать с настройками Amazon S3 через AWS CLI: создать бакет, включить версионирование и шифрование, закрыть публичный доступ. В примере для шифрования используется AES256. Рекомендации охватывают политики доступа, журналирование, MFA Delete и репликацию между регионами.
В каталоге references/ есть руководства по созданию бакета, политикам жизненного цикла, настройке через Terraform и предварительно подписанным URL. Они пригодятся для резервного копирования, хранения ресурсов приложения и аналитики. Внимательно проверьте политику доступа: слишком широкие разрешения или открытый бакет создают риск для данных.
Какие задачи решает
- создать S3-бакет через AWS CLI
- включить версионирование объектов
- закрыть публичный доступ к бакету
- настроить шифрование и жизненный цикл данных
- подготовить доступ к объектам через предварительно подписанные URL
Примеры запросов агенту
- Настрой S3-бакет для резервных копий: включи версионирование и шифрование, заблокируй публичный доступ.
- Подготовь конфигурацию S3 для статического сайта и перечисли нужные настройки бакета.
- Покажи, как настроить политику жизненного цикла S3 и доступ через предварительно подписанные URL.
Как установить aws-s3-management
1Через Skills CLI (Vercel)
npx skills add aj-geddes/useful-ai-prompts --skill aws-s3-management -a claude-code2Вручную: положить файлы
~/.claude/skills/aws-s3-management/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/aws-s3-management/
1Через Skills CLI (Vercel)
npx skills add aj-geddes/useful-ai-prompts --skill aws-s3-management -a codex2Вручную: положить файлы
.agents/skills/aws-s3-management/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add aj-geddes/useful-ai-prompts --skill aws-s3-management -a cursor2Вручную: положить файлы
.cursor/skills/aws-s3-management/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install aj-geddes/useful-ai-prompts aws-s3-management2Вручную: положить файлы
.github/skills/aws-s3-management/SKILL.md1Через Skills CLI (Vercel)
npx skills add aj-geddes/useful-ai-prompts --skill aws-s3-management -a gemini-cli2Командой платформы
gemini skills install https://github.com/aj-geddes/useful-ai-prompts --path skills/aws-s3-managementВручную: положить файлы
.devin/skills/aws-s3-management/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add aj-geddes/useful-ai-prompts --skill aws-s3-management -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о aws-s3-management
Как установить aws-s3-management в Claude Code?
Выполните npx skills add aj-geddes/useful-ai-prompts --skill aws-s3-management -a claude-code. Файл скилла находится по пути ~/.claude/skills/aws-s3-management/SKILL.md.
Что делает aws-s3-management?
Помогает настраивать S3-бакеты: версионирование, шифрование, публичный доступ, политики жизненного цикла и репликацию между регионами. В комплекте есть примеры для AWS CLI и Terraform.
Какие руководства входят в aws-s3-management?
Есть материалы по созданию и настройке бакета через AWS CLI, политикам жизненного цикла, Terraform и предварительно подписанным URL.
Исходный текст
SKILL.md · MIT
---
name: aws-s3-management
description: >
Manage S3 buckets with versioning, encryption, access control, lifecycle
policies, and replication. Use for object storage, static sites, and data
lakes.
---
# AWS S3 Management
## Table of Contents
- [Overview](#overview)
- [When to Use](#when-to-use)
- [Quick Start](#quick-start)
- [Reference Guides](#reference-guides)
- [Best Practices](#best-practices)
## 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.
## When to Use
- Static website hosting
- Data backup and archival
- Media library and CDN origin
- Data lake and analytics
- Log storage and analysis
- Application asset storage
- Disaster recovery
- Data sharing and collaboration
## Quick Start
Minimal working example:
```bash
# 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)
```
## Reference Guides
Detailed implementations in the `references/` directory:
| Guide | Contents |
|---|---|
| [S3 Bucket Creation and Configuration with AWS CLI](references/s3-bucket-creation-and-configuration-with-aws-cli.md) | S3 Bucket Creation and Configuration with AWS CLI |
| [S3 Lifecycle Policy Configuration](references/s3-lifecycle-policy-configuration.md) | S3 Lifecycle Policy Configuration |
| [Terraform S3 Configuration](references/terraform-s3-configuration.md) | Terraform S3 Configuration |
| [S3 Access with Presigned URLs](references/s3-access-with-presigned-urls.md) | S3 Access with Presigned URLs |
## Best Practices
### ✅ DO
- Enable versioning for important data
- Use server-side encryption
- Block public access by default
- Implement lifecycle policies
- Enable logging and monitoring
- Use bucket policies for access control
- Enable MFA delete for critical buckets
- Use IAM roles instead of access keys
- Implement cross-region replication
### ❌ DON'T
- Make buckets publicly accessible
- Store sensitive credentials
- Ignore CloudTrail logging
- Use overly permissive policies
- Forget to set lifecycle rules
- Ignore encryption requirements
© aj-geddes · MIT · aj-geddes/useful-ai-prompts