Przejdź do treści
Biblioteka skilli
Programowanie · Budowanie i kod

build-scraper

/build-scraper

Buduje adapter scrapera dla powiatu zgodnie z kartą SCRAPER-MASTER, z danymi podatkowymi, strefami planistycznymi i formatem numeru działki.

Repozytorium
PandaStack ↗
Licencja
MIT
Ostatnia zmiana repozytorium
12.11.2026

Ocena i bezpieczeństwo

90/ 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ść25 / 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
2
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 12.11.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

Buduje adapter scrapera dla powiatu zgodnie z kartą SCRAPER-MASTER, z danymi podatkowymi, strefami planistycznymi i formatem numeru działki.

Oryginalny opis (EN)

Build a county scraper adapter targeting Gold+ on the SCRAPER-MASTER.md scorecard (tax assessment, tax bill, zoning, APN format). Use when the user asks to build or add a scraper adapter for a county.

Jak działa

  1. Quick Reference
Sekcje z nagłówków SKILL.md, w oryginale · 47 linii, 332 słów
Podgląd SKILL.md
---
name: build-scraper
description: Build a county scraper adapter targeting Gold+ on the SCRAPER-MASTER.md scorecard (tax assessment, tax bill, zoning, APN format). Use when the user asks to build or add a scraper adapter for a county.
---

# Skill: Build Scraper Adapter

Build county scraper adapters targeting **Gold+** on the SCRAPER-MASTER.md scorecard. See `protocol.md` in this skill's directory for the full protocol with all failure patterns, phases, and quality gates.

## Quick Reference

### Gold+ = 10/10 Dimensions
1. Tax Assessment adapter
2. Tax Bill adapter
3. Zoning (unincorporated) via county ArcGIS
4. Zoning (incorporated) via city configs for ALL CRE cities
5. APN format verified (3+ APNs tested)
6. City detection working (parcel field / citiesUrl / brute-force)
7. Environmental (FEMA + EPA — automatic)
8. Zone standards seeded for all zone codes
9. Sales history (ATTOM — verify FIPS works)
10. End-to-end tested (1 incorporated + 1 unincorporated APN)

### BaseAdapter Helpers (call these, never reimplement)

| Helper | Purpose |
|---|---|
| `this.createSnapshot(db, { reportId, apn, sourceUrl, sourceType })` | Insert snapshot with source_adapter set |
| `this.finalizeCapture(db, snapshotId, html, finalUrl, opts)` | Validate + mark captured |
| `this.markSnapshotFailed(db, snapshotId, errorMessage)` | Mark failed in catch block |
| `this.fetchArcGIS(url, opts)` | Fetch JSON + validate ArcGIS errors |
| `this.fetchWithTimeout(url, opts)` | Fetch JSON with timeout + UA |
| `this.computeCentroid(geometry)` | Average vertex coords from polygon rings |

### Critical Patterns (most common failures)

- **Pattern I: County zoning only covers unincorporated.** ALWAYS research city-level zoning for ALL incorporated cities. This is the #1 gap.
- **Pattern J: APN format varies within a county.** Test 3+ APNs with different segment counts. Use `parcelsApnPadEnd` not fixed suffixes.
- **Pattern K: Parcel layers lack city attribution.** Brute-force fallback (max 5 cities) handles this automatically if city configs exist.
- **Pattern C: Tax amounts on different site than assessor.** Always identify assessor AND tax collector separately.

### Key Files

| File | Purpose |
|---|---|
| `docs/SCRAPER-MASTER.md` | Gold+ scorecard — check grade, update after shipping |
| `server/src/services/scraper/adapterRegistry.js` | Register adapters |
| `server/src/services/scraper/data/arcgis-county-configs.js` | County ArcGIS configs |
| `server/src/services/scraper/data/arcgis-city-zoning-configs.js` | 164 city zoning configs |
| `server/src/services/scraper/adapters/base.js` | BaseAdapter — extend this |
Pliki w paczce (2)
  • SKILL.md 3 KB
  • protocol.md 11 KB

Wersje

W bazie nie ma innych skilli o nazwie build-scraper.

Migawka bazy z 13.11.2026 · wersja paczki c78a68cfd39f (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

  • 91generate-scraper
    Generuje scraper lub parser dla konkretnych adresów, które użytkownik już podał.
  • 100fix-scraper
    Naprawia, aktualizuje, refaktoryzuje lub rozszerza istniejący lokalny scraper albo parser, w tym dodawanie, usuwanie i zmianę pól oraz selektorów.
  • 100scraperapi-scraper-builder
    Buduje scrapery z użyciem ScraperAPI: dostarcza działający kod, który wyciąga wskazane pola z witryny, na przykład ze stron produktów sklepu internetowego.
  • 87scraper-studio
    Buduje i uruchamia scrapery Bright Data generowane przez AI z terminala poleceniami bdata scraper create i run: z opisu w języku naturalnym, dla jednego adresu URL lub partii adresów.

Uwagi i zgłoszenia

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