auto-generated-aws-client-singleton-pattern

Official

Lightning-fast AWS clients via lazy singletons.

Authorplanetaryescape
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Manage AWS SDK clients across environments by providing lazy, reusable singletons to avoid per-invocation client creation and simplify credential handling.

Core Features & Use Cases

  • Lazy singleton client creation shared across Lambda invocations
  • Conditional credentials depending on frontend vs backend
  • DynamoDBDocumentClient wrapper for automatic JSON marshalling
  • Inline client initialization when scoped to a class or function
  • Token storage pattern for testability and reuse
  • Clear guidance on region configuration and client reuse

Quick Start

Import the AWS client helper and call the provided getter to reuse a lazily-initialized client across Lambda invocations.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: auto-generated-aws-client-singleton-pattern
Download link: https://github.com/planetaryescape/ai-digest/archive/main.zip#auto-generated-aws-client-singleton-pattern

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.