/zd-dotnet:schema-posturefrom Zaraat Dost · .NET
Guides additive-only SQL Server changes with hand-run scripts, XACT_ABORT, verification SELECTs, rollback twins, and owner authorization. For DDL, indexes, procs, or data changes on live databases.
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.
The production database is live under the surveyor mobile apps. The old API still reads and writes it. Therefore:
IF OBJECT_ID … CREATE on an upload path (never startup, never a legacy table), and it must still be logged.ZD_* prefix, web-owned), new indexes (IX_Web_*, ONLINE = ON, PAGE-compressed, guarded so re-running is safe), altered procs. Never drop or rename what the legacy stack reads.SET XACT_ABORT ON + TRY/CATCH, a header stating what/why/rollback/authorization, verification SELECTs at the end, idempotent guards.PENDING_<date>_<object>_<what>.sql (ruled, not run) → rename to APPLIED_… the moment it lands; ROLLBACK_<date>_<object>.sql holds the object's definition as it was immediately before, captured verbatim from OBJECT_DEFINITION; REFERENCE_<object>.sql is a read-only copy of a prod-only object, never run.db/README.md: artifact, objects, applied date, verified-live date and evidence (row counts, timings), rollback. Observation, not intention.OPEN-DECISIONS.md (Dn) before it is run; quote it in the script header.Checklist before proposing a script: object exists? readers of that object in the legacy stack? additive? guarded? rollback captured? verification SELECTs? decision reference? log row drafted?
What SKILL.md sets; muted values are Claude Code's defaults
7 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./reconcileReconcile a rebuilt endpoint or page against the legacy one on the same inputs — rows × fields diff, scalar diff, timings — and write the result into CONVERSION.md./slice-conventionsLayout and rules for the .NET minimal-API vertical slices and the Next.js dashboard routes — Endpoints/Models/Service per feature, proc-backed data access, policy gating, rate-limit policies, tests on SQLite, frontend route-local libs. Apply when adding or changing a feature in the dashboard API or web app./winsw-deployDeploying the dashboard as Windows services on the existing EC2 host — self-contained publish, package without local settings, stop/rename/swap/start with a health check and automatic rollback, YARP gateway on the public port. Apply to deploy, package, update, rollback or service questions for the .NET stack.npx claudepluginhub adilmunawar/zd-claude-plugin --plugin zd-dotnetOther plugins' skills for the same job