/zd-dotnet:db-change <object> "<what changes>"from Zaraat Dost · .NET
Drafts a PENDING database change script with transactional safety, rollback file, applied-to log entry, and OPEN-DECISIONS documentation without executing anything.
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, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Given an object and a one-line change, produce (do not execute):
db/PENDING_<today>_<object>_<slug>.sql — header (what, why, rollback file, decision ref, authorization placeholder), SET XACT_ABORT ON, BEGIN TRY/TRAN, idempotent guards (IF OBJECT_ID, IF NOT EXISTS (sys.indexes …)), the change, verification SELECTs, COMMIT, CATCH with rethrow.db/ROLLBACK_<today>_<object>.sql — for procs: -- capture with: SELECT OBJECT_DEFINITION(OBJECT_ID('dbo.<object>')) and a placeholder for the verbatim body; for tables/indexes: the DROP guarded by existence and a note on what data would be lost.db/README.md (artifact, objects, applied ?, verified ?, rollback).Dn entry for OPEN-DECISIONS.md stating the change, the legacy readers checked, and the risk.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./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.Other plugins' skills for the same job