Claude Skill MartBrowse skillsQuick linesLearn by videoTerminal guideWhat is a Skill?
← Back to list

AWS API Gateway Playbook

A hands-on skill for creating, securing, deploying, and debugging AWS API Gateway REST/HTTP/WebSocket APIs with CLI and SAM examples.

Web & APIIntermediate★ 1,158⑂ 443AI score 8/10Last updated: Sep 21, 2026

What it does

  • Explains the differences between HTTP APIs, REST APIs, and WebSocket APIs, plus which integration type to pick.
  • Gives end-to-end aws apigateway / aws apigatewayv2 command sequences for creating APIs, resources, methods, Lambda proxy integrations, and stage deployments.
  • Covers CORS configuration, Cognito-backed JWT authorizers, and best practices for security, performance, and reliability (throttling, caching, WAF, access logs).
  • Provides a troubleshooting matrix for 403, 502, 504, and CORS failures, including the correct Lambda response shape.

Who it's for

  • Backend and full-stack developers shipping serverless APIs on Lambda + API Gateway.
  • DevOps engineers managing API infrastructure through AWS CLI or SAM templates.
  • On-call engineers who need to localize API errors quickly.

Example uses

  1. "Create an HTTP API fronting my Lambda and deploy it to prod" → generates commands from create-api through create-deployment, plus a SAM template alternative.
  2. "Enable CORS for https://example.com" → update-api for HTTP APIs, or OPTIONS + MOCK integration wiring for REST APIs.
  3. "My API returns 502 Bad Gateway" → checks the Lambda response format and integration timeout as the likely causes.

· · · Install guide · · ·

Try it now, no install

Paste this into Claude to use the skill without installing anything.

Read the instructions in this file and follow them to help me:
https://raw.githubusercontent.com/itsmostafa/aws-agent-skills/HEAD/skills/api-gateway/SKILL.md

What I want: (describe your task here)

If Claude can't open the link, open it yourself and paste the contents instead.

↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.

Install in the Claude app (no terminal)
  1. Download the ZIP with the button below.
  2. In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
  3. Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
↓ Download ZIP
Install in Claude Code

Let Claude do it — paste this into Claude Code

Install the skill I found on Claude Skill Mart.
Copy the skills/api-gateway folder from the GitHub repo itsmostafa/aws-agent-skills into my ~/.claude/skills/api-gateway/.
When it's done, tell me in one line what this skill can do.

Install with a command instead

git clone https://github.com/itsmostafa/aws-agent-skills.git /tmp/aws-agent-skills && mkdir -p ~/.claude/skills && cp -r /tmp/aws-agent-skills/skills/api-gateway ~/.claude/skills/

⚠ This is a third-party skill. Check the source repository before installing.

  1. Open a terminal and confirm Git is installed with git --version.
  2. Clone the repository: git clone https://github.com/itsmostafa/aws-agent-skills.git
  3. Create the skills directory: mkdir -p ~/.claude/skills
  4. Copy just this skill: cp -r aws-agent-skills/skills/api-gateway ~/.claude/skills/
  5. Make sure the AWS CLI is available (aws --version) and run aws configure to set credentials and a default region.
  6. Restart Claude Code and try a prompt like "Set up an API Gateway HTTP API for my Lambda function" to trigger the skill.