Skills for Real Engineers. Straight from my .agents directory.
arcgis-to-portaljs
Agent skill fromdatopian/portaljs
Migrate a whole ArcGIS Hub site into a PortalJS Arc portal end-to-end. Harvests the Hub /data.json (DCAT-US) inventory, exports every FeatureService layer through the ArcGIS REST query API with resultOffset paging, converts each to the serverless dual tier (PMTiles render + GeoParquet query) with tabular items to Parquet, pushes everything to Cloudflare R2 via Git LFS, appends dual-tier datasets.json entries, and writes a source-vs-derived parity report. Use to move a City or sector ArcGIS Hub open-data portal onto PortalJS with no server-side compute.
How to install arcgis-to-portaljs
npx skills add datopian/portaljs# or add only this skill to Claude Code: copy the folder
skills/arcgis-to-portaljs/
# into
~/.claude/skills/arcgis-to-portaljs/ (all projects)
.claude/skills/arcgis-to-portaljs/ (one project)
1# ArcGIS Hub → PortalJS23## Overview45Migrate an entire **ArcGIS Hub** open-data site into a **PortalJS Arc** portal in one pass.6Every Hub site is machine-readable — a DCAT-US catalog at `/data.json`, with every dataset7backed by an ArcGIS REST FeatureService — so migration is a **harvest → export → convert →8publish → verify** pipeline that runs almost fully automated on the operator's machine, no9server-side compute. The tooling is the reusable `arcgis-to-portaljs` migrator: input is one10Hub URL, output is a ready-to-deploy PortalJS catalog plus a parity report.1112The skill is an orchestrator: it reuses the DCAT-US harvest from `portaljs-migrate`, the13`ogr2ogr`/`tippecanoe`/`duckdb` dual-tier conversion from `portaljs-add-geo`, and the bulk14Git-LFS → R2 push from `portaljs-migrate`. Its novel parts are the FeatureService REST export15loop (paged features, not just a link) and the source-vs-derived parity report.1617## Prerequisites1819- A scaffolded PortalJS portal whose template ships `components/MapPreview.tsx` and20 `components/GeoQuery.tsx` (PR #1647 or later). Run `portaljs-new-portal` first if none.21- Native CLIs: **GDAL** (`ogr2ogr`, `ogrinfo`), **tippecanoe**, **duckdb** (with `spatial`),22 and **jq**. macOS: `brew install gdal tippecanoe duckdb jq`; Debian/Ubuntu:23 `apt-get install gdal-bin duckdb jq` plus tippecanoe (apt or build from source); Windows via24 WSL. The skill hard-stops with the install hint if any is missing.25…
Excerpt shown under the repository's MIT license.
More skills in portaljs
Similar skill repositories
An agentic skills framework & software development methodology that works.
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
Public repository for Agent Skills
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
