aws-lambda-durable-functions
БесплатноБез исполняемых скриптовНе проверенBuilds resilient, long-running, multi-step applications with AWS Lambda durable functions with automatic state persistence, retry logic, and orchestration for…
от aws★ 3 696 звёзд на GitHubОб этом скилле
AWS Lambda durable functions
Durable functions are Lambda functions that checkpoint progress and can run multi-step workflows for up to one year, suspending without compute charges during waits and callbacks.
Use the developer guides for APIs
Do not write SDK method signatures, configuration objects, or IaC properties from memory. Read the relevant page first. The SDK guide covers TypeScript, Python, Java, Go, Rust, and C#, and the API names differ between languages.
AWS Durable Execution SDK Developer Guide:
Lambda durable functions guide, for the Lambda service side:
| Topic | Link |
|---|---|
| Deploying with CloudFormation, AWS CDK, AWS SAM, Terraform | https://docs.aws.amazon.com/lambda/latest/dg/durable-getting-started-iac.html |
| Invoking (sync, async, execution names) | https://docs.aws.amazon.com/lambda/latest/dg/durable-invoking.html |
| Security and permissions | https://docs.aws.amazon.com/lambda/latest/dg/durable-security.html |
| Monitoring and execution history | https://docs.aws.amazon.com/lambda/latest/dg/durable-monitoring.html |
| Best practices | https://docs.aws.amazon.com/lambda/latest/dg/durable-best-practices.html |
| Supported runtimes | https://docs.aws.amazon.com/lambda/latest/dg/durable-supported-runtimes.html |
Works best with the AWS MCP Server for reading these pages, but it is not required.
Critical rules: Lambda
- Durable execution is enabled only when a function is created. It cannot be added to an existing function. Create a new function with durable execution (
DurableConfigin IaC) and move the logic into it. - The handler must be wrapped with the SDK (
withDurableExecutionin TypeScript,@durable_executionin Python). A plain handler deployed to a durable function fails every execution, so when moving existing code, wrap it rather than copying it unchanged. - Invoke with a qualified ARN: a version, an alias, or
$LATEST(for examplemy-function:live). An unqualified function name fails. - The execution role needs
lambda:CheckpointDurableExecution,lambda:GetDurableExecutionState, and CloudWatch Logs permissions. The managed policyAWSLambdaBasicDurableExecutionRolePolicygrants these on all resources and is fine for getting started; for production, use a policy scoped to the function's ARN. Durable invokes also needlambda:InvokeFunctionon the target. External systems that complete callbacks needlambda:SendDurableExecutionCallbackSuccessandlambda:SendDurableExecutionCallbackFailure, pluslambda:SendDurableExecutionCallbackHeartbeatif they send heartbeats. - **To invoke a durable function synchronously, through an event source mapping, or through a function URL,
Установить aws-lambda-durable-functions в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл aws-lambda-durable-functions?
Builds 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, durable execution, workflow orchestration, state machines, retry/checkpoint patterns, long-running stateful Lambda functions, saga pattern, human-in-the-loop callbacks, reliable serverless applications, context.step, context.wait, context.invoke, context.runInChildContext, withDurableExecution, DurableContext, durable-execution-sdk, qualified ARN invocation, and durable handler replay.
Как установить скилл aws-lambda-durable-functions?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл aws-lambda-durable-functions запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic