a-pavithraa/aws-serverless-skill/aws-serverless

Claude Code and agent skill by a-pavithraa/aws-serverless-skill

Trust tier 3
  • community
Source check pending

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

Use when designing, debugging or reviewing Lambda, API Gateway, SQS, SNS, EventBridge or Step Functions code and configuration: cold starts and INIT billing, Lambda Layers, packaging and shared dependencies, deployment package size, concurrency, runtime choice, Powertools, logging and tracing, alarms, retries and DLQs, payload limits, or choosing HTTP API or REST API, Lambda or Step Functions, Lambda or ECS. Not for creating a new service from a template (creating-aws-projects).

Install

npx vskill@latest install a-pavithraa/aws-serverless-skill/aws-serverless

SKILL.md

AWS Serverless

Quick Reference

TopicReference FileKey Insight
Lambda internalsreferences/lambda-patterns.mdCold start happens per concurrent execution, not just once
Lambda Layersreferences/lambda-patterns.mdBinaries, custom runtimes and Powertools; NOT a package manager
Observabilityreferences/lambda-powertools.mdStructured JSON logs; choose tracing deliberately (X-Ray SDK is in maintenance)
Monitoring/alarmsreferences/monitoring.mdAlert on symptoms (errors, latency), not causes (CPU)
Event-drivenreferences/event-driven.mdSingle Lambda vs Step Functions decision; Standard/Express/Hybrid; Saga pattern
API Gatewayreferences/api-gateway.mdHTTP API ~70% cheaper; use REST API only for WAF/caching/usage plans

Critical Anti-Patterns

Lambda
  • Don't assume cold start is "just the first request" — it happens per concurrent execution
  • Don't use Lambda Layers as a package manager. When asked whether shared libraries belong in a layer, answer with three points:
  1. Layers are for binary dependencies (FFmpeg, ImageMagick), custom runtimes (LLRT, Bun) and AWS-provided layers (Powertools). Ordinary pip or npm libraries such as requests or pydantic are not layer candidates. Each function bundles what it imports, from a lockfile.
  2. A layer has costs. It adds a mount and initialization step to every cold start, and INIT is billed since August 2025. It also breaks local development, hides the libraries from vulnerability scanners that read the function package, has no semantic versioning, and counts toward the limit of 5 layers per function.
  3. Shared code is not a size problem. If a package is too large, bundle and tree-shake it, or use a container image. Don't move libraries into a layer to make it smaller.
  • Don't call Lambda synchronously from Lambda — use SQS, SNS, or Step Functions
  • Don't set user-facing API timeout to 30s ; use async for long operations
Observability
  • Don't log unstructured text: set logging_config { log_format = "JSON" } and use the language's logger, or Powertools Logger. Set the log level in one place, not in both
  • Don't add the X-Ray SDK or Powertools Tracer to new functions by default: it is in maintenance mode. Use active tracing, or a tested OpenTelemetry layer
  • Don't call CloudWatch API synchronously for metrics — use Powertools Metrics (EMF format)
  • Don't alert on resource utilization (CPU, memory) — alert on user-impacting symptoms
Event-Driven
  • Don't set SQS visibility timeout shorter than Lambda timeout — set it to 6× Lambda timeout
  • Don't omit a DLQ — always pair queues with a DLQ and alarm on it
  • Don't use Lambda to transport data between services — use direct integrations; reserve Lambda for transforming data
"Use Lambda to transform data, not to transport data between services." — Jérôme Van Der Linden

Decision Frameworks

Lambda vs Step Functions
Use Lambda WhenUse Step Functions When
Single operation < 15 minsWorkflow with multiple steps
Simple request-responseNeed retry/error handling per step
Stateless processingLong-running or human-in-loop
Visual workflow debugging needed
Lambda vs ECS
Use Lambda WhenUse ECS When
Execution < 15 minutesLong-running processes
Bursty, unpredictable trafficSteady, high-volume traffic
Cold start acceptableSub-100ms latency required
Pay-per-invocation preferredNeed GPU or special hardware

Cost questions

For prices, use the AWS Pricing MCP server (awslabs.aws-pricing-mcp-server). Its README has the setup. Prices in this skill are dated examples, not quotes.


Version Matrix

FeatureAWS GASupported Runtimes
SnapStartNov 2021 (Java); Oct 2024 (Python, .NET)Java 11+, Python 3.12+, .NET 8+ — not Node, Ruby, or container images

Reference Loading Strategy

Load references based on what the user is asking:

  1. Cold starts, memory tuning, concurrency, Layers → references/lambda-patterns.md
  2. Logging, tracing, metrics, Powertools setup → references/lambda-powertools.md
  3. CloudWatch alarms, dashboards, alerting strategy → references/monitoring.md
  4. SQS, SNS, EventBridge, Step Functions, Saga → references/event-driven.md
  5. API Gateway (HTTP vs REST, going-live checklist, WAF, X-Ray, security) → references/api-gateway.md

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

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

Source

Popularity

Repository stars
7
7-day trend score
10

Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 1 May 2026, 7 months ago.

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/a-pavithraa/aws-serverless-skill/aws-serverless/badge)](https://verified-skill.com/skills/a-pavithraa/aws-serverless-skill/aws-serverless)

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