foundationdb-transactions 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-transactions 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-transactions@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
.claude/skills/foundationdb-transactions/SKILL.md- Versions recorded
- 6
- Latest version
- git:20261014.c200335, committed Oct 14, 2026
- First version recorded
- Jul 22, 2026
- Size
- 14,854 bytes
- Repository stars
- 158
- License
- BSD-3-Clause
How to correctly run transactions with the FoundationDB .NET client (FoundationDB.Client / SnowBank): the db.ReadAsync / WriteAsync / ReadWriteAsync retry loop and why a handler must be safe to run more than once, the 5-second and size limits, conflicts and how to avoid them, snapshot reads, explicit conflict ranges, atomic mutations (AtomicAdd32/64, AtomicIncrement, AtomicMin/Max and the lexicographic ByteMin/ByteMax, AtomicAnd/Or/Xor, AtomicCompareAndClear, AtomicAppendIfFits), and watches.…
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 — Transactions & the Retry Loop FoundationDB gives you **serializable, ACID transactions** over the whole keyspace. The catch: a transaction may **conflict** and need to be retried, and it has hard limits (time and size). The .NET client handles retries for you via a **retry loop** — but only if you use it correctly. The single biggest source of bugs is writing a transaction handler that is **not safe to run more than once**. If you are encoding keys/values inside the transaction, read the **`foundationdb-keys-and-layers`** skill too. --- ## 1. Always use the retry loop Don't manually `BeginTransaction` / `CommitAsync` in application code. Use the retryable methods on `IFdbDatabase` (or `IFdbDatabaseProvider`). Pick the narrowest one: | Method | Transaction type | Use for | |---|---|---| | `db.ReadAsync(handler, ct)` | `IFdbReadOnlyTransaction` | reads only; returns a result | | `db.WriteAsync(handler, ct)` | `IFdbTransaction` | mutations that return **nothing** (the handler may still read — its transaction is a full read/write one) | | `db.ReadWriteAsync(handler, ct)` | `IFdbTransaction` | mutations that must **return a value** out of the transaction | …
Read the whole file at its exact version.
How to install
mdr add snowbanksdk/foundationdb-dotnet-client/foundationdb-transactions@sha256:44dc1a672b4b7fe5The 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_tpivd7aglrkxh7x4)
2 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 | 14,854 B | A | view · diff |
| git:20260906.ccf8079 | 2026-09-06 | ccf8079 | 14,748 B | A | view · diff |
| git:20260823.0303e81 | 2026-08-23 | 0303e81 | 14,467 B | A | view · diff |
| git:20260817.3a478bf | 2026-08-17 | 3a478bf | 14,195 B | A | view · diff |
| git:20260722.d301a07 | 2026-07-22 | d301a07 | 13,503 B | A | view · diff |
| git:20260722.a9a91bc | 2026-07-22 | a9a91bc | 13,018 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 (14854 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_tpivd7aglrkxh7x4 GET https://markdownregistry.com/api/v1/resolve?ref=snowbanksdk/foundationdb-dotnet-client/foundationdb-transactions GET https://markdownregistry.com/api/v1/blob/44dc1a672b4b7fe557e43e9a976a59106fdb7ec9b4bde19060e67d67e1123ee7
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