/zd-dotnet:slice-conventionsfrom Zaraat Dost · .NET
Defines layout and conventions for .NET minimal-API vertical slices and Next.js dashboard routes: feature folders, proc-backed data access, policy gating, rate limiting, SQLite test isolation, and frontend route-local libs.
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.
apps/api/src/<Product>.Api/Features/<Feature>/
<Feature>Endpoints.cs MapGroup("/api/v1/<feature>") · .RequireAuthorization("<policy>") · .RequireRateLimiting("<policy>") where heavy
<Feature>Models.cs request/response records; numbers-from-strings where the DB stores numerics as nvarchar
<Feature>Service.cs use-cases over an I<Feature>Data interface
apps/api/src/<Product>.Infrastructure/Procedures/ SqlServer<Feature>Data: proc calls, column names verbatim from the legacy proc
apps/api/src/<Product>.Gateway/ YARP front door; TLS from the Windows cert store; forwarded headers trusted from loopback only
apps/api/tests/<Product>.Tests/ xUnit; SQLite provider + WebApplicationFactory; UseLocalSettings=false so tests can never reach a real server
apps/web/app/(app)/<route>/ page.tsx · _components/ · _lib/ (route-local math + *.test.ts with vitest)
apps/web/lib/ shared helpers: area.ts (the /8 rule, once), terminology, crop-auth, gee/
Rules
422 with a report, never a raw 500; files are written before the transaction and deleted after commit.NEXT_PUBLIC_API_BASE is baked at build time.dotnet build treats warnings as errors; Directory.Packages.props pins versions centrally.What SKILL.md sets; muted values are Claude Code's defaults
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