From browser-data-capture
Generate a draft OpenAPI 3.1 spec from an endpoints inventory produced by analyze-har, capture-via-proxy, or observe-tab. Reads endpoints.json + inferred schemas and emits openapi.yaml plus openapi.json. Use when the user wants to build a stable client against a captured surface — "make an OpenAPI spec from this", "generate a spec so I can build a client", "turn the capture into something I can codegen against".
npx claudepluginhub danielrosehill/claude-code-plugins --plugin browser-data-captureThis skill uses the workspace's default tool permissions.
Promote a captured endpoint inventory into a draft OpenAPI 3.1 specification, suitable as a starting point for a client SDK or a documented integration contract.
Conducts multi-round deep research on GitHub repos via API and web searches, generating markdown reports with executive summaries, timelines, metrics, and Mermaid diagrams.
Share bugs, ideas, or general feedback.
Promote a captured endpoint inventory into a draft OpenAPI 3.1 specification, suitable as a starting point for a client SDK or a documented integration contract.
browser-data-capture run directory (containing endpoints.json + schemas/). If unspecified, list recent runs from ${CLAUDE_USER_DATA:-${XDG_DATA_HOME:-$HOME/.local/share}/claude-plugins}/browser-data-capture/data/ and ask which one.openapi.yaml — primary, hand-editable.openapi.json — same content, JSON form, for tooling that prefers JSON.notes.md — gaps the spec couldn't fill confidently: endpoints with too few samples to infer required fields, response variants that couldn't be reconciled, auth flows that need a human to describe.endpoints.json. For each endpoint:
paths.<path-template>.<method> entry.parameters: derive path parameters from {id} / {uuid} placeholders, query parameters from observed query keys, header parameters from interesting headers (skip auth — handled in securitySchemes).requestBody: if a request schema was inferred, reference components.schemas.responses: one entry per observed status code, content schema referenced from components.schemas.components.securitySchemes from the auth scheme detected in the inventory. Apply globally via security:.components.schemas from the per-endpoint inferred schemas. Deduplicate by content hash where possible.info.title, info.version, servers[0].url (most-contacted host).openapi-spec-validator is available, run it.notes.md with anything that couldn't be expressed cleanly.A draft spec inferred from observed traffic. Tell the user explicitly:
paths: for collapses that should be split.The spec is a starting point, not a finished artefact.