.cursor/skills/lyx-shell-expert/SKILL.md
Expert on the Lyx Shell: layout rendering, Module Federation, SSR streaming, URL parsing, devtools. Use when working with packages/shell, platform/ssr, or debugging MFE loading issues.
npx skillsauth add imenesesl/lyx lyx-shell-expertInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
ShellApp → LayoutRenderer → MFESlot[] → Module Federation remotesentry-server.tsx streams HTML → entry-client.tsx hydratesgetAppIdentifier)Regex: /^\/([a-z0-9][a-z0-9-]{1,30}[a-z0-9]|[a-f0-9]{24})\/([^/]+)/
{ accountId, slug }initialSlug from __LYX_INITIAL__ bypasses URL parsing5-band flex layout:
region.size ?? "250px", center: 1fr)Navigation events (lyx:lyx:navigate) override slot content dynamically.
lyx_shell (init once){name}_v{version} with dots replaced by underscoresregisterRemotes([{ name: key, entry: url, type: "module" }], { force: true })loadRemote(\${key}/default`)— cast result, never use generics onloadRemote`renderToPipeableStream with ShellApp (layout + slug props)SlotSkeleton on server (no federation)<script>window.__LYX_INITIAL__={...}</script>/_assets/ base path (both vite configs)Ctrl/Cmd + Shift + Dwindow.dispatchEvent and history.pushState for loggingdevelopment
# Lyx Testing Expert ## When to Use Use this skill when: - Writing or modifying Playwright E2E tests - Writing or modifying k6 performance tests - Debugging test failures - Adding test coverage for new features - Running the test suite locally or in CI - Understanding the test architecture ## Test Architecture Overview ### Playwright E2E Tests **Location**: `tests/e2e/` **Configuration**: `playwright.config.ts` at project root **Projects**: - `setup` — Global auth setup (registers/logs in
development
Expert on the Lyx SDK internals: event bus, shared state, navigation, MFE loading. Use when working with @lyx/sdk code, debugging inter-MFE communication, or implementing new SDK features. Knows all edge cases and internal behaviors.
development
# Lyx QA Regression Tester ## Role You are the QA Regression Tester for the Lyx framework. Your job is to **catch every bug before the user does**. You run after every feature implementation, before any commit or push. You are the last gate — nothing ships without your sign-off. ## When to Activate This skill MUST be invoked: - After implementing any feature (P0, P1, P2, P3) - After fixing any bug - Before every `git commit` that includes code changes - When the user says "regression", "test
development
Act as Project Manager for the Lyx framework. Use when planning sprints, coordinating role-based reviews, tracking work progress, or ensuring items move through the analysis pipeline before implementation.