CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

api-gateway-backend-security-and-rate-limiting

Secures and rate limits backend services behind Google Cloud API Gateway across OpenAPI 2.0 and OpenAPI 3.0.x API configurations, including MCP-enabled gateways. Use when configuring API key or JWT authentication, locking down Cloud Run or Cloud Run functions backends with a gateway service account, reading authenticated claims from X-Apigateway-Api-Userinfo, setting per-project request quotas, or diagnosing HTTP 429 and HTTP 500 Service Control Quota errors. Do not use for Apigee, GKE Gateway API, Cloud Load Balancing custom domain setup, or LLM model routing.

77

Quality

97%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Passed

No findings from the security scan

SKILL.md
Quality
Evals
Security

Quality

Content

92%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

Strong operational skill body: a decision matrix, a validated zero-downtime workflow with exit-code feedback loops, and a pre-deployment checklist, all backed by real one-level-deep reference files and an executable validation script. The only weakness is minor redundancy around the quota-overwrite warning and approval requests.

Suggestions

Consolidate the quota-overwrite hazard, currently stated in the Decision Matrix rationale, Workflow Step 3, and the Pre-Deployment Checklist, into one authoritative statement plus a single checklist cross-reference.

Move Step 3's exit-code edge-case handling (exit code 2 remediation, `skipped_configs` guidance) into the script's `--help` output or a short reference section to slim the longest bullet.

DimensionReasoningScore

Conciseness

Efficient overall — no concept tutorials Claude already knows, and sections are dense with constraints and commands. Falls short of the 5 anchor because the quota-overwrite hazard is stated three times (Decision Matrix rationale, Step 3's "immediately replaces quota definitions across all gateways", and the checklist) and "request human approval" recurs four times; Step 3's exit-code edge-case prose could be tightened.

4 / 5

Actionability

Fully executable guidance: the `gcloud services enable` block, both `check_quota_metrics.py` invocations with exact flags, the cleanup command block, exact IAM role names, and concrete verification outcomes ("direct calls ... return `403`, unauthenticated calls to the gateway `defaultHostname` return `401`, and authenticated calls return `200`"). Delegated detail is pinpointed ("Follow Steps 4–5 of [Backend Security]"), leaving no gaps.

5 / 5

Workflow Clarity

The Execution Workflow is a clearly sequenced zero-downtime loop with explicit validation ("re-run the script until it exits with code `0`"), exit-code-specific remediation for codes 1 and 2, ordering constraints (roll out config "BEFORE setting `--no-allow-unauthenticated` ... to avoid `403` downtime"), and a Pre-Deployment Checklist. The batch/destructive quota operation carries full validation and feedback, so no cap applies.

5 / 5

Progressive Disclosure

The body is a navigable overview; the Decision Matrix maps each goal to a named reference file, all of which exist (attribution.md, client-authentication.md, backend-security.md, quotas-and-rate-limiting.md, mcp-traffic-security.md) alongside scripts/check_quota_metrics.py. Bulk detail (OpenAPI templates, provider tables) is split out one level deep with clear signaling, matching the 5 anchor.

5 / 5

Total

19

/

20

Passed

Description

100%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

Excellent description: concrete, comprehensive capability list, explicit use/disuse triggers with natural keywords and error codes, and active disambiguation from adjacent products. Third-person voice throughout with no fluff or over-claims.

DimensionReasoningScore

Specificity

Lists multiple concrete actions — "configuring API key or JWT authentication", "locking down Cloud Run or Cloud Run functions backends with a gateway service account", "reading authenticated claims from X-Apigateway-Api-Userinfo", "setting per-project request quotas", "diagnosing HTTP 429 and HTTP 500 Service Control Quota errors" — with no vague filler. This matches the 5 anchor (multiple specific concrete actions, comprehensive) rather than 4, since no capability area is left as a generic category.

5 / 5

Completeness

Explicitly answers both: the opening sentence states what it does ("Secures and rate limits backend services behind Google Cloud API Gateway across OpenAPI 2.0 and OpenAPI 3.0.x"), and "Use when configuring..." gives concrete trigger phrases. Matches the 5 anchor; the 'when' clause is fully explicit with concrete triggers, not just present.

5 / 5

Trigger Term Quality

Covers the natural terms a user would say: "API key", "JWT authentication", "rate limits"/"request quotas" (synonyms), "HTTP 429"/"HTTP 500" (errors users paste verbatim), "Cloud Run", and the product name "API Gateway". Anchor 4 would require missing natural terms, and none are apparent for this domain.

5 / 5

Distinctiveness Conflict Risk

Clear niche (Google Cloud API Gateway security/quotas) with active disambiguation: "Do not use for Apigee, GKE Gateway API, Cloud Load Balancing custom domain setup, or LLM model routing." Overlap risk with adjacent Google Cloud products is explicitly mitigated, matching the 5 anchor (distinct triggers, minimal conflict).

5 / 5

Total

20

/

20

Passed

Validation

100%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository

google/skills

Path

skills/cloud/api-gateway-backend-security-and-rate-limiting/SKILL.md

Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.