invariant-spec-tests SKILL.md skillA
invariant-spec-tests from infinite-system/ivue is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add infinite-system/ivue/invariant-spec-tests@git:20260825.35ea5adPins git:20260825.35ea5ad in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- infinite-system/ivue
- Path
.claude/skills/invariant-spec-tests/SKILL.md- Versions recorded
- 5
- Latest version
- git:20260825.35ea5ad, committed Aug 25, 2026
- First version recorded
- Aug 25, 2026
- Size
- 8,734 bytes
- Repository stars
- 13
- License
- MIT
How to write a check that proves something — a test is a SPEC: the generator expressed for this implementation. Covers the spec discipline (one test per component or caveat, name = property, annotation = claim, specs grow while defects stay flat) and the assertion rules — smokes, probes, matrix rows, regression tests. Complements drive-pty (how to DRIVE) and the invariants skill (which owns the generator header form). Use when authoring or reviewing any test, smoke, harness probe, or…
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
# invariant-spec-tests — writing checks that can actually fail
Every rule below was harvested from a real incident. Do not extend this file
with taste; extend it only for a failure that actually happened.
## 0. A test is a spec — the generator expressed for this implementation
The generator header at the top of `X.test.ts` (form: invariants skill,
"Generator architecture") states the CLAIMS. The tests beneath it are the
SPEC: the generator expressed for this implementation. The two prove each
other, and the checker holds both directions (#678).
- COMPONENTS. Every `// domain-invariant:` line and every contract-record
pointer in the header is one component of the generator. Each component
has at least one test. A component with no test is unproven; a test whose
claim is not in the header is an unexplained assertion. Both are findings.
- CAVEATS. The `=== GENERATOR-DESCRIBED ===` prose carries the caveats that
narrow the possibility space to THIS implementation ("the cache is keyed
by path, not by content"; "resets are for tests only"). A caveat that
constrains behavior needs a test. A caveat without a test is a wish.
…Read the whole file at its exact version.
How to install
mdr add infinite-system/ivue/invariant-spec-tests@sha256:1e9957b47ef68ec3The line at the top of this page pins the label git:20260825.35ea5ad, 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_tsdpdv77tvuvkmnd)
5 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 5 versions of this file, all committed on Aug 25, 2026.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260825.35ea5ad latest | 2026-08-25 | 35ea5ad | 8,734 B | A | view · diff |
| git:20260825.2f6a0ff | 2026-08-25 | 2f6a0ff | 8,556 B | A | view · diff |
| git:20260825.f19ad19 | 2026-08-25 | f19ad19 | 7,646 B | A | view · diff |
| git:20260825.2e8b8ba | 2026-08-25 | 2e8b8ba | 7,173 B | A | view · diff |
| git:20260825.0328566 | 2026-08-25 | 0328566 | 7,037 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 (8734 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
infinite-system/ivue · 13 stars · license MIT · pushed 2026-10-01 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_tsdpdv77tvuvkmnd GET https://markdownregistry.com/api/v1/resolve?ref=infinite-system/ivue/invariant-spec-tests GET https://markdownregistry.com/api/v1/blob/1e9957b47ef68ec33e5da0e9860174ce055cff4e1d654b7620ed63fec41d0b04
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.