stnd.build

Ecosystem & Capabilities

The complete map of the 26 @stnd/* packages — organized into the 3 Concentric Circles (Core Framework, Application Superpowers, and Specialized Satellites) plus the capability lookup matrix.

The Standard monorepo ships 26 @stnd/* packages. To prevent utility plumbing from drowning out the load-bearing pillars, the ecosystem is organized into three concentric circles, followed by a capability lookup matrix (“I want to build X $\rightarrow$ use package Y”).


1. The Three Concentric Circles

flowchart TD
  subgraph C1["CIRCLE 1: THE INVIOLABLE CORE (4 Pillars · 7 Packages)"]
    direction LR
    K1["@stnd/core & @stnd/modules<br><i>App engine, vertical slices, virtual hooks</i>"]
    K2["@stnd/styles & @stnd/themes<br><i>Tokens, Swiss grid, OKLCH, 34 themes</i>"]
    K3["@stnd/ui & @stnd/layout<br><i>Zero-dep UI primitives & document shells</i>"]
    K4["@stnd/press<br><i>Markdown compiler, wikilinks, AST</i>"]
  end

  subgraph C2["CIRCLE 2: APPLICATION SUPERPOWERS (7 Official Extensions)"]
    direction LR
    E1["@stnd/launcher<br><i>Cmd+K command palette & shortcuts</i>"]
    E2["@stnd/icon & @stnd/fonts<br><i>130+ SVG icons, Lottie, self-hosted fonts</i>"]
    E3["@stnd/cloudflare & @stnd/account<br><i>D1 SQLite, R2 storage, Better-Auth</i>"]
    E4["@stnd/mcp & @stnd/cli<br><i>AI Law verification & CLI scaffolding</i>"]
  end

  subgraph C3["CIRCLE 3: SATELLITES & PLUMBING (12 Specialized Packages)"]
    direction LR
    S1["@stnd/loader & @stnd/ingest<br><i>Obsidian Vault, Notion, DOCX/PDF to MD</i>"]
    S2["@stnd/store & @stnd/log<br><i>Cross-island state & structured telemetry</i>"]
    S3["@stnd/server, @stnd/client, @stnd/dom, @stnd/utils<br><i>SSR headers, vanilla enhancers, DOM helpers</i>"]
    S4["@stnd/art & @stnd/workshop<br><i>Seed-based generative art & live inspector</i>"]
  end

  C1 --> C2 --> C3

2. Capability Matrix (“How do I…?“)

When coding in Zed, look up your goal in the left column to jump straight to the right package and guide:

I want to… Package Primary Guide / Entrypoint
Create a vertical-slice feature module (routes, styles, config) @stnd/core Building a Module
Inject UI into a shared zone (stnd:base) or register an action @stnd/core Hooks & Extension Points
Create or customize a color/typography theme from 2 OKLCH seeds @stnd/themes Creating a Theme
Look up text size classes (.text-sm) vs tokens (var(--scale-d2)) @stnd/styles Typography & Text Scale
Align items with Flexbox (.flex-far, .center-content, .items-center) @stnd/styles Flexbox & Layout
Space elements with padding, margin, or rhythm gaps (.px-2, .gap-2) @stnd/styles Spacing & Sizing
Build a 12-column Swiss grid (.grid, .col-4 sm:col-12) @stnd/styles Grid System
Inspect responsive scaling, mobile ratio compression, and touch targets @stnd/styles Responsive & Mobile Architecture
Apply semantic surfaces, borders, or shadows (.bg-surface, .text-muted) @stnd/styles Color System & Surfaces
Open a Modal Dialog, Toast, Accordion, Popover, or Combobox @stnd/ui UI Components
Wrap a route in the standard HTML shell (<Base>, <Header>, <Footer>) @stnd/layout Page Layouts
Add a Cmd+K command palette action or keyboard shortcut @stnd/launcher @stnd/launcher
Compile Markdown, frontmatter, and [[Wikilinks]] @stnd/press @stnd/press
Convert a Word (.docx), PDF, or HTML file into clean Markdown @stnd/ingest @stnd/ingest
Load an Obsidian Vault or Notion database @stnd/loader @stnd/loader
Render an SVG icon or Lottie animation @stnd/icon @stnd/icon
Generate deterministic user avatars from a username seed in Svelte 5 @stnd/art @stnd/art
Query Cloudflare D1 (SQLite), R2 storage, or KV @stnd/cloudflare Edge Database & Auth
Authenticate users with Better-Auth sessions @stnd/account @stnd/account
Share reactive state across Astro islands (localStorage backed) @stnd/store @stnd/store
Emit structured logs or fatal diagnostic errors (Law #7) @stnd/log @stnd/log
Verify the 8 Laws & lint markup from Claude / Cursor / Zed @stnd/mcp MCP Specification

3. Complete Package Directory by Circle

Circle 1 — The Inviolable Core (4 Pillars)

Package Pillar Summary
@stnd/core 1. App Engine Astro integration (standard()), vertical-slice loader, virtual hooks (virtual:stnd/hooks), config merger.
@stnd/modules 1. App Engine Built-in vertical-slice modules (prism, theme-utils, fonts, icons, headers, toast, sitemap).
@stnd/styles 2. Visual System Semantic reset, design tokens, OKLCH color engine, 12-column Swiss grid, vertical rhythm, utilities.
@stnd/themes 2. Visual System 34 native temperaments compiled from tokens.yaml across Web CSS, Obsidian, and Zed.
@stnd/ui 3. UI Primitives Accessible, zero-dependency Astro & Svelte 5 components (Dialog, Toast, Accordion, Popover, Combobox).
@stnd/layout 3. UI Primitives Document shells and application windows (Base.astro, Window.astro, Panel.astro, Meta.astro).
@stnd/press 4. Editorial Engine Markdown compiler, YAML frontmatter parser, [[Wikilink]] resolver, and typographic AST transformations.

Circle 2 — Application Superpowers (Official Extensions)

Package Role Summary
@stnd/launcher Command Palette Global Cmd+K modal, fuzzy action search, keyboard shortcut dispatcher, and custom Svelte views.
@stnd/icon Visual Assets <Icon> component with build-time tree-shaking (130+ icons) and Lottie animation support.
@stnd/fonts Typography Self-hosted variable and editorial font families with zero external network requests.
@stnd/cloudflare Edge Runtime Cloudflare Workers/Pages bindings for D1, R2, KV, Images, and immutable cache headers.
@stnd/account Authentication User identity, session management, and magic-link auth built on Better-Auth.
@stnd/mcp AI Verification Local stdio and remote HTTP (stnd.build/api/mcp) MCP server for Law verification and markup linting.
@stnd/cli Tooling stnd CLI for scaffolding new projects and running structural diagnostics.

Circle 3 — Specialized Satellites & Internal Plumbing

Package Status Summary
@stnd/loader Active Content loaders for local Obsidian Vaults (@stnd/loader-vault) and Notion (@stnd/loader-notion).
@stnd/ingest Active Converts .docx, .pdf, .html, and .rtf files into clean Markdown ready for @stnd/press.
@stnd/store Active Reactive state stores and localStorage sync across Astro islands.
@stnd/log Active Structured ::stnd:: console logger and fatal diagnostic error formatter.
@stnd/server Active SSR request/response helpers and security header utilities.
@stnd/client Active Zero-dependency progressive enhancers (copy buttons, image zoom, scroll wrappers, keyboard listeners).
@stnd/dom Internal Low-level DOM query, focus-trap, and portal micro-utilities used by @stnd/ui.
@stnd/utils Internal Isomorphic TypeScript/JavaScript helpers (slugify, date formatting, schema validation).
@stnd/art Active Deterministic seed-based generative art components (Avatar, ArtButton, IdentityProvider) in Svelte 5.
@stnd/workshop Active Design workshop to edit tokens live (]) and baseline grid overlay (Shift+Cmd+D).
@stnd/ai Paused OpenRouter client (paused — prefer @stnd/mcp or native Cloudflare Workers AI).