serpapi-deploy-integration

v2026.09.24

Deploy a server-side SerpAPI gateway with secret isolation, input policy, capacity controls, canary evidence, and rollback. Use when promoting a search integration. Trigger with "deploy a SerpAPI gateway".

GitHub
Install command
npx skhub add jeremylongshore/serpapi-deploy-integration
Markdown
SKILL.md

SerpAPI Gateway Deployment

Overview

Promote a narrow backend gateway through preview, canary, reconciliation, and rollback without exposing the SerpAPI key or an open search proxy.

Prerequisites

  • A fixture-tested gateway, deployment owner, route, caller identity, and rollback target
  • Approved secret manager, data classification, SLO, capacity budget, and observability
  • Platform-specific release and health-check conventions

Tool Discipline

Use Read, Glob, and Grep to inspect application and infrastructure changes, WebFetch to verify current SerpAPI contracts, and Write or Edit for deployment configuration, policies, probes, tests, and redacted receipts.

Current Contract

SerpAPI search calls require a private key and engine-specific parameters. Account capacity is discoverable through Account API. Public browser clients should call an authenticated application backend rather than SerpAPI directly.

Authentication

Inject SERPAPI_KEY from the target platform's server-side secret store. Authenticate gateway callers separately, validate their authorization to the requested use case, and never return vendor account or credential data.

Instructions

  1. Review the deploy diff, dependency lock, secret references, route exposure, caller authentication, input allowlist, output projection, and data retention.
  2. Define readiness without a billable search; expose only internal health and configuration status, not Account API details.
  3. Set finite client and request timeouts, concurrency/admission limits, cache policy, retry budget, and maximum pagination.
  4. Deploy to an isolated preview with no production key and run fixture, authorization, abuse, redaction, and rollback tests.
  5. Present the production mutation, live-search budget, monitoring, owner, and exact rollback command for approval.
  6. Deploy a small canary, execute one approved harmless search, and reconcile status, search ID, latency, errors, and capacity.
  7. Promote gradually only while SLO, correctness, privacy, and allowance thresholds hold; otherwise roll back immediately.

Approval Boundaries

Do not create or change a production secret, public route, caller policy, traffic allocation, or live canary without named approval.

Output

Return the deploy diff, access and secret model, preview tests, canary receipt, capacity and SLO evidence, promotion decision, rollback proof, and owners.

Error Handling

ConditionResponse
Key appears in client assetsBlock and rotate under incident procedure.
Gateway accepts arbitrary parametersFail the release and enforce a use-case allowlist.
Canary breaches errors, latency, or capacityRoll back and preserve redacted search IDs.
Health endpoint leaks account factsRemove the fields before exposure.

Example

environment=production; callers=authenticated; key=server-secret; preview=pass; canary_searches=1; capacity=healthy; promotion=approved; rollback=verified

Resources

Next Steps

Observe a complete workload cycle and rehearse rollback and key rotation with the owning teams.

Discovery
Tags

No tags published for this skill.

Version
Latest version metadata

Version

v2026.09.24

Published

Sep 24, 2026

Category

Uncategorized

License

MIT

Source path

skills/.curated/serpapi-deploy-integration

Default branch

main

Latest commit

e5a6c3b

Tree SHA

c2dc8e8