snowbank-contracts SKILL.md skillA
snowbank-contracts from snowbanksdk/foundationdb-dotnet-client is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add snowbanksdk/foundationdb-dotnet-client/snowbank-contracts@git:20260810.0d8b568Pins git:20260810.0d8b568 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- snowbanksdk/foundationdb-dotnet-client
- Path
plugins/foundationdb-skills/skills/snowbank-contracts/SKILL.md- Versions recorded
- 1
- Latest version
- git:20260810.0d8b568, committed Aug 10, 2026
- Size
- 11,094 bytes
- Repository stars
- 158
- License
- BSD-3-Clause
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…
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Contract (SnowBank.Diagnostics.Contracts) `Contract` is the guard and assertion family used across SnowBank.Core and FoundationDB.Client. It replaces raw `throw new ArgumentNullException(...)`, `ArgumentNullException.ThrowIfNull(...)`, `ArgumentOutOfRangeException.ThrowIf*`, and `System.Diagnostics.Debug.Assert(...)`. The namespace is `SnowBank.Diagnostics.Contracts`; it is a `global using` in the SnowBank projects, add `using SnowBank.Diagnostics.Contracts;` in a consumer. There are **two families**, and they are not interchangeable: 1. **Argument guards** (`Contract.NotNull`, `Positive`, `GreaterThan`, ...) validate arguments that come from OUTSIDE the method. They are the logical equivalent of `if (cond) throw new Argument...Exception(...)`. A failure means the CALLER passed a bad argument. Always on (Debug and Release). Each throws the matching `Argument*` exception. 2. **Condition assertions** (`Contract.Requires`, `Assert`, `Ensures`, `Invariant`, `Fail`) check a condition that must NEVER be false, an invariant of your own code. A failure means the component itself has a bug. Each throws `ContractException`. …
Read the whole file at its exact version.
How to install
mdr add snowbanksdk/foundationdb-dotnet-client/snowbank-contracts@sha256:ee1dc10274a0adbcThe line at the top of this page pins the label git:20260810.0d8b568, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_fmfuyvp5xkwbqdk5)
4 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 1 version of this file, committed on Aug 10, 2026.
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (11094 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
snowbanksdk/foundationdb-dotnet-client · 158 stars · license BSD-3-Clause · pushed 2026-10-20 · branch master
API
GET https://markdownregistry.com/api/v1/artifacts/art_fmfuyvp5xkwbqdk5 GET https://markdownregistry.com/api/v1/resolve?ref=snowbanksdk/foundationdb-dotnet-client/snowbank-contracts GET https://markdownregistry.com/api/v1/blob/ee1dc10274a0adbc4a8da4268d81b3c95a3ab2243e3531f462b2d324d2f9792f
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.
More from snowbanksdk/foundationdb-dotnet-client
Every file in snowbanksdk/foundationdb-dotnet-client