From rust-lambda
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.
npx claudepluginhub lep511/claude-rust-lambda-plugin --plugin rust-lambdaThis skill uses the workspace's default tool permissions.
Test the Lambda function with a payload.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Searches prompts.chat for AI prompt templates by keyword or category, retrieves by ID with variable handling, and improves prompts via AI. Use for discovering or enhancing prompts.
Checks Next.js compilation errors using a running Turbopack dev server after code edits. Fixes actionable issues before reporting complete. Replaces `next build`.
Test the Lambda function with a payload.
Test a deployed function:
cargo lambda invoke --remote \
--data-ascii '{"command": "Hello world"}' \
<function-name>
For a custom event (e.g. the Order example):
cargo lambda invoke --remote \
--data-ascii '{"order_id": "12345", "amount": 199.99, "item": "Wireless Headphones"}' \
<function-name>
aws lambda invoke \
--function-name <function-name> \
--cli-binary-format raw-in-base64-out \
--payload '{"order_id": "12345", "amount": 199.99, "item": "Wireless Headphones"}' \
/tmp/out.txt
Then read the response:
cat /tmp/out.txt
Note: --cli-binary-format raw-in-base64-out is required for AWS CLI v2. To make it the default:
aws configure set cli-binary-format raw-in-base64-out
{
"order_id": "12345",
"amount": 199.99,
"item": "Wireless Headphones"
}
Lambda automatically sends logs to Amazon CloudWatch. After invoking:
aws logs tail /aws/lambda/<function-name> --follow
Or filter for errors:
aws logs filter-log-events \
--log-group-name /aws/lambda/<function-name> \
--filter-pattern "ERROR"
.txt file under receipts/ in the configured S3 bucketRECEIPT_BUCKET) are set and the execution role has the required permissions