/midnight-verify:verify-sdkfrom midnight-verify
Routes SDK/TypeScript claims to verification methods: type-checking (tsc --noEmit), devnet E2E testing, source inspection, or package checks. Handles claims about SDK API or user code using the SDK.
Ships in midnight-verify. 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.
This skill classifies SDK/TypeScript claims and determines which verification method to use. The /midnight-verify:verify command loads this alongside the midnight-verify:verify-correctness hub skill.
When you receive an SDK-related claim, classify it using this table to determine which agent(s) to dispatch:
| Claim Type | Example | Dispatch |
|---|---|---|
| API function exists | "deployContract is exported from contracts" | @"midnight-verify:type-checker (agent)" |
| Function signature / return type | "deployContract returns DeployedContract" | @"midnight-verify:type-checker (agent)" |
| Type/interface shape | "MidnightProviders has a walletProvider field" | @"midnight-verify:type-checker (agent)" |
| Import path correctness | "import { deployContract } from '@midnight-ntwrk/midnight-js-contracts'" | @"midnight-verify:type-checker (agent)" |
| Error class hierarchy | "CallTxFailedError extends TxFailedError" | @"midnight-verify:type-checker (agent)" |
| Package exists / version | "@midnight-ntwrk/midnight-js-contracts is at version 4.1.1" | @"devs:deps-maintenance (agent)" (fallback: run npm view directly) |
| Export count / package structure | "contracts package exports 91 symbols" | @"midnight-verify:source-investigator (agent)" |
| Implementation details | "httpClientProofProvider retries 3 times with exponential backoff" | @"midnight-verify:source-investigator (agent)" |
| Provider internal behavior | "LevelDB provider encrypts with AES-256-GCM" | @"midnight-verify:source-investigator (agent)" |
| Deploy/call lifecycle behavior | "deployContract deploys and returns a contract address" | @"midnight-verify:sdk-tester (agent)" |
| Transaction pipeline behavior | "submitCallTx proves, balances, submits, and waits" | @"midnight-verify:sdk-tester (agent)" |
| State query behavior | "getPublicStates returns on-chain ledger state" | @"midnight-verify:sdk-tester (agent)" |
| Claim Type | Example | Dispatch |
|---|---|---|
| DApp code type-correctness | "This provider setup code is valid" | @"midnight-verify:type-checker (agent)" |
| Witness implementation | "This witness correctly implements the contract interface" | @"midnight-verify:witness-verifier (agent)" |
| Provider configuration | "This provider config connects to devnet correctly" | @"midnight-verify:type-checker (agent)" + @"midnight-verify:sdk-tester (agent)" |
| Import usage patterns | "This file's SDK imports are correct" | @"midnight-verify:type-checker (agent)" |
| Transaction handling code | "This error handling catches CallTxFailedError" | @"midnight-verify:type-checker (agent)" |
| E2E integration | "This deploy+call flow works against devnet" | @"midnight-verify:sdk-tester (agent)" |
File verification (.ts with SDK imports) | /midnight-verify:verify app.ts | @"midnight-verify:type-checker (agent)" (types) + @"midnight-verify:sdk-tester (agent)" (behavior, if devnet available) |
| Cross-domain (types + behavior) | "calling increment changes counter from 0 to 1" | @"midnight-verify:type-checker (agent)" + @"midnight-verify:sdk-tester (agent)" (concurrent) |
When in doubt:
npm view fallback)When multiple methods apply, dispatch concurrently. Type-checking and devnet testing are independent and can run in parallel.
Sub-agents may load these skills for context. They are hints only — never cite skill content as evidence in the verdict.
midnight-dapp-dev:midnight-sdk skill — provider setup, component overviewmidnight-dapp-dev:dapp-connector skill — wallet integration patternscompact-core:compact-witness-ts skill — witness implementation patternsmidnight-dapp-dev:midnight-sdk skill — deployment patternsLoad only what's relevant to the specific claim.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
19 skills in this plugin
/verify-by-cli-executionmidnight-verify:verify-by-cli-executionVerification by running Compact CLI commands and observing output. Checks CLI availability, runs commands, captures stdout/stderr/exit code, inspects filesystem changes, and interprets results. Covers flag existence, flag behavior, output structure, error messages, exit codes, version info, and CLI-vs-compactc comparisons. Loaded by the cli-tester agent./verify-by-devnetmidnight-verify:verify-by-devnetVerification by running E2E scripts against a local Midnight devnet. Writes SDK test scripts (raw or using testkit-js) that exercise the full transaction pipeline: deploy, call circuits, observe state. Checks devnet health before proceeding. Loaded by the sdk-tester agent. Loads the `midnight-tooling:devnet` skill for infrastructure management./verify-by-executionmidnight-verify:verify-by-executionVerification by compilation and execution. Translates a Compact claim into a minimal test contract, compiles it with the Compact CLI, runs the compiled output with @midnight-ntwrk/compact-runtime, and interprets the result. Loaded by the contract-writer agent. Covers workspace setup (lazy init), contract writing, compilation, runner script creation, execution, and result interpretation. References midnight-tooling:compact-cli for compilation details.npx claudepluginhub midnightntwrk/midnight-expert --plugin midnight-verifyOther plugins' skills for the same job