Tooluck logoTooluck
SKILL.md

aws-lambda-durable-functions

Agent skill fromawslabs/agent-plugins

Build resilient, long-running, multi-step applications with AWS Lambda durable functions with automatic state persistence, retry logic, and orchestration for long-running executions. Covers the critical replay model, step operations, wait/callback patterns, error handling with saga pattern, testing with LocalDurableTestRunner. Triggers on phrases like: lambda durable functions, workflow orchestration, state machines, retry/checkpoint patterns, long-running stateful Lambda functions, saga pattern, human-in-the-loop callbacks, and reliable serverless applications.

How to install aws-lambda-durable-functions

install aws-lambda-durable-functions
# install the agent-plugins pack with the skills CLI
npx skills add awslabs/agent-plugins

# or add only this skill to Claude Code: copy the folder

plugins/aws-serverless/skills/aws-lambda-durable-functions/

# into

~/.claude/skills/aws-lambda-durable-functions/ (all projects)

.claude/skills/aws-lambda-durable-functions/ (one project)

plugins/aws-serverless/skills/aws-lambda-durable-functions/SKILL.md

Apache-2.0Full file
1# AWS Lambda durable functions
2
3Build resilient multi-step applications and AI workflows that can execute for up to 1 year while maintaining reliable progress despite interruptions.
4
5## Onboarding
6
7### Step 1: Validate Prerequisites
8
9Before using AWS Lambda durable functions, verify:
10
111. **AWS CLI** is installed (2.33.22 or higher) and configured:
12
13 ```bash
14 aws --version
15 aws sts get-caller-identity
16 ```
17
182. **Runtime environment** is ready:
19 - For TypeScript/JavaScript: Node.js 22+ (`node --version`)
20 - For Python: Python 3.11+ (`python --version`. Note that currently only Lambda runtime environments 3.13+ come with the Durable Execution SDK pre-installed. 3.11 is the min supported Python version by the Durable SDK itself, however, you could use OCI to bring your own container image with your own Python runtime + Durable SDK.)
21
223. **Deployment capability** exists (one of):
23 - AWS SAM CLI (`sam --version`) 1.153.1 or higher
24 - AWS CDK (`cdk --version`) v2.237.1 or higher
25 - Direct Lambda deployment access
26
27### Step 2: Select language and IaC framework
28
29### Language Selection
30
31Default: TypeScript
32
33Override syntax:
34
35- "use Python" → Generate Python code
36- "use JavaScript" → Generate JavaScript code
37
38When not specified, ALWAYS use TypeScript
39
40### IaC framework selection
41
42Default: CDK
43
44Override syntax:
45
46- "use CloudFormation" → Generate YAML templates
47- "use SAM" → Generate YAML templates
48
49When not specified, ALWAYS use CDK
50
51### Error Scenarios
52…

Excerpt shown under the repository's Apache-2.0 license.

More skills in agent-plugins

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates