The SDLC pipeline
Prototype
A clickable HTML prototype of the main screens, shown in a locked-down frame.
4 min read4 sections
The Prototype step builds a clickable UI prototype of the product's main screens, so the client can move through the product and agree on its shape before anyone builds it. It is the one document that is not Markdown: a single self-contained HTML file. It runs beside the chain. It finishes as Awaiting your review, with Approve and Request changes; because it is HTML, it cannot be edited in the platform. Approving it unlocks nothing; nothing waits for it.
What you get
A UI Prototype: a set of screens (you choose how many, up to 20) covering the main flows the must-priority requirements describe, entry, the core task end to end, a list and a detail view, the key form with its validation states, and an important error or empty state. The screens follow the idiom of the client framework the TAD chose, and use realistic sample content from the client's domain.
Each screen has an id (SCR-01, SCR-02 …), a name, a one-sentence purpose, the requirement ids it serves and the screens it links to. The agent builds the screens up to four at a time, and the reader opens them on the prototype board: every screen side by side with the paths between them, Play mode at three device sizes, and the requirement coverage.
Before you run it
-
The TAD must exist. It does not need to be approved. Until it exists, the step list shows "Run Technical Architecture first" on the UI Prototype row.
-
Choose the look. The first time you run
/protoin a project, Alara Code asks you to choose the prototype's design system and one of its palettes, and optionally its backdrop, colour mode, fonts and how many screens to build. A design system is a full brand guideline: typography, colour, spacing, corners, shadows and depth, motion, form elements, layout patterns, icons, states and voice. Each card shows a small preview in the system's own style, in light or dark, and the three that suit the project best are marked Suggested. The choice becomes the project's: later runs, Request changes and Rebuild failed screens use it without asking. If the client has a brand, add it once in the project's Brand card and every run uses it. See Choose the look and add the brand.The design systems. Twelve are described here; the others are Mono, Lucid, Workspace, Canvas, Haven, Kinetic Studio, Retro Pop, Organic Earth, Noir Luxe, Terminal, Precision, Gradient Bloom and Zen Minimal, 25 in all:
Design system Style Clean Corporate Calm and neutral, one confident accent; the default Glassmorphism Frosted, translucent panels over a vivid gradient Liquid Glass / Aurora Glossy gradients and soft glows over a flowing aurora Neumorphism Soft UI: controls raised from or pressed into one surface Claymorphism Chunky rounded shapes, bright pastels, puffy shadows Bento Grid Modular cards of different sizes on a grid Minimalism & Swiss Whitespace, a strict grid, bold type, no clutter Neobrutalism Heavy outlines, hard offset shadows, loud colour Skeuomorphism Bevels, gloss and materials that feel physical Material Elevation, tonal surfaces, filled fields Dark Neon / Cyber Dark surfaces, neon glows, monospace figures Editorial / Magazine Serif headlines, columns, pull quotes, ink on paper Every palette is checked for contrast (4.5:1 for text, 3:1 for controls) in light and dark, and every system respects your device's reduced-motion and reduced-transparency settings.
How it is shown
The document reader shows a prototype built screen by screen on the prototype board, and an older one-file prototype in its frame with a Convert to board button, which re-runs /proto after you choose its design system. Every screen, on the board, in Play and full size, runs in a locked-down frame:
- the frame runs the prototype's own script, so the screens are clickable, but it has no access to Alara Code, your session or its cookies;
- it cannot load anything from the network, no external images, fonts, scripts or calls.
The bridge also refuses a prototype that is not self-contained (one that links an external resource, embeds a frame, or makes a network call) and asks the agent to fix it. Download the file to open it in a browser of its own.
Under the hood
- The driver is
bridge/src/services/protoPipeline.service.ts, the skillsdlc-prototype-designer; the check isbridge/src/lib/prototypeCheck.ts. - The design systems live at the skill level, in
bridge/skills/sdlc/design-systems/<id>/:system.json(tokens, palettes, shadows, helpers),system.css(the system's own CSS on the kit) andrules.md(the guideline the agent writes against). The bridge storessystem.cssandtheme.csswith each version and assembles them between the kit and the agent's design system, which may neither set a kit token nor write a colour of its own.GET /api/projects/:id/documents/proto/design-systemslists them, with the project's choice;/prototakes{ "designSystem": "<id>", "palette": "<id>" }(the run also accepts the backdrop, colour mode, font pairing and screen count), or{ "restyle": true, "palette": "<id>" }to change the palette. - Each run writes
.sdlc/artifacts/proto-vN.htmland registers it asartifacts.proto, with its screens. Every run writes the next version and nothing is replaced, whether the draft is under review or approved. - The board reads
GET /api/projects/:id/documents/proto/board(the screens, the paths between them and the requirement coverage) and each screen it shows live fromGET /api/projects/:id/documents/proto/screens/:screenId, a self-contained document for that one screen. A prototype from before the staged build answersformat: "single", with no screens.