By lep511
Develop, build, and deploy AWS Lambda functions written in Rust using the official AWS Lambda Runtime for Rust and Cargo Lambda
Add HTTP event handling to a Rust Lambda function for use with API Gateway, Application Load Balancers, or Lambda Function URLs. Use when the user wants to expose their function over HTTP. Provides two approaches: typed API Gateway events or the unified lambda_http crate.
Add Amazon S3 integration to a Rust Lambda function using the AWS SDK for Rust. Use when the user wants to read from or write to S3. Covers both the basic pattern and the shared-state pattern for reusing the S3 client across invocations.
Build and compile a Rust AWS Lambda function using Cargo Lambda. Use when the user wants to compile their Rust Lambda project, target ARM64/Graviton2, or produce a .zip deployment package. Works on macOS, Windows, and Linux.
Deploy a compiled Rust Lambda function to AWS. Use when the user wants to publish their function to AWS Lambda using Cargo Lambda, the AWS CLI, or AWS SAM. Covers creating new functions and updating existing ones.
Invoke and test an AWS Lambda Rust function with a payload. Use when the user wants to test their function locally with Cargo Lambda or remotely against a deployed function with the AWS CLI.
Uses power tools
Uses Bash, Write, or Edit tools
Based on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Develop, build, and deploy AWS Lambda functions written in Rust using the official AWS Lambda Runtime for Rust and Cargo Lambda.
All guidance is based on official AWS Lambda Rust documentation.
| Skill | Command | Description |
|---|---|---|
| Setup | /rust-lambda:rust-lambda-setup | Initialize a new Rust Lambda project with Cargo Lambda |
| New handler | /rust-lambda:rust-lambda-new-handler | Scaffold a handler with the correct signature and patterns |
| Build | /rust-lambda:rust-lambda-build | Compile with cargo lambda build (x86_64 or ARM64) |
| Deploy | /rust-lambda:rust-lambda-deploy | Deploy via Cargo Lambda, AWS CLI, or AWS SAM |
| Invoke | /rust-lambda:rust-lambda-invoke | Test the function with a JSON payload |
| HTTP handler | /rust-lambda:rust-lambda-add-http | Add API Gateway / Function URL HTTP handling |
| S3 integration | /rust-lambda:rust-lambda-add-s3 | Integrate the AWS SDK for S3 |
| Review | /rust-lambda:rust-lambda-review-handler | Review handler code for AWS best practices |
| Hook | Trigger | Purpose |
|---|---|---|
rust-lambda-validate-before-deploy | Before cargo lambda deploy | Checks AWS credentials, cargo-lambda install, warns on anti-patterns |
rust-lambda-warn-no-env-vars | Before cargo lambda build | Scans for unwrap() on env vars, recursive invocations, wrong runtime in SAM templates |
# Install the plugin (from the plugin directory)
claude --plugin-dir ./rust-lambda-plugin
# Initialize a new project
/rust-lambda:setup my-order-processor
# Scaffold a handler that processes orders and writes to S3
/rust-lambda:new-handler process order events and upload receipts to S3
# Build for release
/rust-lambda:build
# Deploy
/rust-lambda:deploy
# Test with a payload
/rust-lambda:invoke my-order-processor '{"order_id":"123","amount":99.99,"item":"Book"}'
provided.al2023 OS-only runtime — not a managed runtimelambda_runtime crate is not a managed runtime; it's a Cargo cratebootstrap inside a .zip fileOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimnpx claudepluginhub lep511/claude-rust-lambda-plugin --plugin rust-lambdaAWS service configuration and deployment automation
Design, build, deploy, test, and debug serverless applications with AWS Serverless services.
Serverless architecture and FaaS expert for AWS Lambda, Azure Functions, and event-driven systems
AWS infrastructure and CloudFormation expertise
Comprehensive Rust development assistant with meta-question routing, coding guidelines, version queries, and ecosystem support
Cloudflare R2 S3-compatible object storage with SQL, Iceberg, event notifications, and automation. Use for buckets, uploads, CORS, presigned URLs, large files, S3 migration, analytics, or encountering R2_ERROR, CORS failures, multipart issues.