SkillsReviewed · itsmostafa

AWS API Gateway Agent Skill

This AWS API Gateway skill gives developers using AI assistants reusable instructions, but its examples need additional configuration and independent verification. It covers HTTP and REST APIs, Lambda and direct AWS service integrations, authorization, monitoring and deployment.

Researched 15 Nov 2026

In short.

This AWS API Gateway skill is an instruction pack for developers using AI assistants, but its snippets require additional setup before they form a complete deployment. Its two Markdown files combine introductory concepts with CLI, SAM and Python examples for API integrations, security, traffic controls and monitoring. Several examples omit connections between configuration steps, including attaching authorizers and configuring Lambda invocation permissions. Execution, current AWS compatibility and actual costs have not been assessed.

Researched and written by an AI model and checked by a second AI model. How it works

Coverage is limited to skills/api-gateway/SKILL.md and skills/api-gateway/integration-patterns.md at revision 3ee171adbe5ce02086fec9fde0b437a30958f34f, plus the repository-root MIT LICENSE outside that folder. The supplied manifest identifies these as the complete folder contents and related notice. Other repository folders, external documentation and later revisions are excluded. No installation, command execution, cloud deployment, API request, security test or performance measurement was performed; operational correctness, host compatibility and actual costs remain unverified.

The overview

Identity

