/serpapi-pack:serpapi-local-dev-loop [python|typescript] [parser-path]from serpapi-pack
Sets up a fixture-first local development loop for SerpAPI integrations, enabling offline parser testing with sanitized fixtures and a live-recording boundary to save API allowance.
Ships in serpapi-pack. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Separate deterministic parsing from live search acquisition so everyday development is fast, private, and allowance-free.
Use Read, Glob, and Grep to locate clients, parsers, fixtures, and tests, WebFetch to re-check engine schemas, Write or Edit for adapters and fixtures, and Bash(python3:*) or Bash(npm:*) for local tests or an explicitly approved recorder.
SerpAPI response sections vary by engine, query, geography, device, and upstream search layout. The official Python result is a SerpResults mapping; application code should depend on a narrow local adapter rather than a captured response being universal.
Offline tests must not require SERPAPI_KEY. Load the key only inside a separately invoked recorder, refuse sentinel or missing values, and never serialize request URLs or metadata fields that reveal it.
Return the client seam, fixture inventory and sanitization record, offline test results, live-recording command and guard, consumed-field contract, and refresh owner.
| Condition | Response |
|---|---|
| Fixture contains a key-bearing URL | Remove it, rotate the exposed key if necessary, and inspect history. |
| Parser fails on a missing section | Make the branch explicit or prove the section is contractually required. |
| Live call occurs in an offline test | Fail the test and replace the client at the network boundary. |
| Fixture is stale | Refresh once under approval and review the schema delta. |
class SearchGateway:
def __init__(self, client):
self.client = client
def titles(self, params):
response = self.client.search(params)
return [item["title"] for item in response.get("organic_results", [])]
class FixtureClient:
def __init__(self, response):
self.response = response
def search(self, _params):
return self.response
Wire the same fixture suite into CI and reserve live validation for a protected workflow.
What SKILL.md sets; muted values are Claude Code's defaults
inheritmediumThree short reads, in order
18 skills in this plugin
/serpapi-ci-integrationGate SerpAPI code with sanitized fixtures and isolate optional live searches behind trusted CI environments and allowance controls. Use when adding integration tests to automation. Trigger with "add SerpAPI CI"./serpapi-common-errorsClassify SerpAPI HTTP failures, search-status failures, and valid empty results before choosing a retry or repair. Use when searches fail, stall, or return unexpected shapes. Trigger with "diagnose a SerpAPI error"./serpapi-core-workflow-aBuild a reproducible Google Search workflow that validates parameters, optional result sections, and bounded pagination. Use when implementing search, SEO monitoring, or evidence collection. Trigger with "build a SerpAPI Google workflow".npx claudepluginhub jeremylongshore/tons-of-skills-marketplace --plugin serpapi-packOther plugins' skills for the same job