Home / amethystluna / logicprobe · skills/logicprobe-datamodel/SKILL.md · GitHub

logicprobe-datamodel skillA

logicprobe-datamodel is agent-read markdown (skill) from amethystluna/logicprobe: Use when reviewing design documents, architecture specs, technical proposals, schema changes, data contracts, or refactoring plans that make claims about entities, fields, constraints, relationships, data invariants, migration coverage, or before/after data-model equivalence. When the document contains schema changes, data migration logic, or data-behavioral assertions ('all records must have X', 'target count equals source count', 'no orphan rows', 'migration is non-breaking'), escalate into da.

Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.

What the file says

# Logic Probe Data

Documents are not truth — data models are. Verify every verifiable data claim before accepting or acting on a design.

## Methodology

### Phase 1: Enumerate Data Claims

Read the document fully. Extract every verifiable data-model claim:

- Entity/table/collection names and fields
- Field types, nullability, defaults, unique constraints
- Relationships / foreign keys / referential integrity
- Data invariants ("always", "never", "must", "guaranteed")
- Migration claims ("rename field", "drop column", "backfill", "non-breaking")
- Copy/migration mappings ("source.a → target.x")

### Phase 2: Verify Against the Model or Codebase

For each claim, run the relevant verification:

- **Entity/field names**: compare against actual schema, API contract, or code types
- **Constraints**: check declared `required`, `unique`, `nullable`, `min/max`, `enum`
- **Relationships**: check target entity/field exists and `onDelete` is coherent
- **Migration**: build BEFORE/AFTER DataModelV1 and check migration coverage

### Phase 2 Trigger: Escalate to Data Model Verification?

Escalate immediately if the document contains ANY of:
…

Read the whole file at its exact version.

How to install

Latest version
mdr add amethystluna/logicprobe/logicprobe-datamodel@git:20260826.bdfabbb
Exact content
mdr add amethystluna/logicprobe/logicprobe-datamodel@sha256:556870dabec55a71

Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_p35gmxk72ykvj25q.svg)](https://markdownregistry.com/a/art_p35gmxk72ykvj25q)

1 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
git:20260826.bdfabbb latest2026-08-26 bdfabbb 5,772 BA view · diff
git:20260826.6450d572026-08-26 6450d57 5,615 BA view · diff
git:20260826.a09b3f02026-08-26 a09b3f0 5,566 BA view

Audit of the latest version

A  17 of 17 checks passed. Deterministic, no model, same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (5772 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

GitHub

amethystluna/logicprobe · 5 stars · license MIT · pushed 2026-09-22 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_p35gmxk72ykvj25q
GET https://markdownregistry.com/api/v1/resolve?ref=amethystluna/logicprobe/logicprobe-datamodel
GET https://markdownregistry.com/api/v1/blob/556870dabec55a713c364bbef3a737769824fb1e5318751e9e78b30ea58260eb

Your agent 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.

More from amethystluna/logicprobe

CLAUDE.md claude
amethystluna/logicprobe · CLAUDE.md
git:20260903.7602c39 · audit A · 5 stars
logicprobe skill
amethystluna/logicprobe · skills/logicprobe/SKILL.md · Use when reviewing design documents, architecture specs, technical proposals, or refactoring plans that make claims…
git:20260903.7602c39 · audit A · 5 stars

Every file in amethystluna/logicprobe

Browse by kind, by grade A, or by owner.