arch-scaffold-entity skillA
arch-scaffold-entity is agent-read markdown (skill) from baristaze/swe_guidelines: Add one entity to an object-model namespace: the frozen type, the table and migration, storage in Postgres and memory, manager operations, wire types, router, and tests. Python..
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
# arch-scaffold-entity
Conventions: `${CLAUDE_SKILL_DIR}/../_shared/scaffold-conventions.md`.
Sections of `${CLAUDE_SKILL_DIR}/../../architecture.md`: Naming
Entities (Identifiers), The Business Layer (Shape of an Operation), The
Storage Layer (Namespace Shape, Defining ORM Classes, Translation, A
Storage Impl, Database Roles, The Second Fence, Migrations), The Network Layer (Service
Interfaces and Impls, Public Types, Realtime at the Edge),
Documentation as Code (A README at Every Level), Cross-Cutting
Conventions (Exceptions).
A section is read with its own introduction.
## Input
`<namespace> <EntityName> [field:type ...] [--role core|activity|queue|admin] [--scope system|org|identity|both] [--person-column <col>] [--no-api]`
Example: `inventory Warehouse address:str timezone:str`. The role
defaults to `core`. Ask in one message for the fields not given and
for the mixins: `Named`? `Trackable`? `SoftDeletable`? For a
`Trackable` entity, ask too whether concurrent edits matter: when they
do, the entity carries a `version`. Ask which fields the manager owns:
the fields it sets and a caller never writes (a `credential_ref`, a
status its transitions own, a position). The answer
…Read the whole file at its exact version.
How to install
mdr add baristaze/swe_guidelines/arch-scaffold-entity@git:20260922.28cefc1mdr add baristaze/swe_guidelines/arch-scaffold-entity@sha256:af2bcc64208469b0Pin 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.
[](https://markdownregistry.com/a/art_scursukixcqdvy6c)
1 badge views in 30 days
Versions
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260922.28cefc1 latest | 2026-09-22 | 28cefc1 | 18,168 B | A | view · diff |
| git:20260922.81ce1ea | 2026-09-22 | 81ce1ea | 15,541 B | A | view · diff |
| git:20260922.e4ae97c | 2026-09-22 | e4ae97c | 14,468 B | A | view · diff |
| git:20260921.419a8e9 | 2026-09-21 | 419a8e9 | 14,626 B | A | view · diff |
| git:20260921.f72eecd | 2026-09-21 | f72eecd | 13,843 B | A | view · diff |
| git:20260921.93b5e1e | 2026-09-21 | 93b5e1e | 12,717 B | A | view · diff |
| git:20260920.a357897 | 2026-09-20 | a357897 | 12,670 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 (18168 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
baristaze/swe_guidelines · 86 stars · license MIT · pushed 2026-09-22 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_scursukixcqdvy6c GET https://markdownregistry.com/api/v1/resolve?ref=baristaze/swe_guidelines/arch-scaffold-entity GET https://markdownregistry.com/api/v1/blob/af2bcc64208469b0b62be4535f5f78a75ee8f3863e5b48278e21bcbddf59c455
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.