Install any skill in seconds. Free to start, no credit card required.
Get Started Free →AWS SAM and CDK guidance for scaffolding, templating, deploying, and CI/CD of serverless applications on AWS.
Use this skill ↓78% 83%+4 ptsof test cases passed
Passed 19 of 23 test cases with the skill, and 18 of 23 without it.
3 of 3 safety checks passed
Not used yet
Choose the right template based on your use case:
| Template | Best For |
|---|---|
hello-world | Basic Lambda function with API Gateway |
quick-start-web | Web application with frontend and backend |
quick-start-cloudformation | Infrastructure-focused templates |
quick-start-scratch | Minimal template for custom builds |
Use get_serverless_templates to browse additional templates from Serverless Land for specific patterns (e.g., API + DynamoDB, step functions, event processing).
Choose arm64 (Graviton) for better price-performance unless you have x86-specific dependencies.
my-serverless-app/
├── template.yaml # SAM template
├── samconfig.toml # Deployment configuration
├── src/ # Function source code
│ ├── handlers/ # Lambda function handlers
│ ├── layers/ # Shared layers
│ └── utils/ # Utility functions
├── events/ # Test event files
└── tests/ # Unit and integration tests
Testability tip: Extract pure business logic (calculations, validations, decisions) into plain functions that don't import the AWS SDK. This lets you unit test core logic without mocking — reserve mocks for the handler-level tests that exercise SDK calls.
Set global defaults in template.yaml to apply to all functions:
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.