/zd-agis:agis-architecturefrom Zaraat Dost · AGIS Web
Documents the AGIS Next.js dashboard architecture: routes, component layers, workers, backends, env vars, and conventions for Leaflet maps, shadcn UI, Firebase, and Earth Engine.
Ships in Zaraat Dost · AGIS Web. 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.
src/app/dashboard/<tool>/page.tsx thin server page → renders <ToolClient/>
src/components/gis/<Tool>Client.tsx 'use client'; Leaflet/react-leaflet, controls, toasts
src/components/ui/* shadcn primitives (do not hand-roll buttons/dialogs)
src/app/api/gee/*/route.ts server-side Earth Engine (tiles, analyze, timeseries, sar, dynamic-world)
src/app/api/predict, job_status/*, job_download/* proxy to the inference backend (streams multipart)
src/lib/geeCore.ts initGEE(), layer builders, getMapUrl()
src/firebase/{init,config,provider}.ts, services/*, firestore/use-*.tsx
src/context/GisDataContext.tsx shared GIS state (AOI, layers, selection)
src/types/gis-schema.ts Mauza / Parcel metadata types
public/workers/*.js Pyodide (geopandas/shapely) and pure-JS workers: digitize, merge, roads, shapefile, export
hf_space_backend/app.py Flask job queue, telemetry, land-use inference
Conventions
next dev --turbo -p 9002; npm run typecheck is the gate.NEXT_PUBLIC_FIREBASE_* (client), EE_BASE64_KEY (server; base64 of the service-account JSON), HF_SPACE_URL, HF_TOKEN (server only — never NEXT_PUBLIC_).apphosting.yaml, maxInstances) or Vercel; Firestore rules in firestore.rules; CORS for Storage in cors.json./users/{uid}.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
nextjs-dashboard, gis, leaflet, firebase, earth-engine, architecture-reference
7 skills in this plugin
/auditSecurity and performance audit of the AGIS dashboard into docs/AGIS-AUDIT.md./cadastral-schemaMauza/Parcel Firestore model, size limits, geohash, geometry storage, rule constraints./gee-api-routesServer-side Earth Engine in Next.js API routes: init once, promisified evaluate, layers, palettes, tile URLs, validation, timeouts./inference-backendFlask inference backend on Hugging Face Spaces: job lifecycle, endpoints, telemetry, model loading, limits, proxy routes.npx claudepluginhub adilmunawar/zd-claude-plugin --plugin zd-agisOther plugins' skills for the same job