/zd-deploy:deploy-profilesfrom Zaraat Dost · Deploy
Documents how each service runs locally and in the cloud (Firebase App Hosting, Vercel, Hugging Face Spaces, EAS, Docker, AWS) with commands, config, env sources, health checks, and rollback procedures.
Ships in Zaraat Dost · Deploy. 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.
| Service | Local | Cloud | Config | Env source | Health |
|---|---|---|---|---|---|
| Next.js dashboard | npm run dev (port 9002) | Firebase App Hosting (apphosting.yaml, firebase deploy) or Vercel (vercel --prod) | next.config.js, apphosting.yaml | App Hosting secrets / Vercel env (server: EE_BASE64_KEY, HF_SPACE_URL, HF_TOKEN; client: NEXT_PUBLIC_FIREBASE_*) | GET / 200 + /api/gee/tiles 200 |
| Firestore/Storage | Emulator suite (firebase emulators:start) | Firebase | firestore.rules, cors.json | — | rules deploy dry-run |
| Flask inference backend | docker compose up backend | Hugging Face Space (Docker SDK, git push to the Space) or any Docker host | Dockerfile, requirements.txt | Space secrets / container env (HF_TOKEN, EE_BASE64_KEY) | GET /health < 1 s |
| .NET API (farmer API) | dotnet run / docker compose up api | VM or AWS (see below) | appsettings.{Env}.json, Dockerfile | user-secrets locally; AWS SSM Parameter Store / Secrets Manager in cloud | GET /health + one enveloped endpoint |
| .NET dashboard + Next.js (mills) | dotnet run (API) + npm run dev (web) against a restored test copy of the DB | existing Windows EC2 host: three WinSW services (Api loopback, Web loopback, YARP Gateway public) — zd-dotnet:winsw-deploy | tools/deploy/package.ps1, update.ps1, WinSW XMLs | appsettings.Local.json on the server only, never in the package | gateway /health before the swap is declared done; automatic rollback to .bak |
| Expo app | npx expo start | EAS Build (eas build -p android --profile production), EAS Update for OTA | eas.json, app.json | EXPO_PUBLIC_API_BASE at build time | npm run check-bundle |
| Pipeline scripts | conda env + GPU | GPU VM / Colab / EC2 g-instance | script constants | .env loaded by python-dotenv | dry-run prints plan |
AWS profile (when a service moves to AWS)
infra/ with dev and prod stacks; no console-only resources.docker-compose.yml with the same images and env names; LocalStack optional for S3.Rollback: App Hosting/Vercel → redeploy previous build; ECS → update service to previous task definition revision; Space → git revert + push; EAS → previous update channel rollback; WinSW → update.ps1 restores the .bak-<stamp> folders automatically on a failed health check; database changes → additive only, and on the migration-free products a paired ROLLBACK_ script, never an EF migration.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub adilmunawar/zd-claude-plugin --plugin zd-deploy4 skills in this plugin
/aws-planAWS architecture, IaC skeleton, migration steps and cost estimate into docs/AWS-PLAN.md./dockerizeProduction Dockerfile and compose for Next.js, Flask/GDAL, .NET or pipeline workers./preflightPre-deployment checklist: build, tests, env vars by name, secrets audit, migrations, health, rollback, approval.Other plugins' skills for the same job