aws-samples/serverless-samples/sam-deploy

Claude Code and agent skill by aws-samples/serverless-samples

Trust tier 2
  • community
  • ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Install

npx vskill@latest install aws-samples/serverless-samples/sam-deploy

Semi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard

SKILL.md

The same SKILL.md was published earlier as aws-samples/serverless-samples/sam-deploy.

SAM Deploy

Deploys the SAM application to AWS. Runs build, validation, and deploy steps in sequence.

Steps

  1. Validate the template

``bash sam validate --lint `` Fix any validation errors before proceeding.

  1. Build the application

``bash sam build ` If the build fails due to Python version mismatch, retry with: `bash sam build --use-container ``

  1. Check for YAML issues

Verify no duplicate keys were introduced by automated edits: ``bash python3 -c "import yaml; yaml.safe_load(open('template.yaml'))" ``

  1. Deploy

For standard (non-production) deploys: ``bash sam deploy ` This uses settings from samconfig.toml. Ensure confirm_changeset = false` for automated deploys.

For first-time or guided deploys: ``bash sam deploy --guided ``

  1. Verify deployment

Check the CloudFormation stack status: ``bash aws cloudformation describe-stacks --stack-name <STACK_NAME> --query 'Stacks[0].StackStatus' ``

Troubleshooting

  • First deploy KMS/CreateGrant failure: Delete the failed stack with sam delete and redeploy.
  • Multiple GSI changes: CloudFormation only supports adding/removing one GSI per update. Delete and redeploy if multiple GSI changes are needed.
  • Build errors: Check that the Python version on PATH matches the runtime specified in template.yaml.

Post-Deploy

  • Run seed scripts if this is a fresh deployment: bash scripts/seed.sh (if present).
  • Check CloudWatch Logs for any startup errors in the deployed functions.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
345
Repository forks
145
7-day trend score
29

Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 18 Jun 2026, 5 months ago.

Extension points

  • hookPre/post lifecycle hooks

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/aws-samples/serverless-samples/sam-deploy/badge)](https://verified-skill.com/skills/aws-samples/serverless-samples/sam-deploy)

Something wrong with this skill or its page? Tell us.