giuseppe-trisciuoglio/developer-kit / plugins/developer-kit-aws/skills/aws/aws-sam-bootstrap
aws-sam-bootstrap
VerifiedProvides AWS SAM bootstrap patterns: generates `template.yaml` and `samconfig.toml` for new projects via `sam init`, creates SAM templates for existing Lambda/CloudFormation code migration, validates build/package/deploy workflows, and configures local testing with `sam local invoke`. Use when the user asks about SAM projects, `sam init`, `sam deploy`, serverless deployments, or needs to bootstrap/migrate Lambda functions with SAM templates.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 3.8 KB |
| references/examples.md | markdown | 2.6 KB |
| references/migration-checklist.md | markdown | 1.3 KB |
references/migration-checklist.md
View on GitHub# AWS SAM Migration Checklist
Use this checklist when converting an existing Lambda or CloudFormation project to AWS SAM.
## Discovery
- Identify runtime, handler, and entrypoint per Lambda function
- Identify current deployment method (manual zip, CloudFormation, CI pipeline)
- Identify IAM roles/policies currently required
- Identify triggers (API Gateway, EventBridge, SQS, SNS, S3)
## Template Conversion
- Add `Transform: AWS::Serverless-2016-10-31`
- Convert function resources to `AWS::Serverless::Function` where possible
- Preserve environment variables and timeout/memory settings
- Preserve permissions and event source mappings
- Keep logical IDs stable when possible to reduce replacement risk
## Configuration
- Create `samconfig.toml` with `default` deploy parameters
- Add optional `prod` section for production deployments
- Set `capabilities = "CAPABILITY_IAM"` when needed
- Set `resolve_s3 = true` to simplify packaging
## Local Testing
- Create representative payloads under `events/`
- Run `sam validate`
- Run `sam build`
- Run `sam local invoke <FunctionLogicalId> -e events/event.json`
## Deployment
- First deploy with `sam deploy --guided`
- Review generated changeset before execution
- Validate stack outputs and function runtime behavior
- Capture follow-up changes in a separate PR if broader infra refactoring is needed
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the work | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixes | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation code | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| skill-creatoranthropics/skillsCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |