Skip to content
Back to skills

Contract Check

ASecurity

Check 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.

  • 8 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 19, 2026
developmenttypescriptc#bashapi

Works with

  • cli
  • api

Security analysis

A100/100

Scanned September 19, 2026

npx -y skills add Adilmunawar/ZD-claude-plugin --skill contract-check --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Contract Check?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Contract Check
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/adilmunawar-contract-check/badge)](https://www.skillsdirectory.com/skills/adilmunawar-contract-check)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: contract-check
description: Check 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.
disable-model-invocation: true
argument-hint: "<mobile-repo-or-endpoints.ts> <api-repo-or-Features-dir>"
context: fork
allowed-tools: Read, Grep, Glob, Bash, Write
---

1. Parse the TypeScript request/response types in the mobile client (`endpoints.ts` and friends) and the C# DTOs in the API's Features (records, `[JsonPropertyName]`, envelope `{status, code, success, message, data}`).
2. Match by route; for each, compare field names (verbatim, including legacy inconsistencies), optionality, numeric-vs-string, dates, enums.
3. Report a table: route · field · mobile type · API type · mismatch kind. Flag routes present on one side only.
4. If the API has compatibility tests for the mobile app, list which mismatches they already cover and which are unguarded.
Write `docs/CONTRACT-CHECK-<date>.md`; nothing is edited.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…