Registry / snowbanksdk

snowbanksdk/foundationdb-dotnet-client/snowbank-contracts

How to guard arguments and assert invariants with the Contract family in SnowBank.Core (namespace SnowBank.Diagnostics.Contracts): the argument guards (Contract.NotNull / NotNullOrEmpty / NotNullOrWhiteSpace / Positive / GreaterThan / GreaterOrEqual / LessThan / LessOrEqual / EqualTo / NotEqualTo / ValueNotNull) that validate a caller's arguments and throw ArgumentNullException / ArgumentException / ArgumentOutOfRangeException, versus the condition assertions (Contract.Requires / Assert / Ensure

Agent skill · version 7.4.7 · from SnowBankSDK/foundationdb-dotnet-client

Install

npx yarkr-cli add skill:snowbanksdk/foundationdb-dotnet-client/snowbank-contracts

Without Node.js, on macOS and Linux (curl or wget):

curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:snowbanksdk/foundationdb-dotnet-client/snowbank-contracts
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:snowbanksdk/foundationdb-dotnet-client/snowbank-contracts

On Windows, in PowerShell:

irm https://yarkr.com/install.ps1 | iex; yarkr add skill:snowbanksdk/foundationdb-dotnet-client/snowbank-contracts

Works with Claude Code, Codex, opencode, Cursor, any harness over MCP.