/zd-gis:postgis-conventionsfrom Zaraat Dost · GIS
Enforces spatial table conventions for PostGIS: naming, SRID constraints, spatial indexes, computed area columns, ingest validation, and safe migrations. Includes SQL Server and GeoPackage equivalents.
Ships in Zaraat Dost · GIS. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
geom, typed + SRID-constrained: geom geometry(MultiPolygon, 4326). (.NET/EF Core: public MultiPolygon Geom { get; set; } + HasColumnType("geometry(MultiPolygon,4326)").)CREATE INDEX ix_<table>_geom ON <table> USING GIST (geom); (EF: .HasIndex(x => x.Geom).HasMethod("gist"); SQL Server: CREATE SPATIAL INDEX).<domain>_<thing>[_<season>] snake_case — parcels_<area>, crop_sugarcane_2026, admin_tehsil, flood_extent_2025.id PK, source_id (original ID), source (gee-export | model-vN | survey | kml), created_at, updated_at.area_ha numeric GENERATED ALWAYS AS (ST_Area(ST_Transform(geom, 32642))/10000) STORED — never ST_Area on 4326 (see pakistan-crs for zone choice).ST_Multi(ST_MakeValid(ST_Transform(geom, 4326))); reject NOT ST_IsValid(geom) OR ST_IsEmpty(geom).ST_SimplifyPreserveTopology(geom, tol) into geom_simple or a _display view._bak_YYYYMMDD copy and explicit approval (zd-core hooks enforce the prompt).appsettings + user-secrets / .env — never in code or chat.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
postgis, spatial-database, gis, database-conventions, sql-migrations
npx claudepluginhub adilmunawar/zd-claude-plugin --plugin zd-gis7 skills in this plugin
/export-deliverableProduce a client-ready shapefile and GeoJSON (clean, 4326, area_ha, QA-checked) from a layer or table./new-layerPublish a map layer end to end: table, display view, tile service, dashboard config, legend, smoke test./pakistan-crsWhich CRS to use for Punjab/Sindh (4326 storage, UTM 42N/43N for area) and how to reproject. Apply to area, distance, buffer, raster alignment or wrong-location bugs./qa-vectorRun the geo-data-qa checks on a vector file or table and print the report./study-dashboardAudit an existing GIS dashboard (pages, layers, endpoints, freshness, performance, UX) into docs/DASHBOARD.md./study-dbRead-only catalog queries for Postgres/PostGIS, SQL Server, MySQL, GeoPackage: spatial columns, indexes, sizes, FKs, slow spatial queries. Apply when documenting or diagnosing a database.Other plugins' skills for the same job