Przejdź do treści
Biblioteka skilli
DevOps i chmura · Testowanie

serpapi-ci-integration

/serpapi-ci-integration

Zabezpiecza kod SerpAPI zsanityzowanymi fixture'ami i izoluje opcjonalne wyszukiwania na żywo w zaufanych środowiskach CI z kontrolą limitu, przy dodawaniu testów integracyjnych do automatyzacji.

Licencja
MIT
Ostatnia zmiana repozytorium
26.10.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
3
Przestarzałość

Brak sygnałów. Repozytorium zmienione 26.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Zabezpiecza kod SerpAPI zsanityzowanymi fixture'ami i izoluje opcjonalne wyszukiwania na żywo w zaufanych środowiskach CI z kontrolą limitu, przy dodawaniu testów integracyjnych do automatyzacji.

Wyzwalacze z opisu

add SerpAPI CI

Argumenty

/serpapi-ci-integration [github-actions|other-ci] [python|javascript]
Oryginalny opis (EN)

Gate 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".

Jak działa

  1. Overview
  2. Prerequisites
  3. Tool Discipline
  4. Current Contract
  5. Authentication
  6. Instructions
  7. Approval Boundaries
  8. Output
  9. Error Handling
  10. Example
Sekcje z nagłówków SKILL.md, w oryginale · 79 linii, 484 słów
Podgląd SKILL.md
---
name: serpapi-ci-integration
description: 'Gate 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".'
argument-hint: "[github-actions|other-ci] [python|javascript]"
allowed-tools: Read, Glob, Grep, WebFetch, Write, Edit, Bash(gh:*)
version: 1.6.0
author: Jeremy Longshore <jeremy@intentsolutions.io>
license: MIT
tags: [saas, serpapi, ci, testing, github-actions]
model: inherit
effort: high
compatibility: Designed for Claude Code; CI secret and workflow changes require repository approval, and fork pull requests must never receive the SerpAPI key
---
# SerpAPI Fixture-First CI Integration

## Overview

Make parsing and policy gates deterministic on every change while restricting live search to a separately approved, trusted workflow.

## Prerequisites

- Sanitized fixtures and an injected client boundary
- Repository CI conventions, required checks, and fork threat model
- A protected environment, allowance budget, and owner for any live smoke test

## Tool Discipline

Use `Read`, `Glob`, and `Grep` to inspect tests and workflows, `WebFetch` to verify current client behavior, `Write` or `Edit` for fixtures, tests, and CI, and `Bash(gh:*)` only to inspect or operate the approved GitHub workflow.

## Current Contract

Offline fixture tests require no SerpAPI credential or search allowance. A live search is external, variable, and potentially billable; untrusted pull-request code must not receive `SERPAPI_KEY`, including through unsafe workflow-trigger patterns.

## Authentication

Store `SERPAPI_KEY` only in a protected CI environment. Never expose it to fork PRs, logs, artifacts, command traces, caches, or fixture updates. Give live jobs read-only repository permissions unless a documented need proves otherwise.

## Instructions

1. Inventory CI triggers, fork behavior, permissions, secret scopes, environments, artifacts, and dependency installation.
2. Put parser, adapter, error, pagination, redaction, and policy tests on sanitized fixtures with network disabled.
3. Run fixture tests on every pull request and push using pinned actions and locked dependencies.
4. Define an optional live smoke job on a manual, scheduled, or trusted-main trigger; bind it to a protected environment and explicit concurrency/search budget.
5. Check account capacity first, execute one harmless request, and emit only status, search ID, and safe counts.
6. Make live failure diagnostically visible but decide deliberately whether it is required or advisory; never let provider variance weaken deterministic gates.
7. Test a fork PR path, secret redaction, cancellation, timeout, allowance exhaustion, and artifact contents before enabling the job.

## Approval Boundaries

Do not add secrets, approve a fork workflow, change required checks, or enable allowance-consuming schedules without repository and account-owner approval.

## Output

Return the trigger/permission matrix, fixture test results, live-job boundary and budget, secret-flow proof, fork test evidence, required/advisory decision, and rollback owner.

## Error Handling

| Condition | Response |
|---|---|
| Fork code can reach the secret | Block the workflow and redesign the event boundary. |
| Fixture job attempts network | Fail CI and replace the client dependency. |
| Live check returns 429 | Stop the job and classify throughput versus allowance via Account API. |
| Provider is unavailable | Preserve deterministic gates and report the live lane separately. |

## Example

```yaml
permissions:
  contents: read

jobs:
  fixture-tests:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: actions/setup-python@v5
        with:
          python-version: "3.12"
      - run: python -m pip install -r requirements.lock
      - run: python -m pytest tests/serpapi -q
```

## Resources

- [GitHub Actions security hardening](https://docs.github.com/en/actions/security-for-github-actions/security-guides/security-hardening-for-github-actions)
- [Official Python client](https://github.com/serpapi/serpapi-python)
- [Account API](https://serpapi.com/account-api)

## Next Steps

Exercise the fork path and protected live lane, then document which evidence is release-blocking.

Wersje

W bazie nie ma innych skilli o nazwie serpapi-ci-integration.

Identyczna treść występuje jeszcze w 1 innych folderach na GitHubie. Tu pokazujemy jedną, najlepiej ocenioną kopię.

Migawka bazy z 13.11.2026 · wersja paczki f5501a55e66f (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100serpapi-deploy-integration
    Wdraża po stronie serwera bramkę SerpAPI z izolacją sekretów, polityką wejścia, kontrolą pojemności, dowodami canary i wycofaniem, przy promowaniu integracji wyszukiwania.
  • 100serpapi-performance-tuning
    Mierzy i poprawia opóźnienia SerpAPI, rozmiar odpowiedzi, ponowne użycie połączeń, buforowanie i współbieżność bez naruszania świeżości danych i kontroli limitu.
  • 90search
    Pobiera na żywo wyniki z Google, map, wiadomości, zakupów, ofert pracy i ponad stu silników przez SerpApi, z linkami do źródeł.
  • 100serpapi-tool
    Sprawdza na żywo wyniki wyszukiwania dla frazy: lokalny pakiet map, sekcję Ludzie też pytają i AI Overviews.
  • 100patent-architect
    Wyszukuje stan techniki przez SerpAPI i generuje chińskie formularze zgłoszeń patentowych, gdy trzeba chronić innowacje techniczne.
  • 100check-integration-tests
    Sprawdza stan i wyniki testów integracyjnych Konflux: wyświetla uruchomienia testów, pobiera wyniki i pokazuje snapshoty.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.