flat-test-persistence SKILL.md skillA
flat-test-persistence from wntic/pyhouse is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add wntic/pyhouse/flat-test-persistence@git:20261011.37d6f36Pins git:20261011.37d6f36 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- wntic/pyhouse
- Path
plugins/pyhouse-flat/skills/flat-test-persistence/SKILL.md- Versions recorded
- 5
- Latest version
- git:20261011.37d6f36, committed Oct 11, 2026
- First version recorded
- Sep 29, 2026
- Size
- 10,452 bytes
- Repository stars
- 3
- License
- MIT
Use when testing a flat-layered service's data-access package against the real datastore — its tables and the repository class that owns its transactions — pinning the generated constraint name where the translator branches on it, the catalogue exception a driver error is translated into on each write and read the class has, what each read returns, and each write's conditional contract where it has one — an upsert's update set from both sides, an ordering-stamp guard where writes for one key…
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
# Flat Test — Data-Access Contract Consult `test-principles` for the testing constitution. Where this skill contradicts `test-principles`, the constitution wins. One integration-test file per repository class, under the distribution's own `tests/integration/`, driven against the **real** datastore from `flat-test-integration-setup`. This is the only level that can catch what the data-access package exists to guarantee: that a conflict updates the columns it claims to, that a read returns what the store holds, and that a driver error arrives as the service's own exception. Where several distributions share one data-access library, the files sit with that library's own tests instead — `myschema/tests/integration/` — and nothing else changes. **The isolation fixture follows the declared transaction owner** (`test-principles` reliability rule 2): `connection` for every assertion query and for a callable that accepts a connection; the `engine` fixture handed to the repository class's constructor, with `truncate_all` cleaning up, for one that opens its own — asserting through a fresh connection only where its own rollback is under test (rule 10). ## When to use vs. neighbours …
Read the whole file at its exact version.
How to install
mdr add wntic/pyhouse/flat-test-persistence@sha256:035878fbb5b9d121The line at the top of this page pins the label git:20261011.37d6f36, 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_w2dhd5enjjntmtw6)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 5 versions of this file, between Sep 29, 2026 and Oct 11, 2026, about one every 3 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261011.37d6f36 latest | 2026-10-11 | 37d6f36 | 10,452 B | A | view · diff |
| git:20261011.23cb839 | 2026-10-11 | 23cb839 | 11,182 B | A | view · diff |
| git:20260929.449c56a | 2026-09-29 | 449c56a | 11,186 B | A | view · diff |
| git:20260929.8d5c111 | 2026-09-29 | 8d5c111 | 11,104 B | A | view · diff |
| git:20260929.987737b | 2026-09-29 | 987737b | 11,132 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 (10452 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
wntic/pyhouse · 3 stars · license MIT · pushed 2026-11-05 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_w2dhd5enjjntmtw6 GET https://markdownregistry.com/api/v1/resolve?ref=wntic/pyhouse/flat-test-persistence GET https://markdownregistry.com/api/v1/blob/035878fbb5b9d121891e367944ed2a1f8999ce2a6022ab30fe1e4582ca27be2d
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.