/zd-mobile:api-contractfrom Zaraat Dost · Mobile
Defines the envelope contract, error handling, refresh logic, and parity checks between an Expo app and a .NET API. Useful when maintaining DTO alignment across client and server.
Ships in Zaraat Dost · Mobile. 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.
Envelope: { status, code, success, message, data }. Success is read from success in the body, not the HTTP status. Session responses also carry accessToken/refreshToken at top level.
unwrap() throws ApiError(status, message) when success is false; screens never parse envelopes themselves.fullNamePerCNIC, accountNumberIBAN, sugarcaneArea); renaming on the client is how contracts drift./zd-dotnet:contract-check <mobile-repo> <api-repo> diffs endpoints.ts types against the .NET DTOs both ways; the server's MobileCompatibilityTests pin them. When the .NET repo is not available, diff the TS types against the server's OpenAPI JSON.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
4 skills in this plugin
/app-rulesNon-negotiable rules for the farmer Expo app: RTL-safe layout, single text component, Latin digits, server-truth numbers, secure storage, signing parity./i18n-parityFind missing or unused string keys across language tables; add flagged placeholders; add the parity test./release-checklistPre-release verification for the Expo app: typecheck, tests, bundle check, EAS profile, versions, permissions, model asset, OTA.npx claudepluginhub adilmunawar/zd-claude-plugin --plugin zd-mobileOther plugins' skills for the same job