build-county-transform
Build or repair a county transform end to end: capture sample pages, turn them into lexicon records with exact source-request provenance, prove every record…
Skill by elephant-xyz
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/soofi-xyz-build-county-transform
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: testing
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 26, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/build-county-transform
What's inside
- Skill name
build-county-transform- Description
- Build or repair a county transform end to end: capture sample pages, turn them into lexicon records with exact source-request provenance, prove every record validates against the live lexicon and every field on the page was extracted, then open the transform pull request. Use when onboarding a county's appraiser, permit, or registry source, when validation or coverage fails on an existing transform, or when asked whether a county's transform is complete.
- License
- MIT
- Metadata
- author: elephant-xyz
- Instructions
- 146 lines in SKILL.md · view on GitHub
Files (6)
- SKILL.md
- coverage-proof.md · reference/
- output-contract.md · reference/
- scripts-mode.md · reference/
- transform-evaluator.md · reference/
- transform-v2-handler.md · reference/
SKILL.md (first lines)
# Build County Transform
A county transform turns captured source pages into the per-property lexicon output that
`elephant-cli validate`, `hash`, and the county archive consume. This skill owns the whole
loop: sample, transform, validate, prove coverage, replay, and open the pull request.
The transform may be an Elephant CLI v2 handler, an Elephant CLI scripts-mode bundle, or
custom code in any language. What is fixed is the **output contract** in
[`reference/output-contract.md`](./reference/output-contract.md), not the tool.
## Always read
1. [`reference/output-contract.md`](./reference/output-contract.md) — the per-property
layout every transform must produce: entities, relationships, data-group roots, the
seed root, provenance fields, link form
2. [`reference/coverage-proof.md`](./reference/coverage-proof.md) — sample selection,
field-inventory diff, gap classes, acceptance record
3. One of, by transform mode:
[`reference/transform-v2-handler.md`](./reference/transform-v2-handler.md),
[`reference/scripts-mode.md`](./reference/scripts-mode.md), or the custom-code
section below
4. [`reference/transform-evaluator.md`](./reference/transform-evaluator.md) — optional
AI generate-and-repair helper; never a substitute for validation
5. `../use-oracle/reference/car-publication.md` — what consumes the output downstream
## The loop
Run it for every new source and every repair. Do not skip a step because the previous
county passed.
1. **Capture samples.** Pick 10 to 20 parcels by variability, not volume (see the
coverage reference). Capture each with the county's browser flow or fetcher through
`elephant-cli prepare`, or with the custom capture code, so the transform sees exactly
what the pipeline sees. Keep the raw capture and the exact request that produced it.
2. **Choose the mode.** v2 handler for a new site with named captures; scripts mode when
maintaining an existing five-script bundle; custom code when the site needs a
language or runtime the CLI does not offer. Custom code must still write the output
contract, byte for byte in shape.
3. **Write or repair the transform.** Every entity carries its own `source_http_request`
and `request_identifier`. Every relationship links two entities by relative path.
Every data group has a root. The seed data group is present.
4. **Validate against the live lexicon.**
`elephant-cli validate <property-dir-or-zip> --output-csv errors.csv` per sample, then
`elephant-cli validate <samples-dir>` over all of them. The CLI must load the manifest
from `https://lexicon.elephant.xyz/api/manifest`; a run that fails to load it has
proved nothing. Fix the transform until no data rows remain. Never suppress a row.
5. **Prove coverage.** Field-inventory diff of every sample against its raw capture;
only lexicon-gap fields may remain, and those stay in `source_payload` with the gap
recorded.
6. **Replay offline.** Add or refresh the county fixture in
`skills/use-oracle/runtime/fixtures/<county>-replay/` (one capture, `seed.csv`,
`expected-row.json`) and the transform tests under
`skills/use-oracle/runtime/counties/<county>/transforms/*.test.js`; run
`npm test --prefix skills/use-oracle/runtime`.
7. **Hash a sample per data group.** For each data group the transform emits (the
appraisal transform emits `county`; a permit transform emits `property_improvement`),
`elephant-cli hash <samples-dir> --output-zip ./hashed --output-csv hash.csv
--output-car sample-<group>.car` then `elephant-cli validate sample-<group>.car`.
This is the first time the seed root, links, and codecs are exercised together.
Note the group's schema CID (`dataGroupCid` in `hash.csv`): the county's Atlas page
entry for this group carries it. Then `elephant-cli export-tables sample-<group>.car
--output ./sample-<group>-tables` and confirm every entity class and relationship
type the transform emits appears as its own table with the expected row count. A
missing or unexpected table is a transform bug, not a CLI setting.
8. **Open the pull request** with the checklist below.
## Provenance: `source_http_request`
- One per entity, describing the request that fetched the page the entity came from.
A property whose data spans a detail page and a tax page has entities pointing at
different requests.
- Fields: `method`, `url`, `multiValueQueryString`, and for POST either `json` or
`body` with a `headers.content-type`. Nothing else in `headers`: `User-Agent`,
`Accept`, cookies, and tokens are rejected by the lexicon and must not leak from the
capture layer into the record.
- The seed row's request is the default for every entity of that parcel; override only
with a more specific request that was actually made.
- Never reconstruct a request after the fact. If the capture layer cannot report the
request, fix the capture layer.
## Custom code
Custom transforms are allowed and common for sources the CLI cannot reach. They must:
- read captures and the seed record, and write the output contract into a per-property
directory or ZIP; nothing about the layout is negotiable
- name data-group roots by the data-group schema CID from the live manifest, resolved at
run time, never hardcoded from a previous run
- write relative-path links (`{"/": "./file.json"}`) and let `elephant-cli hash` resolve
them to CIDs; do not compute CIDs in the transform
- pass steps 4 through 7 unchanged; the CLI's validate, hash, and archive validation are
the acceptance tests for any transform, whatever produced it
- live in `Counties-trasform-scripts/<county>/` with a README that states the runtime,
the command, and the inputs, so Oracle can run it without the author
## Lexicon gaps and unmapped codes
- A field the lexicon has no home for stays in `source_payload` and is recorded in the
findings doc as a lexicon gap. Lexicon expansion is a separate, deliberate change.
- A source code with no lexicon mapping (a DOR use code, a construction type) is kept
raw in `source_payload` with a warning; the parcel continues. Throwing on one code
has silently dropped whole property classes before. Inventory unmapped codes across
the sample and add mappings before scaling.
- `county_jurisdiction` and `county_name` must match the county on every sample.
- Do not prepend a street number to an address that already carries it.
## The pull request
Branch and PR against `github.com/elephant-xyz/Counties-trasform-scripts` under
`<county>/`, opened as soon as the samples pass, one PR per source or logical change.
Include:
- the transform: `handler.js` package, the five scripts, or the custom code with its
README and lock file
- `docs/<county>-county-findings.md` with the sample list and usage types, the
field-coverage result per sample, the lexicon-gap list, the unmapped-code inventory,
and the exact `elephant-cli` commit and manifest URL used to validate
- the comparison or inventory scripts that produced the coverage result
- the replay fixture and tests that were added to the bundled runtime, or a link to theFrom soofi-xyz/soofi-xyz-team-kit, MIT.
More from soofi-xyz/soofi-xyz-team-kit
- 0.604score
build-connect-product
soofi-xyz
Build Connect, the only layer that talks to external systems, as configurable blocks: generic verbs (LIST, FETCH, PUT, MOVE, CALL, POLL, WAIT_FOR_WEBHOOK…
SkillAFreshness: A★ 3Claude Code +9 - 0.604score
bootstrap-oracle-infra
elephant-xyz
Verify and bootstrap the local pipeline stack required for county ingestion: the durable workflow server, data directories, the internal database, and the…
SkillAFreshness: A★ 3Claude Code +9 - 0.604score
build-console-product
soofi-xyz
Build Console Figma-to-HTML/React creation and editing with MCP, Bedrock AgentCore and the pi harness, plus its runtime and API: versioned UI schemas, safe…
SkillAFreshness: A★ 3Claude Code +9 - 0.601score
build-batch-workflows
soofi-xyz
Building batch workflows and data processing pipelines — processing strategy selection, testing, cost control, throttling, idempotency, and failure alerting.
SkillAFreshness: A★ 3Claude Code +9 - 0.601score
build-bootstrap-cli
soofi-xyz
Build or maintain the Environment HTTP API and its plans, Account manifest intake, domain/certificate lifecycle, shared routing, initial Prism installation…
SkillAFreshness: A★ 3Claude Code +9 - 0.601score
build-connect-service
soofi-xyz
Maintain the current Connect service runtime and caller compatibility.
SkillAFreshness: A★ 3Claude Code +9 - 0.601score
build-build-service
soofi-xyz
Build or maintain the Build HTTP API and its source intake, isolated build jobs, CDK synthesis, runtime asset policy, provenance, observable results and…
SkillAFreshness: A★ 3Claude Code +9 - 0.601score
build-documentation-product
soofi-xyz
Build or maintain Documentation's publishing API and React/TypeScript developer portal, including OpenAPI reference, guides, previews, interactive requests…
SkillAFreshness: A★ 3Claude Code +9 - 0.564score
apply-engineering-guidelines
soofi-xyz
Applying the company Golden Path engineering standards.
SkillBFreshness: B★ 3Claude Code +9 - 0.564score
bbb-harvest
elephant-xyz
Harvest BBB (Better Business Bureau) business profiles by category for contractor reputation and quality enrichment in the elephant query DB, with throughput…
SkillBFreshness: B★ 3Claude Code +9 - 0.561score
assemble-communication-runtime
soofi-xyz
Assembling end-to-end communication runtimes from reusable audience, template, and activity capabilities — workflow composition, data contracts, scoring…
SkillBFreshness: B★ 3Claude Code +9 - 0.561score
build-ai-agents
soofi-xyz
Building AI agents and chat bots — runtime design, message ingress, conversation state and memory, tool loops, request routing, telemetry, deployment, and…
SkillBFreshness: B★ 3Claude Code +9
Signals
- Stars
- 3
- Forks
- 7
- Open issues
- 0
- Last commit (this folder)
- Sep 30, 2026 (29 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/soofi-xyz/soofi-xyz-team-kit
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from elephant-xyz
- 0.604score
bootstrap-oracle-infra
elephant-xyz
Verify and bootstrap the local pipeline stack required for county ingestion: the durable workflow server, data directories, the internal database, and the…
SkillAFreshness: A★ 3Claude Code +9 - 0.564score
bbb-harvest
elephant-xyz
Harvest BBB (Better Business Bureau) business profiles by category for contractor reputation and quality enrichment in the elephant query DB, with throughput…
SkillBFreshness: B★ 3Claude Code +9
Cite this page
build-county-transform skill. Agent Mart. https://agentmart.dev/skills/soofi-xyz-build-county-transform (last updated 2026-10-24)