Use when deploying or debugging Go-based AWS Lambda packaging, bootstrap, runtime, or handler issues — not when the main failure is SAM stack wiring, IAM OIDC auth, or a generic GitHub Actions run failure.
How this skill is triggered — by the user, by Claude, or both
Slash command
/aws-lambda-go-deployment:aws-lambda-go-deploymentThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Use this skill when a Go Lambda fails because the binary, runtime, package layout, or event wiring is wrong and you need the smallest deployment-focused fix before widening into SAM, IAM, or CI triage.
Use this skill when a Go Lambda fails because the binary, runtime, package layout, or event wiring is wrong and you need the smallest deployment-focused fix before widening into SAM, IAM, or CI triage.
sam build or a manual zip step is producing the wrong binary layout for a Go function.bootstrap, uses the wrong handler name, or was built for macOS instead of Linux.AccessDenied on sts:AssumeRole or sts:AssumeRoleWithWebIdentity.| Situation | Use this skill? | Route instead |
|---|---|---|
| Go Lambda packaging, runtime, bootstrap, or handler problems | Yes | - |
| SAM template YAML, CloudFormation stack rollback, or IAM resource wiring | No | sam-cloudformation |
| Deploy workflow fails on AssumeRole or OIDC auth | No | iam-oidc-triage |
| Go code does not compile before packaging | No | go-build-and-test |
| CI workflow structure or runner behavior is failing | No | github-actions-failure-triage |
Required before editing
amd64 or arm64) and whether the function runs on Graviton.sam build, Makefile, or manual go build plus zip.Helpful if present
sam build output or Docker build logs.bootstrap, handler path, zip contents).INIT_START and START.Only investigate if encountered
sam build --use-container or an equivalent Linux build path before trusting a local macOS binary.provided.al2 or provided.al2023, not deprecated go1.x.sam build --use-container for reproducible Linux builds, or manually cross-compile with GOOS=linux and GOARCH=amd64 (or arm64 on Graviton).bootstrapHandler values must match the deployed executable path when that path is used instead of bootstrap.aws-sam output before redeploying so you know whether the executable, permissions, and path are correct.INIT_START and START before assuming an application-code bug.sam-cloudformation, iam-oidc-triage, go-build-and-test, or github-actions-failure-triage when this skill is not the right owner.go1.x as the target runtime for new or repaired Go Lambda deployments.provided.al2 or provided.al2023 and the target architecture matches the deployed function.bootstrap or the configured handler path).INIT_START and START to confirm whether the runtime got far enough to execute code.iam-oidc-triage)bootstrap."references/packaging-checklist.md - quick checks for Linux cross-compilation, runtime choice, artifact naming, and route-away cues.Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub matt-riley/lucky-hat --plugin aws-lambda-go-deployment