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

arch-scaffold-namespace skillA

arch-scaffold-namespace is agent-read markdown (skill) from baristaze/swe_guidelines: Create an object-model namespace (a swimlane): the manager interface, types, impl, storage in Postgres and memory, tables, and the wiring into both roots. 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-namespace

Conventions: `${CLAUDE_SKILL_DIR}/../_shared/scaffold-conventions.md`.
Sections of `${CLAUDE_SKILL_DIR}/../../architecture.md`: Namespaces as
Swimlanes, Interfaces (Injectability), The Business Layer
(Cross-Manager Dependencies), The Storage Layer (Namespace Shape,
Storage Root, Cross-Storage Dependencies, The Second Fence),
Documentation as Code (A README at Every Level).

## Input

`<namespace> [FirstEntity] [field:type ...] [--role core|activity|queue|admin] [--scope system|org|identity|both]`

Example: `inventory Warehouse address:str timezone:str`. `<namespace>`
is required; ask for it when missing. `<Ns>` is the namespace in the
singular, in CamelCase (`orders` is `Order`, `inventory` is
`Inventory`), as Namespaces as Swimlanes names interfaces and
getters. `<ns_singular>` is the same singular in snake case (`orders`
gives `order`), which names the storage root's getter. Ask for the
singular when it is not a plain one. When a first entity is named,
the entity arguments, the role, and the scope are forwarded to the entity skill
in step 3; otherwise the namespace is created empty and ready.

## Created

Under `om/src/<root>/om/<ns>/`:
…

Read the whole file at its exact version.

How to install

Latest version
mdr add baristaze/swe_guidelines/arch-scaffold-namespace@git:20260922.81ce1ea
Exact content
mdr add baristaze/swe_guidelines/arch-scaffold-namespace@sha256:97b50396a8a03569

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

1 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
git:20260922.81ce1ea latest2026-09-22 81ce1ea 5,716 BA view · diff
git:20260922.e4ae97c2026-09-22 e4ae97c 5,358 BA view · diff
git:20260921.f72eecd2026-09-21 f72eecd 5,507 BA view · diff
git:20260921.93b5e1e2026-09-21 93b5e1e 5,006 BA view · diff
git:20260920.a3578972026-09-20 a357897 4,863 BA view · diff
git:20260920.c4bb5c22026-09-20 c4bb5c2 4,431 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 (5716 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_soctvj5aa7m2dqdr
GET https://markdownregistry.com/api/v1/resolve?ref=baristaze/swe_guidelines/arch-scaffold-namespace
GET https://markdownregistry.com/api/v1/blob/97b50396a8a03569967a93237cf05913bd5b19b1ff5e0435bfb3ca7919db496d

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.