/zd-dotnet:winsw-deployfrom Zaraat Dost · .NET
Deploys .NET dashboard apps as Windows services via WinSW on EC2 with self-contained publish, health-checked swap updates, and automatic rollback. Includes YARP gateway setup.
Ships in Zaraat Dost · .NET. 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.
Shape: three WinSW-wrapped services beside the untouched legacy stack — <Product>Api (self-contained win-x64, loopback port), <Product>Web (Next standalone under a bundled node.exe, loopback), <Product>Gateway (YARP, TLS from the host cert store, the one public port). DB over loopback. One origin for web and /api/v1, so CORS stays empty.
Update, never reinstall
tools/deploy/package.ps1: publish both .NET projects self-contained; next build with NEXT_PUBLIC_API_BASE baked; grep the package for appsettings.Local.json and fail if present (publish copies it); package with robocopy + tar.exe (Next's standalone tree exceeds MAX_PATH for Copy-Item/Compress-Archive).update.ps1: stop Gateway → Web → Api; rename api/gateway/web to *.bak-<stamp>; move new folders in; copy the preserved api\appsettings.Local.json back; start Api → Web → Gateway; health check; roll back to the .bak folders if the health check fails.install.ps1 is first-install only (aborts if ports are taken or the cert is missing; never stops anything). uninstall.ps1 removes only the three services and the firewall rule.Checks: ports free/owned as expected, cert present in the store, firewall + security group for the public port, forwarded-headers middleware on, logs under the service root, health endpoint answering before the swap is declared done. Record the package builder and date in DEPLOYMENT.md.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub adilmunawar/zd-claude-plugin --plugin zd-dotnet7 skills in this plugin
/contract-checkCheck the mobile app's API client types against the .NET API's DTOs and envelope, both directions, and list every mismatch. Use when either side changes or before a mobile release./db-changeDraft a database change the way this team applies them — PENDING script with XACT_ABORT, guards and verification SELECTs, its ROLLBACK twin captured from OBJECT_DEFINITION, the applied-to log row and the OPEN-DECISIONS entry — without running anything./legacy-parityPorting a legacy page or endpoint: reproduce the figure digit-for-digit first, reconcile against production, record known inconsistencies, fix only under a decision. Units, area rules, text-sorted dates and dual-id traps. Apply when rebuilding, reconciling or comparing old and new dashboard behaviour.Other plugins' skills for the same job