build-scraper
/build-scraper
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.
- Author
- gtlpanda ↗
- Repository
- PandaStack ↗
- Licence
- MIT
- Last repository change
- 12.11.2026
Assessment and security
- Files in this package
- 2
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 12.11.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
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.
Original author 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.
How it works
- Quick Reference
SKILL.md preview
---
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 |
Files in this package (2)
- SKILL.md 3 KB
- protocol.md 11 KB
Versions
The database has no other skills named build-scraper.
Database snapshot: 13.11.2026 · package version c78a68cfd39f (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Similar skills
- 91generate-scraper
Use this skill ONLY when the user explicitly asks to generate, build, create, or write a scraper/parser for SPECIFIC URLs they already have. Trigger phrases: "generate scraper", "build scraper", "make scraper", "new scraper", "create a scraper", "write a scraper", "I need a… - 100fix-scraper
Use this skill when the user wants to fix, correct, update, refactor, or extend an existing local scraper or parser file. This includes adding, removing, or changing fields/selectors in a scraper. Trigger when the user says things like "fix scraper", "repair scraper", "update… - 100scraperapi-scraper-builder
Build and implement web scrapers using ScraperAPI. Use this skill whenever the user asks to build, write, create, or implement a scraper, or wants runnable code that extracts data from a website. Trigger on: "build me a scraper for [website]", "write a scraper that fetches… - 87scraper-studio
Build and run AI-generated Bright Data scrapers from the terminal via `bdata scraper create` and `bdata scraper run`. Use this skill whenever the user wants to generate a scraper from a natural-language description, build a custom scraper without writing code, turn a URL +…