Home / baristaze / swe_guidelines · skills/arch-scaffold-entity/SKILL.md · GitHub

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

Latest version
mdr add baristaze/swe_guidelines/arch-scaffold-entity@git:20260922.28cefc1
Exact content
mdr add baristaze/swe_guidelines/arch-scaffold-entity@sha256:af2bcc64208469b0

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_scursukixcqdvy6c.svg)](https://markdownregistry.com/a/art_scursukixcqdvy6c)

1 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
git:20260922.28cefc1 latest2026-09-22 28cefc1 18,168 BA view · diff
git:20260922.81ce1ea2026-09-22 81ce1ea 15,541 BA view · diff
git:20260922.e4ae97c2026-09-22 e4ae97c 14,468 BA view · diff
git:20260921.419a8e92026-09-21 419a8e9 14,626 BA view · diff
git:20260921.f72eecd2026-09-21 f72eecd 13,843 BA view · diff
git:20260921.93b5e1e2026-09-21 93b5e1e 12,717 BA view · diff
git:20260920.a3578972026-09-20 a357897 12,670 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 (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

GitHub

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.

More from baristaze/swe_guidelines

AGENTS.md agents
baristaze/swe_guidelines · AGENTS.md
git:20260922.a3c1e91 · audit A · 86 stars
CLAUDE.md claude
baristaze/swe_guidelines · CLAUDE.md
git:20260915.6033a4d · audit B · 86 stars
arch-benchmark-browser skill
baristaze/swe_guidelines · skills/arch-benchmark-browser/SKILL.md · Run the benchmark prompt in the chatgpt.com, claude.ai, and gemini.google.com products, signed in, and save each answer…
git:20260922.28cefc1 · audit A · 86 stars
arch-benchmark skill
baristaze/swe_guidelines · skills/arch-benchmark/SKILL.md · Run a benchmark scenario (a skill, a command, or a question) in a declared runtime and have frontier models score it…
git:20260922.28cefc1 · audit A · 86 stars
arch-deviate skill
baristaze/swe_guidelines · skills/arch-deviate/SKILL.md · Record a deliberate deviation from the guideline as an ADR under docs/adr/: the rule quoted, the decision, the…
git:20260922.81ce1ea · audit A · 86 stars
arch-explain skill
baristaze/swe_guidelines · skills/arch-explain/SKILL.md · Explain how the guideline applies to a question, a file, or a change, citing the sections and lenses that govern it…
git:20260922.e4ae97c · audit A · 86 stars
arch-new-aspect skill
baristaze/swe_guidelines · skills/arch-new-aspect/SKILL.md · Incorporate a new aspect into the guideline and cascade it through the lenses, skills, docs, and README, naming the…
git:20260922.28cefc1 · audit A · 86 stars
arch-review-async skill
baristaze/swe_guidelines · skills/arch-review-async/SKILL.md · Architecture review through the Async lenses: infra, queues, workers, park vs fail. For a change in this area, or as…
git:20260922.28cefc1 · audit A · 86 stars
arch-review-context skill
baristaze/swe_guidelines · skills/arch-review-context/SKILL.md · Architecture review through the Context lenses: stages, scopes, OperatorContext, authorization, tenancy, provenance…
git:20260922.28cefc1 · audit A · 86 stars
arch-review-contracts skill
baristaze/swe_guidelines · skills/arch-review-contracts/SKILL.md · Architecture review through the Contracts lenses: interfaces, injection, wiring. For a change in this area, or as one…
git:20260922.28cefc1 · audit A · 86 stars
arch-review-delivery skill
baristaze/swe_guidelines · skills/arch-review-delivery/SKILL.md · Architecture review through the Delivery lenses: apps, deployment, repo layout, client architecture, logs and…
git:20260922.28cefc1 · audit A · 86 stars
arch-review-full skill
baristaze/swe_guidelines · skills/arch-review-full/SKILL.md · Full architecture review: the eight lens groups of the guideline run in parallel and merge into one report. Use before…
git:20260922.28cefc1 · audit A · 86 stars

Every file in baristaze/swe_guidelines

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