Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Provides AWS CloudFormation patterns for ElastiCache Redis or Memcached infrastructure, including subnet groups, parameter groups, security controls, and cross-stack outputs. Use when designing cache tiers, high-availability replication groups, encryption settings, or reusable CloudFormation templates for application caching.
.claude/skills/giuseppe-trisciuoglio-aws-cloudformation-elasticache/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-08 | ✗→✓ | ▲ Improved | 6% | 0% |
| case-06 | ✓→✓ | = Same ✓ | 105% | 0% |
| case-07 | ✓→✓ | = Same ✓ | 13% | 0% |
| case-01 | ✓→✓ | = Same ✓ | 0% | 0% |
| case-02 | ✓→✓ | = Same ✓ | 85% | 0% |
Use this skill to model ElastiCache infrastructure with CloudFormation without turning SKILL.md into a full service manual.
Focus on the delivery decisions that matter most:
Use the bundled references/ documents for larger production templates and service-specific detail.
Use this skill when:
AWS::ElastiCache::CacheCluster and AWS::ElastiCache::ReplicationGroupTypical trigger phrases include cloudformation elasticache, redis replication group, memcached cluster, cache subnet group, and export redis endpoint.
Use:
ReplicationGroup for production Redis-style deployments that need failover, replicas, or shardingCacheCluster for Memcached or simple single-node cache scenariosDo not start with resource YAML before deciding whether the application needs durability, read replicas, cluster mode, or just an ephemeral cache.
Create and wire:
Keep the cache private unless there is a very unusual and well-reviewed reason not to.
For production-style Redis deployments, decide on:
For lower environments, document when a cheaper single-node configuration is acceptable.
Parameterize only the settings that truly vary between environments, such as node type, subnet IDs, or snapshot retention.
Export outputs that other stacks need, typically:
Before deployment:
yamlParameters: CacheNodeType: Type: String Default: cache.t4g.small Resources: CacheSubnetGroup: Type: AWS::ElastiCache::SubnetGroup Properties: Description: Private subnets for the cache tier SubnetIds: !Ref PrivateSubnetIds CacheSecurityGroup: Type: AWS::EC2::SecurityGroup Properties: GroupDescription: Application access to Redis VpcId: !Ref VpcId RedisReplicationGroup: Type: AWS::ElastiCache::ReplicationGroup Properties: ReplicationGroupDescription: Application Redis cluster Engine: redis CacheNodeType: !Ref CacheNodeType NumNodeGroups: 1 ReplicasPerNodeGroup: 1 AutomaticFailoverEnabled: true MultiAZEnabled: true CacheSubnetGroupName: !Ref CacheSubnetGroup SecurityGroupIds: - !Ref CacheSecurityGroup TransitEncryptionEnabled: true AtRestEncryptionEnabled: true
yamlOutputs: RedisPrimaryEndpoint: Description: Primary endpoint used by the application stack Value: !GetAtt RedisReplicationGroup.PrimaryEndPoint.Address Export: Name: !Sub "${AWS::StackName}-RedisPrimaryEndpoint"
Keep outputs small and stable so consumer stacks do not break unnecessarily.
references/examples.md instead of expanding the root skill endlessly.references/examples.mdreferences/reference.mdaws-cloudformation-vpcaws-cloudformation-securityaws-cloudformation-ecsaws-cloudformation-lambda| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-06 | pass→pass | 4,818 | 2,886 | -40% | 1 | 1 | 0% | 836 | 1,712 | +105% | 0 | 0 | — |
case-07 | pass→pass | 11,896 | 7,198 | -39% | 1 | 1 | 0% | 2,118 | 2,384 | +13% | 0 | 0 | — |
case-08 | fail→pass | 15,704 | 5,846 | -63% | 1 | 1 | 0% | 1,967 | 2,078 | +6% | 0 | 0 | — |
case-01 | pass→pass | 11,096 | 5,579 | -50% | 1 | 1 | 0% | 2,160 | 2,162 | +0% | 0 | 0 | — |
case-02 | pass→pass | 7,444 | 6,299 | -15% | 1 | 1 | 0% | 1,273 | 2,355 | +85% | 0 | 0 | — |
case-03 | pass→pass | 12,428 | 9,429 | -24% | 1 | 1 | 0% | 2,202 | 2,909 | +32% | 0 | 0 | — |
case-04 | pass→pass | 9,581 | 8,646 | -10% | 1 | 1 | 0% | 1,567 | 2,376 | +52% | 0 | 0 | — |
case-05 | pass→pass | 11,541 | 7,438 | -36% | 1 | 1 | 0% | 1,876 | 2,412 | +29% | 0 | 0 | — |
case-09 | pass→pass | 10,363 | 8,750 | -16% | 1 | 1 | 0% | 1,482 | 2,537 | +71% | 0 | 0 | — |
case-10 | pass→pass | 11,432 | 6,364 | -44% | 1 | 1 | 0% | 1,946 | 2,261 | +16% | 0 | 0 | — |
case-11 | pass→pass | 12,662 | 7,868 | -38% | 1 | 1 | 0% | 2,171 | 2,683 | +24% | 0 | 0 | — |
case-12 | pass→pass | 3,110 | 2,367 | -24% | 1 | 1 | 0% | 438 | 1,516 | +246% | 0 | 0 | — |
case-13 | pass→pass | 14,130 | 10,291 | -27% | 1 | 1 | 0% | 2,644 | 2,982 | +13% | 0 | 0 | — |
case-14 | pass→pass | 20,773 | 11,470 | -45% | 1 | 1 | 0% | 2,434 | 3,323 | +37% | 0 | 0 | — |
case-15 | pass→pass | 16,408 | 7,058 | -57% | 1 | 1 | 0% | 1,478 | 2,370 | +60% | 0 | 0 | — |
case-16 | pass→pass | 15,272 | 8,086 | -47% | 1 | 1 | 0% | 2,232 | 2,387 | +7% | 0 | 0 | — |
case-17 | pass→pass | 7,042 | 8,786 | +25% | 1 | 1 | 0% | 1,202 | 2,265 | +88% | 0 | 0 | — |
case-18 | pass→pass | 9,580 | 6,237 | -35% | 1 | 1 | 0% | 1,705 | 2,378 | +39% | 0 | 0 | — |
case-19 | pass→pass | 37,581 | 10,094 | -73% | 1 | 1 | 0% | 2,641 | 3,090 | +17% | 0 | 0 | — |
case-20 | pass→pass | 5,348 | 5,284 | -1% | 1 | 1 | 0% | 1,087 | 2,270 | +109% | 0 | 0 | — |
case-21 | pass→pass | 7,506 | 6,492 | -14% | 1 | 1 | 0% | 1,500 | 2,512 | +67% | 0 | 0 | — |
case-22 | pass→pass | 14,759 | 9,853 | -33% | 1 | 1 | 0% | 3,069 | 3,167 | +3% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 22 cases were attempted. The headline lift of +5 percentage points is the difference between those two pass rates over the 22 comparable cases.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
Other measured skills in the registry, with their headline benchmark lift.