foundationdb-keys-and-layers SKILL.md skillA
This file is byte-identical to the first copy the registry indexed. Same content hash, so the same checks give both the same grade.
foundationdb-keys-and-layers 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/foundationdb-keys-and-layers@git:20261014.c200335Pins git:20261014.c200335 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/foundationdb-keys-and-layers/SKILL.md- Versions recorded
- 6
- Latest version
- git:20261014.c200335, committed Oct 14, 2026
- First version recorded
- Jul 22, 2026
- Size
- 37,323 bytes
- Repository stars
- 158
- License
- BSD-3-Clause
How to correctly encode keys and values, use subspaces and the Directory layer, and write custom "Layers" with the FoundationDB .NET client (FoundationDB.Client / SnowBank). Covers the lazy strongly-typed key structs (subspace.Key(...), FdbTupleKey, FdbRawKey, FdbKey.Increment / Successor / Dump), the tuple encoding (TuPack, IVarTuple, STuple), value encodings (FdbValue.ToBytes / ToTextUtf8 / FromTuple / ToJson / ToFixed64LittleEndian and which one a given access pattern requires), subspaces…
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
# FoundationDB .NET — Keys, Values & Layers FoundationDB is a **single, flat, ordered key/value store**. Both keys and values are byte strings. Keys are sorted **lexicographically by their raw bytes**, and that ordering is the *only* structure the database gives you — every "table", "index", "queue", or "document collection" is an illusion built by choosing key bytes carefully. Getting the key encoding right is therefore the whole game. This skill explains the idiomatic, type-safe API this client provides so you don't reinvent (incorrectly) what already exists. > If you remember one thing: **you almost never touch raw bytes.** You build keys with `subspace.Key(...)` and values with `FdbValue.*`, and you pass those objects *directly* to the transaction. The library renders them to bytes for you, efficiently, at the last moment. --- ## 1. The mental model - A **subspace** is a key prefix. All keys you create live "inside" it. You get subspaces from a **location** resolved against a transaction (see §6). Never hard-code prefixes. …
Read the whole file at its exact version.
How to install
mdr add snowbanksdk/foundationdb-dotnet-client/foundationdb-keys-and-layers@sha256:254fa13e8b9c4afbThe line at the top of this page pins the label git:20261014.c200335, 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_lt7naz532nt7j222)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 6 versions of this file, between Jul 22, 2026 and Oct 14, 2026, about one every 17 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261014.c200335 latest | 2026-10-14 | c200335 | 37,323 B | A | view · diff |
| git:20260924.baa5a30 | 2026-09-24 | baa5a30 | 37,276 B | A | view · diff |
| git:20260908.cbffbe1 | 2026-09-08 | cbffbe1 | 37,118 B | A | view · diff |
| git:20260809.f7377d4 | 2026-08-09 | f7377d4 | 36,443 B | A | view · diff |
| git:20260722.a9a91bc | 2026-07-22 | a9a91bc | 36,404 B | A | view · diff |
| git:20260722.64a5da9 | 2026-07-22 | 64a5da9 | 35,636 B | A | view |
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 (37323 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_lt7naz532nt7j222 GET https://markdownregistry.com/api/v1/resolve?ref=snowbanksdk/foundationdb-dotnet-client/foundationdb-keys-and-layers GET https://markdownregistry.com/api/v1/blob/254fa13e8b9c4afbd57ec9e71c73ead880d6ee7c01be7c1de11977c380eb2285
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