hex-restapi-schema SKILL.md skillA
hex-restapi-schema 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/hex-restapi-schema@git:20261011.2b4d471Pins git:20261011.2b4d471 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-hex/skills/hex-restapi-schema/SKILL.md- Versions recorded
- 5
- Latest version
- git:20261011.2b4d471, committed Oct 11, 2026
- First version recorded
- Sep 27, 2026
- Size
- 9,451 bytes
- Repository stars
- 3
- License
- MIT
Use when a REST request or response body gains or changes a field — the pydantic models in `restapi/schemas/<resource>.py` (`FooResponse`, `FooListResponse`, `FooCreateRequest`, `FooUpdateRequest`), PATCH `T | None = None` semantics, pagination shape, schema exports. Not the domain entity they mirror (`hex-domain-model`) and not the route that maps them (`hex-restapi-endpoint`).
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
# Hex REST — API Schema Produces one resource's schema module — the declared HTTP wire format for that resource, written here as pydantic models. The module is the boundary itself: domain entities never cross the wire, and schemas never cross into application or domain code. ## When to use vs. neighbours - Per-resource Pydantic schemas (request/response), including a field added to or removed from a body → this skill. - The route that consumes these schemas and maps them field by field → `hex-restapi-endpoint`. - The entity, value object, enum or filter record these models mirror — never imported here beyond enums → `hex-domain-model`. - Cross-cutting `ErrorResponse` / `error_responses()` in `restapi/schemas/errors.py` → `hex-restapi-app`; which of those codes a route advertises → `hex-restapi-endpoint`. - The handlers beneath this delivery layer, and the command DTO carrying the same partial-update contract → `hex-application`. - The container beneath this delivery layer → `hex-wiring`. - The four schema names and any field name → `naming`; `__all__` and the wildcard re-export into `schemas/__init__.py` → `python-packaging`. …
Read the whole file at its exact version.
How to install
mdr add wntic/pyhouse/hex-restapi-schema@sha256:78f92c91a9e90266The line at the top of this page pins the label git:20261011.2b4d471, 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_2em5et5unve4dzeu)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 5 versions of this file, between Sep 27, 2026 and Oct 11, 2026, about one every 3 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261011.2b4d471 latest | 2026-10-11 | 2b4d471 | 9,451 B | A | view · diff |
| git:20260929.468babc | 2026-09-29 | 468babc | 9,689 B | A | view · diff |
| git:20260928.5f5e101 | 2026-09-28 | 5f5e101 | 9,927 B | A | view · diff |
| git:20260927.1b409c2 | 2026-09-27 | 1b409c2 | 10,112 B | A | view · diff |
| git:20260927.ca58a1a | 2026-09-27 | ca58a1a | 10,415 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 (9451 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_2em5et5unve4dzeu GET https://markdownregistry.com/api/v1/resolve?ref=wntic/pyhouse/hex-restapi-schema GET https://markdownregistry.com/api/v1/blob/78f92c91a9e9026683f3dc2ea85a68bdce84be26555259669434f338d82baeca
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.