Skip to content
Back to skills

Agis Architecture

ASecurity

Layout and conventions of the AGIS Next.js dashboard: routes, component layers, workers, backends, env vars.

  • 8 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 19, 2026
developmentreactnextjsflaskgitapibackend

Works with

  • cli
  • api

Security analysis

A100/100

Scanned September 19, 2026

npx -y skills add Adilmunawar/ZD-claude-plugin --skill agis-architecture --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Agis Architecture?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Agis Architecture
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/adilmunawar-agis-architecture/badge)](https://www.skillsdirectory.com/skills/adilmunawar-agis-architecture)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: agis-architecture
paths: ["src/**", "public/workers/**", "hf_space_backend/**", "next.config.*", "apphosting.yaml"]
description: Layout and conventions of the AGIS Next.js dashboard: routes, component layers, workers, backends, env vars.
---

# AGIS architecture

```
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
- Dev server `next dev --turbo -p 9002`; `npm run typecheck` is the gate.
- Env: `NEXT_PUBLIC_FIREBASE_*` (client), `EE_BASE64_KEY` (server; base64 of the service-account JSON), `HF_SPACE_URL`, `HF_TOKEN` (server only — never `NEXT_PUBLIC_`).
- Map libs: leaflet, leaflet-draw, @turf/turf, shpjs/shapefile, tokml/togpx, jszip, file-saver.
- Charts: recharts. Forms: react-hook-form + zod. Editor: Monaco.
- Hosting: Firebase App Hosting (`apphosting.yaml`, `maxInstances`) or Vercel; Firestore rules in `firestore.rules`; CORS for Storage in `cors.json`.
- Auth: Firebase Auth; all cadastral collections require a signed-in user; user-private data under `/users/{uid}`.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…