/localstack:localstack-infra-testfrom localstack
Deploys IaC projects (Terraform, CDK, SAM, CloudFormation) to LocalStack, validates declared resources against live state, and generates integration tests.
Ships in localstack. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Deploy the IaC, prove each declared resource exists with the configuration the code declares, then write and run integration tests until they pass or you can explain why they cannot.
Inputs to settle first (ask only for what you cannot infer):
auto unless statedgo testfull (default) or validate-onlylstk status. Start the emulator if it is not running; restart the existing one for a clean slate — run one emulator, never a second.auto: lstk deploy detect --dir <path> --unsupported reports the tool and any resources LocalStack or your license does not support. Otherwise: cdk.json → CDK, *.tf → Terraform, template.yaml + samconfig.toml → SAM, other templates → CloudFormation.Done when you have reported the framework, resource count, unsupported resources, and the graph. Ask before going further if the framework is ambiguous or the stack declares more than 50 resources.
localstack-deploy skill. lstk inspect enable first so the deploy's API calls are traced (localstack-app-inspector skill).localstack-logs skill), quote the real error, and stop with status deploy-blocked.lstk aws and compare live configuration to the declaration:| Resource | Probe | Compare |
|---|---|---|
| S3 bucket | s3api get-bucket-versioning, get-bucket-policy, get-bucket-encryption | versioning, policy, encryption |
| DynamoDB table | dynamodb describe-table | billing mode, key schema, GSIs, streams |
| Lambda | lambda get-function-configuration | runtime, memory, timeout, env vars, role |
| IAM role | iam get-role, list-attached-role-policies | trust policy, attachments |
| SQS queue | sqs get-queue-attributes --attribute-names All | DLQ, visibility timeout, FIFO |
| EventBridge rule | events describe-rule, list-targets-by-rule | pattern, targets |
| VPC / SG | ec2 describe-subnets, describe-security-groups | CIDRs, rules |
Done when every resource has a row:
| Resource | Type | Status | Evidence | Remediation |
|---|
Status: ✅ ready (exists, config matches) · ⚠️ partial (exists, a declared property differs) · ❌ failed (missing, or its create call errored) · ⛔ unsupported (service or feature unsupported on this tier). Stop here in validate-only mode.
tests/integration/. Bake in: endpoint http://localhost.localstack.cloud:4566, credentials test/test, region from the IaC or us-east-1, unique resource names per run, and cleanup.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub localstack/skills --plugin localstack12 skills in this plugin
/localstack-app-inspectorTrace requests through LocalStack with App Inspector. Use when users want to see how a request flowed across AWS services, inspect traces, spans, events, or payloads, debug event-driven or service-to-service flows, or explain an IAM denial, get LocalStack's suggested policy fix, or derive least-privilege policies from a run./localstack-replicatorCopy resources from a real AWS account into LocalStack with AWS Replicator. Use when a local stack depends on shared AWS resources that already exist (VPCs, SSM parameters, IAM roles, ECR repositories, secrets) and the user wants them replicated locally instead of re-creating them./localstack-azureRun the LocalStack Azure emulator and drive it with the Azure CLI. Use when users want to start LocalStack for Azure, run az commands locally (resource groups, storage, blobs, Bicep/ARM deployments), or set up lstk az.Other plugins' skills for the same job