plugins/developer-kit-aws/skills/aws/aws-sam-bootstrap/SKILL.md
Provides 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.
npx skillsauth add giuseppe-trisciuoglio/developer-kit aws-sam-bootstrapInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Generates SAM project artifacts for greenfield and migration scenarios. Creates the minimum required files (template.yaml, samconfig.toml, events/), validates with sam build, and configures sam deploy workflows following AWS SAM conventions.
sam init, sam deploy)sam init, sam build, sam local invoke, sam deploy)template.yaml or samconfig.toml for serverless deploymentssam local invoke for Lambda functionssam init to scaffold.template.yaml manually.Use current non-deprecated runtimes. Package type: Zip (default) or Image (container/native deps).
sam init
sam build
sam local invoke <LogicalFunctionId> -e events/event.json
sam deploy --guided
template.yaml with Transform: AWS::Serverless-2016-10-31AWS::Serverless::Function and related SAM resourcessamconfig.toml with deploy defaults and environment overridesevents/event.json payload samples for local invocationsam validate and sam build before deploy.
├── template.yaml
├── samconfig.toml
└── events/
└── event.json
See reference templates: examples.md, migration-checklist.md
sam validate succeedssam build succeedstemplate.yaml has correct logical IDs and handlerssamconfig.toml contains deploy parameters for target environmentssam init # Interactive scaffold
sam build
sam local invoke HelloFunction -e events/event.json
sam deploy --guided
template.yaml with SAM transformsamconfig.toml with stack_name, capabilities, resolve_s3events/event.json → validate with sam buildFull templates in references/examples.md.
samconfig.toml committed for deterministic deployments[default], [prod]) instead of CLI flagsCAPABILITY_IAM is required when IAM resources are createdsam deploy --guided writes local configuration; review before committingdevelopment
Explore codebase before committing to a change. Phase executor skill for specs.explore command.
development
Executes real end-to-end verification against a running application after specification implementation. Detects the application type, starts the local runtime (Docker, Node, Spring Boot, etc.), runs real tests (curl for REST APIs, Playwright for web SPAs, computer-use for desktop apps), verifies acceptance criteria from the functional specification, generates a markdown report, and tears down the environment. Use when: user asks to verify a completed spec with real tests, run e2e checks after implementation, validate acceptance criteria in a live environment, or test the feature for real after task completion.
development
Initialize Spec-Driven Development context — detects tech stack, conventions, architecture patterns, and bootstraps persistence backends. Triggers on 'sdd-init', 'init sdd', 'setup sdd', 'initialize sdd', 'setup project', 'initialize project context'. Creates/updates docs/specs/architecture.md & ontology.md (Constitution), and populates knowledge-graph.json.
development
Optimizes raw idea descriptions into structured prompts ready for the brainstorming workflow. TRIGGER when: user says "optimize for brainstorm", "prepare idea for brainstorm", "enhance this idea", "make this ready for brainstorming", "imposta per brainstorm", or wants to improve a feature idea before using /specs.brainstorm. DO NOT TRIGGER for code optimization, refactoring, or general prompt engineering tasks.