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
Provides final code cleanup after task review approval. Removes debug logs, temporary comments, dead code, optimizes imports, and improves readability. Use when asked to clean up code, polish, finalize, tidy up, remove technical debt, or prepare code for completion after review. Not for refactoring logic or fixing bugs—focused solely on cosmetic and hygiene cleanup.
tools
Ralph Wiggum-inspired automation loop for specification-driven development. Orchestrates task implementation, review, cleanup, and synchronization using a Python script. Use when: user runs /loop command, user asks to automate task implementation, user wants to iterate through spec tasks step-by-step, or user wants to run development workflow automation with context window management. One step per invocation. State machine: init → choose_task → implementation → review → fix → cleanup → sync → update_done. Supports --from-task and --to-task for task range filtering. State persisted in fix_plan.json.
testing
Creates, updates, validates, and displays the architectural DNA of a project through two shared documents: docs/specs/architecture.md (technology stack, architectural rules, security constraints, AI guardrails) and docs/specs/ontology.md (domain glossary / Ubiquitous Language). Use BEFORE brainstorm as a project setup step, or at any point in the SDD lifecycle to validate specs/tasks against architecture principles. Triggers on 'create constitution', 'update constitution', 'constitution check', 'validate against constitution', 'project principles', 'architectural guardrails', 'setup project architecture', 'define ontology'.
tools
Provides Qwen Coder CLI delegation workflows for coding tasks using Qwen2.5-Coder and QwQ models, including English prompt formulation, execution flags, and safe result handling. Use when the user explicitly asks to use Qwen for tasks such as code generation, refactoring, debugging, or architectural analysis. Triggers on "use qwen", "use qwen coder", "delegate to qwen", "ask qwen", "second opinion from qwen", "qwen opinion", "continue with qwen", "qwen session".