The sixloom high-level system design loom. It lists the services and components, their responsibilities, the data stores and integrations, and how a request flows through them, with a Mermaid diagram as the diffable source and a draw.io file for humans. It records the stack decisions as ADRs. Use after the data model is approved, when the user says "system design", "architecture", "/sxl-system-design", or asks for a services diagram.
Ships in sixloom. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Follow the sxl-loom protocol. Loom ID: system. Run it in a new
session. The context pack is spec/SPEC.md,
<content>/architecture/data-model.mdx and sixloom.toml.
Keep it high level: boxes and arrows a newcomer understands in five minutes. Class diagrams and folder layouts do not belong here.
Start with the smallest design that works. For most v1 products that is one front end, one API service, one database, and the external services the spec forces (email, payments, storage, auth provider). Add a component only when an AC or rule needs it (a queue for "send the report within 5 minutes", a cache for a hot path in the data model). Name the AC or rule.
Responsibilities. For each component, give one sentence on what it owns, plus the data entities it is the single writer for.
Key flows. Write one Mermaid sequenceDiagram per key flow in the
spec, covering the request path and the failure path (what the user sees
when each hop fails, matching the error states in SCREENS.md).
Stack decisions (ADRs). For language, framework, database, hosting, auth, and how tests run the backend locally (containers or an in-memory database), give one ADR each: context, options considered, decision, consequences. Prefer what the team already knows (ask once) and what runs in CI without paid services.
Non-functional notes from the spec only: data residency, retention, expected load. Do not invent SLOs the spec does not ask for.
Record the layout. The pattern and every service's folder are
project rules, not prose. Choose the pattern (monolith,
modular-monolith, microservices, serverless, local-only) and the
folders in an ADR, then record them:
sixloom layout pattern monolith
sixloom layout service add api --kind http-api --stack hono-node --path services/api
sixloom layout service add worker --kind worker --stack hono-node --path services/worker
Pick folders that fit the stack's conventions: services/<id> by default,
crates/<id> in a Rust workspace, cmd/<id> + internal/ in Go, or
packages/<id> in a JS monorepo. Use the same convention for the
interfaces; move them with sixloom layout interface … if needed. A product
with no backend records local-only and no services. This updates
sixloom.toml, the rules block in AGENTS.md/CLAUDE.md and the skills,
and every later loom (tests, build, CI) reads the folders from there.
sixloom loom check system fails until the pattern and services are
recorded.
<content>/architecture/system-design.mdx (see SYSTEM.template.mdx) with:
flowchart of the components. This is the source of truth.sixloom layout, the
sequence diagrams, and the ADRs. Each
sequence diagram and each component gets a trace marker,
<sub>sxl: F-003</sub>, naming the features it serves.docs/diagrams/system.drawio is the human-editable view. Generate it from
the Mermaid source: draw.io imports Mermaid through Arrange → Insert →
Advanced → Mermaid. When writing the file directly, emit one <mxCell> per
node and edge with simple grid coordinates, using the same labels as the
Mermaid source. Keep the two in sync at every loom end. Writing draw.io XML by
hand costs many tokens, so update the Mermaid first and regenerate.
End with sixloom loom end system --approve. It commits the page, the
diagram, sixloom.toml and the refreshed rules.
sixloom layout the ones you want?/sxl-api-docs in a new session.
What SKILL.md sets; muted values are Claude Code's defaults
/sixloom:sxl-system-designfrom sixloom
npx claudepluginhub datamonsterr/sixloom --plugin sixloom15 skills in this plugin
/diagnosing-bugsDiagnosis loop for hard bugs and performance regressions. Use when the user says "diagnose"/"debug this", or reports something broken/throwing/failing/slow./grillingGrill the user relentlessly about a plan, decision, or idea. Use when the user wants to stress-test their thinking, or uses any 'grill' trigger phrases./sixloomThe entry point for sixloom. The user drives the whole framework from the chat, and you run the `sixloom` CLI for them. Use whenever the user says "sixloom …" or "/sixloom …" (init, status, next, spec, design, preview, data model, system design, api, tests, build, patch, validate, done, approve), asks where the project stands, or asks to move to the next step. The user never has to open a terminal./sxl-api-docsThe sixloom API and documentation loom. It writes the OpenAPI contract (contracts/openapi.yaml) from the spec, data model and system design, reconciles it with the preview's mocks, and scaffolds a GitBook-style docs site (Fumadocs, Docusaurus or Starlight) with the API reference, architecture pages, install guide and codebase tour that a newcomer reads first. Use after the system design is approved, when the user says "API docs", "/sxl-api-docs", "documentation site", or asks for an OpenAPI spec./sxl-buildThe sixloom autonomous build loom. With the preview and the API docs as the goal and the locked test suites as the stop condition, it implements the product in vertical slices with TDD, runs parallel subagents in separate git worktrees, opens a PR per slice, waits for CI to go green, merges, and repeats until every locked test passes against the real backend. It then runs sxl-validate. Use when the tests loom is approved, or when the user says "/sxl-build", "build it", "implement everything", or "run the autonomous loop"./sxl-data-modelThe sixloom data model loom (data-first design). It derives entities, attributes, relationships, constraints and lifecycle states from spec/SPEC.md and the approved preview's data needs, and writes a reviewable data-model.mdx page with a rendered ER diagram, one table per entity, and a traceability table. Use after the preview is approved, when the user says "data model", "/sxl-data-model", "design the database", or asks for entities, an ERD or a schema.