home / skills / jeremylongshore / claude-code-plugins-plus-skills / s3-lifecycle-config
This skill helps you configure s3 lifecycle settings with step-by-step guidance, producing production-ready configurations and validation against best
npx playbooks add skill jeremylongshore/claude-code-plugins-plus-skills --skill s3-lifecycle-configReview the files below or copy the command above to add this skill to your agents.
---
name: "s3-lifecycle-config"
description: |
Configure s3 lifecycle config operations. Auto-activating skill for AWS Skills.
Triggers on: s3 lifecycle config, s3 lifecycle config
Part of the AWS Skills skill category. Use when configuring systems or services. Trigger with phrases like "s3 lifecycle config", "s3 config", "s3".
allowed-tools: "Read, Write, Edit, Bash(aws:*)"
version: 1.0.0
license: MIT
author: "Jeremy Longshore <[email protected]>"
---
# S3 Lifecycle Config
## Overview
This skill provides automated assistance for s3 lifecycle config tasks within the AWS Skills domain.
## When to Use
This skill activates automatically when you:
- Mention "s3 lifecycle config" in your request
- Ask about s3 lifecycle config patterns or best practices
- Need help with amazon web services skills covering compute, storage, networking, serverless, and aws-specific best practices.
## Instructions
1. Provides step-by-step guidance for s3 lifecycle config
2. Follows industry best practices and patterns
3. Generates production-ready code and configurations
4. Validates outputs against common standards
## Examples
**Example: Basic Usage**
Request: "Help me with s3 lifecycle config"
Result: Provides step-by-step guidance and generates appropriate configurations
## Prerequisites
- Relevant development environment configured
- Access to necessary tools and services
- Basic understanding of aws skills concepts
## Output
- Generated configurations and code
- Best practice recommendations
- Validation results
## Error Handling
| Error | Cause | Solution |
|-------|-------|----------|
| Configuration invalid | Missing required fields | Check documentation for required parameters |
| Tool not found | Dependency not installed | Install required tools per prerequisites |
| Permission denied | Insufficient access | Verify credentials and permissions |
## Resources
- Official documentation for related tools
- Best practices guides
- Community examples and tutorials
## Related Skills
Part of the **AWS Skills** skill category.
Tags: aws, lambda, s3, ec2, cloudformation
This skill automates creation, validation, and guidance for Amazon S3 lifecycle configurations. It helps you design rules to transition, expire, or clean up objects using production-ready examples and AWS best practices. The skill is auto-activating within the AWS Skills category when you ask about S3 lifecycle config.
It analyzes your stated retention, transition, and versioning requirements and generates lifecycle rules in JSON or YAML suitable for S3, CloudFormation, or Terraform. The skill validates required fields, flags common permission and syntax issues, and offers step-by-step changes you can apply to buckets safely. Outputs include example policies, CLI commands, and notes about effects on versioned objects and Glacier/Intelligent-Tiering transitions.
Will lifecycle rules immediately delete objects?
No. Rules act on object age or lifecycle state; configured actions occur after the specified number of days and are not instantaneous.
How do lifecycle rules interact with versioning?
You must explicitly define actions for current and noncurrent versions. Deleting noncurrent versions requires separate noncurrentVersionExpiration rules to avoid removing live data.