Repository navigation
Conversation
allozaur
force-pushed
the
allozaur/docs/ui-demo-skill
branch
from
November 17, 2026 13:32
bbcbb44 to
2e91bce
Compare
allozaur
changed the base branch from
allozaur/docs/llama-ui-storybook
to
allozaur/perf/ui-pele-diagrams
November 17, 2026 13:33
allozaur
force-pushed
the
allozaur/docs/ui-demo-skill
branch
from
November 17, 2026 13:44
2e91bce to
8657f25
Compare
allozaur
added a commit
that referenced
this pull request
Nov 17, 2026
The tree is the integration's: develop is the stack's top plus the side branches.
allozaur
force-pushed
the
allozaur/docs/ui-demo-skill
branch
from
November 17, 2026 15:28
8657f25 to
1a6c4fc
Compare
allozaur
force-pushed
the
allozaur/docs/ui-demo-skill
branch
from
November 17, 2026 16:26
1a6c4fc to
17250d0
Compare
allozaur
force-pushed
the
allozaur/docs/ui-demo-skill
branch
from
November 17, 2026 16:42
17250d0 to
8779071
Compare
allozaur
force-pushed
the
allozaur/docs/ui-demo-skill
branch
from
November 17, 2026 17:16
8779071 to
fda86a1
Compare
allozaur
force-pushed
the
allozaur/docs/ui-demo-skill
branch
from
November 17, 2026 17:20
fda86a1 to
3633c87
Compare
allozaur
force-pushed
the
allozaur/docs/ui-demo-skill
branch
2 times, most recently
from
November 17, 2026 22:00
70b95e1 to
da08303
Compare
allozaur
force-pushed
the
allozaur/docs/ui-demo-skill
branch
from
November 17, 2026 22:06
da08303 to
152a633
Compare
allozaur
force-pushed
the
allozaur/docs/ui-demo-skill
branch
from
November 17, 2026 22:21
152a633 to
1427897
Compare
Assisted-by: Claude (Opus 5.5 Medium)
Assisted-by: Claude (Opus 5.5 Medium)
…anges Assisted-by: Claude (Opus 5.5 Medium)
allozaur
force-pushed
the
allozaur/docs/ui-demo-skill
branch
from
November 17, 2026 22:35
1427897 to
95969cc
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
A skill,
skills/ui-demo, that lets any agent demo, test and document a change in Llama Chat or Llama UI: a demo video in the PR, a Playwright check from the same flow, and docs videos and screenshots. Demos can now show a reply without a model or a real llama-server, and record Llama UI components from their Storybook stories.Demo
Recorded at 2e91bce; click a preview for its full video.
Additional information
Part 13 of 13 of the work-in-progress stack on the fork, on top of Pele (#75), based on
allozaur/perf/ui-pele-diagrams(#75). It only needs the Storybook layer (#67), for story demos of Llama UI.What an agent can do with it
ts demoscript for a change, try it withnpm run demo:record, thennpm run demo:pr -- <n>records it at the PR head and writes the## Demosection. Fixtures cover the setup: the two MCP fixture servers, built-in conversations (traces), and now models and replies (mockServer), so nothing loads a model.test.use({ story })andDEMO_STORYBOOK=ui(orchatfor Llama Chat's Storybook), in the same script as Chat demos.tests/e2e/<feature>.e2e.ts, which CI runs against the build withmockLlamaServer(page)standing in for the server; or aplayfunction on a story for a component on its own.npm run demo:docsfor docs videos from the storage target, andpage.screenshot/locator.screenshotfor 2x screenshots.What changed
skills/ui-demo/SKILL.md: when to use it, the target per kind of change, the exact commands, a worked example and the pitfalls.ui/apps/chat/AGENTS.mdanddemo/README.mdpoint to it.demo/fixtures/llama-server.ts:mockLlamaServer(page | context, { models, reply })routes llama-server's endpoints in the browser (model list, props, load/unload, tools, stream lookup) and streams the reply as completion chunks.demo/helpers.ts: two options,mockServer(the mock above) andstory(opensiframe.html?id=<story>instead of the app, skipping Chat's settings, traces and readiness wait). The Chat setup moved intoopenChat(), unchanged;importTracesis exported for e2e checks.demo/playwright.config.ts:DEMO_STORYBOOK=ui|chatadds that Storybook to the web servers, onDEMO_STORYBOOK_PORT(default 6007).demo/cli.ts:demo:prgives the Storybook a free port, and linksui/lib/ui/node_modulesinto the PR worktree too.tests/e2e/search-chats.e2e.ts: the worked example's search flow as a check, on the build, with the mocked server.Testing
DEMO_STORYBOOK=ui npm run demo:record): chat search over imported traces, a reply from the mocked server, and Llama UI's Switch story. All three pass, anddemo:prrecorded the Demo section above from this PR's head.npm run demo:docswithDEMO_STORAGE=file://...: read the docs script from storage, recorded it, wrote the mp4 and GIF back.npx playwright test tests/e2e/search-chats.e2e.tspasses in the installed Chrome, against a fresh build with no llama-server.eslintandprettierpass ondemo/andtests/e2e;svelte-checkreports nothing in the changed files (the errors it reports are already in the stack below).:9931beyond the model list: the reply demo is fully mocked.Demo script
Requirements
Claude (Opus 5.5 Medium)