The sixloom preview loom. It builds every screen and state in design/SCREENS.md in each of the project's interfaces (web, TUI, CLI, mobile or desktop), in the real framework, running on mock data with realistic latency and errors, so humans can review the product before any backend exists. The preview becomes the production interface. Use after the design loom, when the user says "build the preview", "front end", "TUI", "/sxl-preview", or wants a clickable prototype or mock UI.
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: preview. Run it in a new
session. The context pack is spec/SPEC.md, design/SCREENS.md,
design/DESIGN.md and design/exports/.
Run sixloom layout --json. Each entry in interfaces gives you the kind,
the framework, the path (the interface's folder), api_client (the only
module that may talk to the backend), mocks (mock data and scenarios) and
preview_doc (the reviewer's guide). Build each interface exactly there. If
the folder layout the framework wants differs, for example a Rust crate whose
client lives in src/client.rs, record it first:
sixloom layout interface remove tui
sixloom layout interface add tui:ratatui:crates/tui --api-client src/client.rs --mocks src/mocks
That updates sixloom.toml, the agents' rules block and the installed skills.
Every later loom reads the paths from there.
Load the framework skill before writing code: React/Next.js →
vercel-react-best-practices, vercel-composition-patterns; Vue/Nuxt → vue,
nuxt; SvelteKit → svelte-code-writer, svelte-core-bestpractices; Expo →
vercel-react-native-skills; shadcn-ui when the interface's ui_kit is
shadcn. For other frameworks (Ratatui, Bubble Tea, Textual, Ink, clap,
Tauri, …) use the framework's own docs.
<interface path>/
<api_client> the ONLY code that talks to the backend: one typed function per operation
<mocks>/ in-memory fixtures + named scenarios, behind the same interface as the client
screens… one screen/view/command per screen ID in SCREENS.md
PREVIEW.md every screen × state and exactly how to reach it
contracts/openapi.yaml
exists, they are generated from it.SCREENS.md is reachable on demand through a named
scenario (ready, empty, error, slow, offline, forbidden, …),
with realistic latency so loading states actually show. Validation errors
come from the mock exactly as the API will return them.data-testid="S-02.new-project" on the web, a widget or key ID in a
TUI, a command and flag name in a CLI, an accessibility ID on mobile.sixloom trace. On the web this is a data-sxl="F-003.AC1"
attribute, stripped from production builds. Everywhere else it is an
// sxl: F-003.AC1 comment (or # in Python) on the screen's render or
handler function. Comments never reach the binary.Kind-specific patterns:
?sxl=<scenario>, and the
data-sxl strip plugin.SXL_SCENARIO, and how reviewers run each state.DESIGN.md tokens (CSS variables on the web; a theme or style module in a
TUI or native app), and add navigation for every screen ID.PREVIEW.md: how to start it in preview mode
(just preview or just preview-<id>) and a table of every screen × state
with the exact URL, command or key sequence that reaches it.playwright-cli), with no console
errors, and screenshot each state to <path>/.preview-shots/ (gitignored).<path>/.preview-shots/<screen>.<state>.txt.This loom is where the product gets finished, because the user reviews it by
using it. Expect several rounds of "move this", "add that", "this state is
wrong". Each round that changes behavior updates spec/SPEC.md in the same
round: edit the AC text, add the AC, or record a removal, and note it in a
sync change record (sixloom change new "<what>" --kind sync). Pure visual
tweaks only update DESIGN.md. The gate does not pass while the preview shows
behavior the spec does not describe.
Give the reviewer each PREVIEW.md, then ask:
The engineering track starts from this approved preview: sixloom data
(the sxl-data-model loom) in a new session. Each interface's client types and
mock fixtures are the starting point for the data model and the API contract.
What SKILL.md sets; muted values are Claude Code's defaults
/sixloom:sxl-previewfrom 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.