Agent skill · DevOps & Cloud

api-gateway

Build, manage, and operate APIs with Amazon API Gateway (REST, HTTP, and WebSocket). Triggers on phrases like: API Gateway, REST API, HTTP API, WebSocket API, custom domain, Lambda authorizer, usage plan, throttling, CORS, VPC link, private API. Also covers troubleshooting API Gateway errors (4xx, 5xx, timeout, CORS failures) and IaC templates containing API Gateway resources. For general REST API design unrelated to AWS, do not trigger.

Amazon Web Services - Labs12,649★ · +18/wk · 2 repos on radarProfile →
claude-codeApache-2.0
Install
npx skills add awslabs/agent-plugins --skill api-gateway --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 19
SKILL.md size: 19 KB
Bundled scripts: none
Path: plugins/aws-serverless/skills/api-gateway/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 850
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

Review
written from the skill's own SKILL.md · Aug 5, 2026

What it does

Guides how to build, manage, govern, and operate APIs using Amazon API Gateway across REST (v1), HTTP (v2), and WebSocket APIs, including design decisions, deployment patterns, and observability considerations. It specifically covers troubleshooting API Gateway errors (4xx, 5xx, timeout, CORS failures) and IaC templates containing API Gateway resources. It instructs on when to trigger for AWS-based REST, HTTP, or WebSocket APIs and when not to trigger for general REST API design unrelated to AWS.

How it works

  • Provides a quick decision framework to choose between REST API, HTTP API, and WebSocket API based on governance, features, and latency trade-offs.
  • Recommends steps to design an API: determine API type, endpoint type, topology, and authentication using referenced materials.
  • Guides implementation with IaC: consults SAM/CloudFormation references to produce complete, working templates for REST/HTTP/WebSocket resources.
  • Outlines performance and scaling considerations: throttling, caching, edge caching, and scaling behavior.
  • Establishes observability practices: enable access and execution logging where supported, and use observability references for metrics and tracing.
  • Recommends deployment patterns: canary, blue/green, and routing rules using custom domains.
  • Includes troubleshooting quick reference for common API Gateway errors with concrete quick fixes.

When to use it

Use when designing or operating APIs with Amazon API Gateway (REST, HTTP, WebSocket), especially when decisions involve API type, deployment strategies, security, integrations, and observability. Also applicable when addressing troubleshooting of typical gateway errors and when constructing IaC templates for API Gateway resources.

What it can touch

  • Tools: claude-code
  • References and templates: SAM/CloudFormation templates, IaC patterns, and service integration references as cited in the guidance.

Caveats

  • Focuses on AWS API Gateway features and configurations; does not apply to general REST API design unrelated to AWS.
  • Execution logging availability varies by API type (HTTP API does not support execution logging).
  • Requires consulting referenced materials for complete, working IaC YAML and deployment patterns.
From the SKILL.md

# Amazon API Gateway Development Expert guidance for building, managing, governing, and operating APIs with Amazon API Gateway. Covers REST APIs (v1), HTTP APIs (v2), and WebSocket APIs. ## How to Use This Skill When answering API Gateway questions: 1. Read the relevant reference file(s) before responding, do not rely solely on this summary 2. For tasks spanning multiple concerns (e.g., "private API with mTLS and custom domain"), read all relevant references 3. When the user needs IaC templates, consult `references/sam-cloudformation.md` or `references/sam-service-integrations.md` and provide complete, working SAM/CloudFormation YAML 4. Always mention relevant pitfalls and limits that affect the user's design ## Quick Decision: Which API Type? Choose the right API type first. This decision affects every downstream choice. **REST API** is the full-featured API management platform for enterprises. It provides the governance, security, monetization, and operational controls that organizations need to build, publish, and manage APIs at scale, including usage plans with per-consumer throttling and quotas, API keys, request validation, WAF integration, resource policies, caching, canary

What's inside
Steps it walks through
  1. How to Use This Skill
  2. Quick Decision: Which API Type?
  3. Instructions
  4. Step 1: Design the API
  5. Step 2: Implement the API
  6. Step 3: Configure Performance and Scaling
  7. Step 4: Set Up Observability
  8. Step 5: Deploy
  9. Step 6: Apply Governance
  10. Response Format
  11. Troubleshooting Quick Reference
  12. Critical Pitfalls
  13. IaC Framework Selection
  14. Error Scenarios
Ships with 18 files
  • references/architecture-patterns.md
  • references/authentication.md
  • references/custom-domains-routing.md
  • references/deployment.md
  • references/governance.md
  • references/observability-analytics.md
  • references/observability-logging.md
  • references/observability-metrics-alarms.md
  • references/performance-scaling.md
  • references/pitfalls.md
  • references/requirements-gathering.md
  • references/sam-cloudformation.md
  • references/sam-service-integrations.md
  • references/security.md
  • references/service-integrations.md
  • references/service-limits.md
  • references/troubleshooting.md
  • references/websocket.md
More from agent-plugins
All skills →
About this skill
What does the api-gateway skill do?

Build, manage, and operate APIs with Amazon API Gateway (REST, HTTP, and WebSocket). Triggers on phrases like: API Gateway, REST API, HTTP API, WebSocket API, custom domain, Lambda authorizer, usage plan, throttling, CORS, VPC link, private API. Also covers troubleshooting API Gateway errors (4xx, 5xx, timeout, CORS failures) and IaC templates containing API Gateway resources. For general REST API design unrelated to AWS, do not trigger.

How do I install it?

Run `npx skills add awslabs/agent-plugins --skill api-gateway --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From awslabs/agent-plugins, a repository with 850 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going