The resource is the skills/api-gateway folder in itsmostafa/aws-agent-skills. It contains SKILL.md, which declares the skill name api-gateway and describes when an assistant should use it, plus integration-patterns.md for more detailed configurations. The original folder address is [https://github.com/itsmostafa/aws-agent-skills/tree/main/skills/api-gateway].

It supplies readable instructions and implementation examples. The captured folder does not include an assistant runtime, an installer or a deployed API.

Assessment

The pack is useful as a compact reference for developers who understand AWS account configuration and want an assistant to work from concrete API Gateway patterns. Its main strength is the range of examples across API creation, backend connections and operational settings.

It is less suitable as a beginner's complete deployment tutorial. Resource identifiers are placeholders, some security steps are disconnected from the APIs they should protect, and the files provide no demonstrated deployment or request results.

Users

Backend developers and cloud engineers can use the pack when creating Lambda-backed endpoints, connecting APIs directly to AWS services, configuring authorization or investigating API errors. Developers maintaining existing REST APIs may find the caching, usage-plan, logging and canary examples especially relevant.

Beginners get definitions of resources, methods, integrations and stages. They will still need help with credentials, IAM permissions, deployment tooling and the differences between HTTP and REST API configuration.

Capabilities

SKILL.md covers HTTP and REST API creation, Lambda proxy integrations, a Python request handler, CORS configuration, JWT authorizer creation and troubleshooting for 403, 502, 504 and CORS errors. WebSocket APIs appear in the introductory comparison, but neither file provides a WebSocket implementation.

The companion file adds Lambda request and response transformations, direct DynamoDB, SQS and Step Functions integrations, HTTP proxying and a VPC Link example targeting a network load balancer.

It also supplies examples for request validation, Cognito and Lambda authorizers, usage plans, API keys, throttling, REST API caching, access and execution logging, and canary traffic configuration. These are documented patterns; successful operation is unverified.

Using it

Requirements

Using the files as assistant instructions requires a host that can consume Markdown skills. Supported assistants, installation locations and host versions are not specified.

Applying the CLI examples requires an AWS CLI environment, credentials with appropriate permissions, a target region and the backend resources referenced by each pattern. SAM examples need compatible deployment tooling. One template specifies Python 3.12, while supported AWS CLI and SAM versions and complete IAM policies are unknown.

Mechanism

The skill provides context for an assistant through a task-oriented description, conceptual explanations and reusable command or configuration examples. The description names API creation, integrations, authorization, stages, rate limiting and troubleshooting as relevant tasks. Automatic discovery and loading behavior depend on the assistant host and are undocumented.

The implementation examples use AWS CLI operations, SAM resource definitions, Python handlers and JSON integration settings. Execution permissions, approval controls and credential handling are outside the supplied skill's documented mechanism.

Setup

For reuse, retain SKILL.md and integration-patterns.md together with the MIT notice, then follow your assistant host's own skill-loading instructions. The files do not establish a universal installation command or confirm that a host automatically loads the companion document.

Before applying a pattern, replace sample account numbers, regions, resource IDs, ARNs and endpoint addresses. Supply the required backend resources and permissions. The Lambda integration walkthroughs do not show invocation-permission configuration, and creating an authorizer is shown separately from attaching it to a route or method.

Example

For an existing Lambda function, SKILL.md shows this starting command: aws apigatewayv2 create-api --name my-api --protocol-type HTTP --target arn:aws:lambda:us-east-1:123456789012:function:MyFunction. The ARN is a placeholder that must identify your function.

The next documented operation retrieves ApiEndpoint using aws apigatewayv2 get-api. Its sample API ID must be replaced with the created API's ID. This illustrates API creation and endpoint lookup; the supplied example does not demonstrate authorization attachment, invocation-permission setup or a successful HTTP request.

Assessment & evidence

Limitations

Several snippets are incomplete building blocks. The REST walkthrough creates a method with authorization-type NONE and then deploys it. Authorizer examples do not show attachment to protected methods or routes. The Lambda authorizer calls is_valid_token and get_user_id without implementing them. The usage-plan example does not show enabling an API-key requirement on a method.

The cache-key example marks a query parameter as required but does not explicitly configure it as an integration cache key. The fixed timeout maxima stated in the troubleshooting guidance have not been verified for current AWS behavior or particular API configurations.

Execution logging enables data tracing, and one troubleshooting command requests the full API-key value. These settings deserve deliberate handling because they can place sensitive information in logs or command output.

Reasoning

The examples help distinguish implementation choices. Lambda proxy integration passes request information to a handler, while custom integration examples transform requests and responses with mapping templates. Direct-service examples use role ARNs to connect API Gateway to DynamoDB, SQS or Step Functions.

For a request that fits one of those direct-service patterns, avoiding a separate Lambda handler is a plausible architectural option. That is an inference from the configurations, not evidence of lower cost or better performance. The pack supports choosing a starting pattern more strongly than it supports predicting production outcomes.

Alternatives

The skill links to AWS's API Gateway Developer Guide [https://docs.aws.amazon.com/apigateway/latest/developerguide/], REST API Reference [https://docs.aws.amazon.com/apigateway/latest/api/] and CLI Reference [https://docs.aws.amazon.com/cli/latest/reference/apigateway/]. These provide direct reference routes for concepts, API operations and command options; their current contents are not established by the captured files.

For Python SDK work, it also links to the boto3 API Gateway reference [https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/apigateway.html]. No comparison with other assistant skills or API management products is supplied.

Evidence

The source snapshot is pinned to revision 3ee171adbe5ce02086fec9fde0b437a30958f34f. The original skill document is available at [https://raw.githubusercontent.com/itsmostafa/aws-agent-skills/3ee171adbe5ce02086fec9fde0b437a30958f34f/skills/api-gateway/SKILL.md], and its companion is at [https://raw.githubusercontent.com/itsmostafa/aws-agent-skills/3ee171adbe5ce02086fec9fde0b437a30958f34f/skills/api-gateway/integration-patterns.md].

The evidence consists of documentation and embedded examples, accompanied by the root licence. It contains no execution receipts, deployment results, benchmark measurements or completed security assessment. No commands or code were executed.

Access & freshness

Costs

Actual AWS deployment costs and any assistant or model charges are unknown. The files provide no regional price schedule, workload assumptions or worked bill. The MIT licence grants reuse rights but does not supply pricing for AWS services.

The guide claims a percentage saving for HTTP APIs over REST APIs without a supporting calculation, workload or pricing date. That claim is insufficient for budgeting. An estimate would need to account for the chosen API, backend services, logging, caching and traffic.

Rights

The repository-root LICENSE supplies the MIT licence. It permits use, copying, modification, distribution, sublicensing and sale, provided the copyright and permission notices remain with copies or substantial portions. It disclaims warranties and liability.

The captured notice supports redistribution of the skill documents with those notices preserved. Its original address is [https://raw.githubusercontent.com/itsmostafa/aws-agent-skills/3ee171adbe5ce02086fec9fde0b437a30958f34f/LICENSE].

Freshness

SKILL.md declares last_updated as 2026-01-07. The supplied snapshot was captured on 2026-11-15 at revision 3ee171adbe5ce02086fec9fde0b437a30958f34f. The companion document has no explicit update date in its supplied text.

These dates identify the documented snapshot; they do not establish current AWS compatibility. Changes on the repository's main branch after this revision, current service limits and present pricing are unknown.

Actions

Choose the HTTP or REST pattern that matches your requirements, then verify its current limits and options against AWS documentation. Complete resource identifiers, IAM and Lambda permissions, authorizer attachment and any API-key enforcement before treating an example as a deployment plan.

For an initial deployment, use an isolated development environment and verify an actual request, expected authorization failures, backend behavior, log contents and resulting charges. Review data tracing and secret-revealing troubleshooting commands before use. Those outcomes remain unverified for this resource.

Evidence for this report

LICENSEnotice · checked 2026-11-15
skills/api-gateway/SKILL.mdselected · checked 2026-11-15
skills/api-gateway/integration-patterns.mdselected · checked 2026-11-15